• 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: processor identification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: processor identification


  • Subject: Re: processor identification
  • From: Philip Aker <email@hidden>
  • Date: Sun, 17 May 2009 03:24:35 -0700

On 2009-05-17, at 03:14:45, Yvan KOENIG wrote:

I'm writing a script transfering datas from an AppleWorks database to a FileMaker one.
Alas, FileMaker behaves differently when it receive an AppleWorks clipboard on a PPC machine or on a i386 one.
I have a workaround but it requires extra steps so I wish to be able to drive the script behavior according to the host processor;
Is it a way to get the processor kind from the script ?
I assume that I may find it in some globals (those used by "About this Mac" for instance).

Maybe:

CPU type of (system info)

or

do shell script "sysctl hw.machine | tr -d ' ' | cut -d : -f 2;"

could be enough to work with.

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
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

References: 
 >processor identification (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: processor identification
  • Next by Date: Re: processor identification
  • Previous by thread: processor identification
  • Next by thread: Re: processor identification
  • Index(es):
    • Date
    • Thread