Finder Scripting: Looking inside packages
Finder Scripting: Looking inside packages
- Subject: Finder Scripting: Looking inside packages
- From: Sascha Kratky <email@hidden>
- Date: Tue, 29 Jul 2003 15:57:41 +0200
Hi,
the AppleScript interface of the OS X Finder seems to treat bundled
applications as "application files".
E.g. the AppleScript
tell application "Finder"
get class of item "Mac OS X:Applications:Safari.app:"
end tell
returns "application file"
There seems to be no way to make the Finder treat an application
bundle as a regular folder under AppleScript. This is preferable if
you want to use AppleScript to automatically build the folder
hierarchy of an application bundle or to manipulate the files in the
application bundle. When trying to access the contents of the
application bundle however the Finder returns the error "Can't make
or move that element into that container". Has anyone succeeded in
doing this?
Thanks,
Sascha
_______________________________________________
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.