Uniersal binaries of AS applications?

Hi,

I haven’t been able to find any useful information in Apple’s transition documentation with respect to AS and universal binaries. Perhaps someone can point me to clarifying information on this.

I think Applescript is inherently ‘UB’ as it is interpreted by the system. If you write a script there is no concept of UB and it just runs on both architectures and I assume at the system level on Intel machines Applescript is native. Of course I’ve never seen the latter written down.

My confusion lies with AS. If my application only uses Applescript code and UI elements is it still UB? The UI information is only included by reference in the application (links to system functions/libraries etc) but are those references platform specific? It seems obvious to me that if I also include functions (such as an OSAX) that are not universal then the application can’t be but will it still run on a Intel machine (don’t have an Intel machine to answer the last question myself)?

Thanks for any insight,
Brad

AppleScript Studio apps, or “regular” AppleScript saved as an application, contain executable code that launches and then runs the AppleScript code.

It’s that non-AppleScript code the needs to be Universal. I know Xcode 2.2 handles this for AS Studio apps. As for regular scripts saved as apps, it seems that Script Editor 2.1.1 (OS X v10.4.4+) does in fact save [application bundles] (not unbundled one though) as Universal Binaries.

IIRC, Chris Nebel said something very similar at the AppleScript-Users list.

About scripting additions and so on, we have now open a very interesting thread in the same list called “Osaxen and Intel MBP’s or iMacs”, starting here:

http://lists.apple.com/archives/applescript-users/2006/Mar/msg00004.html