• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Finder Scripting: Looking inside packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Finder Scripting: Looking inside packages
      • From: Rob Jorgensen <email@hidden>
    • Re: Finder Scripting: Looking inside packages
      • From: Stephen Jonke <email@hidden>
  • Prev by Date: Re: Mail Scripting GUI
  • Next by Date: Re: Finder Scripting: Looking inside packages
  • Previous by thread: Re: Keep lines
  • Next by thread: Re: Finder Scripting: Looking inside packages
  • Index(es):
    • Date
    • Thread