Introduction to Perl for non-programming Mac folk

Paul Mison lists at songtwo.demon.co.uk
Tue Dec 23 12:10:26 GMT 2008


2008/12/23 Adeola Awoyemi <adeola at creativeadea.com>:
> On 23/12/08 10:41, Bower, Martin (LBB-LO) wrote:
>> How can you turn a script into a clickable icon on the desktop ?
>
> Wrap it in an AppleScript that does a:
>
>    do shell script "/path/to/script.pl"
>
> and save is as a clickable .app

There are also apps that do this with various levels of panache,
mainly in handling how arguments are passed to the script.

http://www.bluem.net/downloads/pashua_en/ - Pashua "ist a tool for
creating native Aqua dialog windows for Perl, PHP, Tcl, Python, Ruby,
Rexx and shell scripts as well as AppleScript."

http://cocoadialog.sourceforge.net/ - "CocoaDialog is an OS X
application that allows the use of common GUI controls such as file
selectors, text input, progress bars, yes/no confirmations and more
with a command-line application."

http://www.sveinbjorn.org/platypus  - "Platypus is a developer tool
for the Mac OS X operating system. It can be used to create native,
flawlessly integrated Mac OS X applications from interpreted scripts
such as shell scripts or Perl and Python programs."

All three are free (as in beer) and two are free as in speech also.

-- 
Paul Mison
http://husk.org/


More information about the london.pm mailing list