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++



At 2:46 AM -0700 7/5/07, Chris Page wrote:
>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.

These are also strengths, depending on your intent.  Being able to run in the context of a host application was certainly more useful in the old Mac OS, but there are still conceivable legitimate uses.

However, they are fewer than they used to be in these days of "secure computing."


>€ 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.

Technically, that was System 7.  AppleEvents were not implemented in System 6.

Jon
 _______________________________________________
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

References: 
 >Re: tips for compiling/executing scripts from C++ (From: Chris Page <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.