August 2nd, 2004 | Published in Uncategorized
Sveinbjorn Thordarson’s Platypus got a look while I was poking at voodoo2palm:
- Build a GUI launcher for any shell script written in Python, Perl, Ruby or several others
- require admin privileges to run your new applet
- show a progress bar while the script runs
- make it a droplet (with the dropped file being passed to argv)
- e-z custom icons
Looks kind of cool. I’ve got a BBEdit blogging script that’s been collecting dust that could really use the handy progress meter Platypus offers.
I’m still trying to figure out the vagaries of AppleScript’s “do shell script”. It seems to truly hate being run within a tell block, and it had some awful side effects for voodoo2palm, including a funny little bug that periodically choked the rest of the script before it could complete exporting the pad, which meant there was sometimes an index to crawl and sometimes not for no obvious reason. Sometimes it pays to RTFM instead of putting stupid little sleep directives to keep a script from tripping over its own feet, I guess.
And I’m still trying to figure out why the graphics in a pad aren’t being rendered by Plucker. I suspect Apple’s Python might be missing PIL but I haven’t investigated any further. “The boards” seem to say as much.