Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Run postfix and other Unix services via Automator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Run postfix and other Unix services via Automator
Authored by: rspress on Sep 28, '05 07:07:13PM

I am sure some Applescript god could tell me a way to pass the file name that "Get selected finder item" to the Applescript so the command line can run it.

Say I have a file called Game.rar

and I want the applescript to do this "unrar e"

how do I do it so the terminal runs "unrar e /pathname/Game.rar

The script in the article does most of this but I don't think it passes the name to the unix command. I am sure readers of MacOSXhints would know this!



[ Reply to This | # ]