Whatever you can do with DropScript you can do more conveniently with Perl in an AppleScript droplet that _does_ know where it is.
On Thursday, July 10, 2003, at 03:37 am, Wilfredo Sánchez wrote:
The assumption that your working directory is where your script lives is broken.
Conceptually I have to agree with WIlfredo, but also I agree under old MacOS the idea of root was toally nebulous, , so it was necessary to check the PWD to get a path to use in scripts, but that was through the os dealing with paths behind the scenes.
But if I have to have a double clickable perl script I prefer using the '.command' technique because I really believe Apple should just go ahead and use Perl as the scripting language and put AppleScript to bed along with OS9 - and this coming from someone who built a multiuser mailing system with AppleScript, osaxen and a copy of Eudora back around OS7.
Robin