On Fri, 22 Feb 2002 16:18:46 -0800, Andrew O. Mellinger wrote:

>I 
>need to do things in the finder that I can't do in perl so I create 
>simple little Applescripts on the fly and run them.  Things like 
>moving folders, get disk names, renaming items, etc.

Moving folders: module File::Copy -> move, or just rename()
Get disk names: ??? (Gee, my gut feeling tells me something ought to
work, for example using Mac::Files)
renaming items: rename()

Perl is *much* faster than Finder + precompiled Applescript, let alone
when you have to compile the Applescriptlet every time you need to run
it! Plus: copying or moving an item in the Finder using Applescript is
something that is really poorly handled, especially if an item with the
same name already exists in that location. I use, I think it's Jon's
Commands, for that when working in pure Applescript.

-- 
        Bart.

Reply via email to