Re: Determining Binary Type
Re: Determining Binary Type
- Subject: Re: Determining Binary Type
- From: Marconi <email@hidden>
- Date: Tue, 26 Jan 2010 09:11:06 -0700
Title: Re: Determining Binary Type
At 9:51 AM -0600 1/26/10, Luther Fuller sent email regarding Re:
Determining Binary Type:
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
I get an error:
tell application "Finder" to kind of
"/volumes/Bart/System/Library/CoreServices/Finder.app/Contents/
Mac OS/Finder"
Can't get kind of
"/volumes/Bart/System/Library/CoreServices/Finder.app/Contents/
Mac OS/Finder".
And I don't understand the syntax; is 'kind' a verb? If I want to
set a var, like 'bin_type' to the kind returned by Finder for the file
/volumes/Bart/System/Library/CoreServices/Finder.app/Contents/ Mac
OS/Finder" how do I do that?
set bin_type to ...?
_______________________________________________
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