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

Click here to return to the 'Another way to create Finder-clickable shell scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way to create Finder-clickable shell scripts
Authored by: chris_on_hints on Jul 30, '03 01:57:14PM

Another option:

For scripts that print output or require you to respond to them there is a neat solution:

Go to the terminal, set up the window settings (colour, position, size etc...) and go to File > Save and put the file where you want. It saves the settings as a ".term" file.

When you double click the .term file, it opens a new terminal window with the settings you chose. Edit the file in your favourite app (TextEdit is fine) and find the line:


Insert the command (full path is probably safest) in between <string> and </string> and save the file.

This is great for putting a group of commands in (separated by semi colons) and for making the terminal window unique to that command!!

[ Reply to This | # ]
Another way to create Finder-clickable shell scripts
Authored by: rossr on Jul 30, '03 07:49:32PM

There is a freeware program called Platypus that makes a shell script into a Finder-clickable app. The program also has options for using Perl, Python, Ruby and AppleScript (why would you need a program that makes an AppleScript executable? :\ )


Launch the program, choose your options, and create an applet. Easy.

I use this application to run a shell script that compiles statistics of my Jedi Knight II game server. :)

[ Reply to This | # ]
Drag-and-Drop Input
Authored by: felistigre on Jul 30, '03 08:53:14PM

What about file input? It would be great if I could drop some text files on a such an application, but Platypus doesn't support it.

[ Reply to This | # ]
Drag-and-Drop Input
Authored by: peterhil on Jul 31, '03 08:03:15AM
I was looking for Drag and Drop input too and found ScriptGUI, which passes the files dragged as arguments to the script if you save your app as scriptlet.

[ Reply to This | # ]
Drag-and-Drop Input
Authored by: pmccann on Jul 31, '03 08:40:53PM

Apologies if this has been mentioned above, but I didn't see it: DropScript (search on versiontracker) does what the hint claims to do, but reliably, freely (in whatever sense you wish), and allows files to be dragged onto the resulting icon (unlike platypus, at least for now). It's been available since 2001.


[ Reply to This | # ]
Drag-and-Drop Input
Authored by: tinb on Aug 03, '03 03:30:24PM

<shameless plug>
Please have a look at my TurboTool ( which features D&D input very well and was created with those applications in mind
</shameless plug>

[ Reply to This | # ]