@sawmaster - not completely sure this is what you're looking for, but you can get the path of the application that is frontmost using a shell command like this:
Code:
osascript -e 'POSIX path of (path to frontmost application)'
@sawmaster - not completely sure this is what you're looking for, but you can get the path of the application that is frontmost using a shell command like this:
Code:
osascript -e 'POSIX path of (path to frontmost application)'