[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Running droplets from AppleScript



sean@misinc.net wrote:

>tell application "Finder"
>	select {file "Sean:~:etc:mongol_1.gif", file "Sean:~:etc:mongol.jpg",
>file "Sean:~:etc:whatis.dat"}
>	open selection using file "Sean:~:perl tub:zouti fishy:sum size"
>end tell
>
>However, this fails when the files aren't all in the same directory as
>eachother -- an apparent Finder restriction on what selecting things
>means.  But if you're doing just the one file, it should be OK.

Just for the record, the restriction on Finder selection is that all the
selected objects have to be in the same WINDOW. You can select objects in
different directories, as long as you arrange to have them all visible in
the same list view.




***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch