On Wednesday, February 26, 2003, at 07:41 PM, Paul McCann wrote:
Nice script: I think you can probably save some execution time
by incorporating both finder calls in the same osascript call:

Oh, good point - originally I was going to do this as a shell alias, which is why I wanted each of them on one line. I'm enough of an amateur at applescript that I didn't know how to do more than statement in one line of shell. ;-)


One weird thing: I figured I'd convert to Mac::AppleScript for an extra speed boost, but that turned out to be quite a bit slower than shelling out to `osascript`. I wonder why that is.

I still don't quite understand the purpose of the "as alias" part either, actually.

-Ken



Reply via email to