Sensing key when launching script

I’m writing a script for customers to use uploading files to our ftp site. Right now it is setup to utilize Fetch (see this post for why this is necessary: http://bbs.applescript.net/viewtopic.php?pid=84551 and maybe help with an alternative).

I would like to be able to select between other FTP programs the customer might have. I was thinking something like holding down the option key while launching the script pops up a dialog to select from supported programs, set a property which tells the script which version of the code to run. Any ideas on how to snag a pressed key on launch?

Hi Tim,

the UNIX shell of OS X has a built-in FTP-client using curl.
So actually there is no need for an external client

We get a lot of resource fork fonts from customers. Our server is SGI UNIX so we need the encoding capabilities of the FTP packages such as MacBinary or AppleSingle. Our UNIX based AFP file server can decode these into its own data/resource fork format.

T.