I would like to be able to drag and drop files that launch the Terminal and then execute the file,
for example here's basically what I am looking for http://hints.macworld.com/article.php?s ... 7142625782
the script worked just perfect at first, but now it does not bring the Terminal to the front.
here's the slightly modified AppleScript from the link above
Code: Select all
set filecount to 0
on open filelist
repeat with i in filelist
set filecount to 1
tell application "Terminal"
set filename to do shell script ¬
"perl -e \"print quotemeta ('" & POSIX path of i & "');\""
do script "a68g " & filename & "; exit"
end tell
end repeat
end open
anyone knows why terminal is not brought to the front?
also for whatever reason that script now launches two terminal sessions whereas before it did not, I am stumped.
