4 ms·
Well, Affric you seem to have done something, so here is the code: tell application "Finder" set myWin to window 1 set thePath to (POSIX path of (tar
by protomyth 4y ago
Well, Affric you seem to have done something, so here is the code:
tell application "Finder"
set myWin to window 1
set thePath to (POSIX path of (target of myWin as alias))
set thePath to (quoted form of POSIX path of (target of myWin as alias))
tell application "Terminal"
activate
tell window 1
do script "cd " & thePath
end tell
end tell
end tell
You use it to create an application and then change the icon to something appropriate.