Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript runs slow on Intel Macs



On Sep 22, 2006, at 3:53 PM, Nir Soffer wrote:

On Sep 22, 2006, at 4:03 AM, Christopher Nebel wrote:

Are you saying that if you save a script as an application, without saving it as an application bundle, it will require Rosetta to run? Even if you're saving it on an Intel Mac?

That's correct.

What about AppleScript code used with NSAppleScript inside a Cocoa app compiled as universal application?


NSAppleScript can be created with source or with contents of URL. Is there a difference in the way the code will run in both cases?

I reiterate: AppleScript as such is neither Intel nor PowerPC; it's data that's fed to an interpreter. What matters is the architecture of the process running the interpreter; where the data came from doesn't matter. If that process is a single-file application saved from Script Editor, it's PowerPC-only, because that's how Script Editor saves them. If it's a bundled application saved from Script Editor, then it's universal, because that's how Script Editor saves them. If it's some other application, well, look at what it says about that application in Finder's info. Universal means universal, PowerPC means PowerPC.



--Chris Nebel AppleScript Engineering

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

This email sent to email@hidden
References: 
 >Re: AppleScript runs slow on Intel Mac's (From: Leif Ă–quist <email@hidden>)
 >Re: AppleScript runs slow on Intel Macs (From: Christopher Nebel <email@hidden>)
 >Re: AppleScript runs slow on Intel Macs (From: Michelle Steiner <email@hidden>)
 >Re: AppleScript runs slow on Intel Macs (From: Christopher Nebel <email@hidden>)
 >Re: AppleScript runs slow on Intel Macs (From: Nir Soffer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.