Hello,
I'm trying to find a way to open apps and supply the current folder of the Finder path.
Is there any documentation about this?
I have the same problem each time I want to launch a program, I need to know which path the Finder is currently set on.
Thank you in advance,
Micaël
You can use the predefined action "Open Active/Selected Folder With Specific App", then assign Terminal as app.
CJK
3
Using AppleScript:
tell application "Finder" to return the POSIX path ¬
of (its insertion location as alias)
Or:
tell application "Finder" to tell the front Finder window to if ¬
exists then return the POSIX path of (its target as alias)