• 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
Re: Determining Binary Type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining Binary Type


  • Subject: Re: Determining Binary Type
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 26 Jan 2010 09:51:13 -0600

On Jan 26, 2010, at 9:32 AM, Marconi wrote:
Given a path like: "/volumes/SomeVol/System/Library/CoreServices/Finder.app/Contents/ Mac OS/Finder" how do I find out whether the file 'Finder' is PPC, Intel or Universal?

Use this ...

tell application "Finder" to kind of aliasToAppl

It returns the text "Application (Universal)" or "Application (Intel)".
(Or "Application (PPC)", I suppose, haven't tested this.)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Determining Binary Type
      • From: Marconi <email@hidden>
References: 
 >Determining Binary Type (From: Marconi <email@hidden>)

  • Prev by Date: Re: If/Then Statements
  • Next by Date: Applescript book recommendation
  • Previous by thread: Determining Binary Type
  • Next by thread: Re: Determining Binary Type
  • Index(es):
    • Date
    • Thread