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: tips for compiling/executing scripts from C++



Five reasons not to implement scripting additions (and to implement scriptable applications instead):

• Scripting additions run in the target process, giving them the potential of crashing the target application or subtly corrupting user data. A scriptable application is its own process and is both protected from other processes and prevented from damaging them directly.

• Scripting additions are reliant upon and limited by the services available within the processes they run in.

• Scripting additions directly extend the Applescript language, which means they have no protection from conflicting with other scripting additions or with future changes to the Applescript language.

• Scripting additions are more limited in what they can express.

• Scripting additions are a legacy hack from the past which solved problems in System 6 that no longer exist in Mac OS X and should be avoided unless absolutely necessary. It is difficult to imagine a scenario in which they are absolutely necessary.

-- 
Chris Page - Dylan Programmer

 Open Source Dylan Compilers: <http://www.opendylan.org/>


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

This email sent to 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.