Re: Manipulating multiple files in arbitrary applications
Re: Manipulating multiple files in arbitrary applications
- Subject: Re: Manipulating multiple files in arbitrary applications
- From: Peter Bunn <email@hidden>
- Date: Wed, 14 Aug 2002 00:47:24 -0500
Hamish:
You can (usually) set a file's association with a given application by
matching the creator type of the file to that of the desired app. This
avoids opening the file altogether. The droplet below does not handle
nested folders, but other examples provided here on the list should help
with that.
on open
with timeout of 90 seconds
tell application "Finder"
set the_selection to every item of selection
repeat with This_Item in the the_selection
set the creator type of This_Item to "WXYZ" -- the creator type of
the app
end repeat
end tell
end timeout
end open
Best Of Luck.
Peter B.
-----
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.