Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Mac OS X 10.4: using osascript to interact with users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X 10.4: using osascript to interact with users



On Jun 11, 2009, at 9:00 PM, Aaron Wyatt wrote:

tell application "AppleScript Runner”

Do not use AppleScript Runner to run your scripts. AppleScript Runner is an implementation detail of other user-level features like Folder Actions and the Script Menu (they use AppleScript Runner to run scripts). There is no guarantee that AppleScript Runner will continue to exist in the future (or, as you discovered, in the past).

In general, do not hijack arbitrary applications to do things for your scripts. Use applications that are explicitly scriptable, like Finder, or applications that are explicitly designed for scripts to use, like System Events.

-- 
Chris Page

 The other, other AppleScript Chris

 _______________________________________________
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: 
 >Mac OS X 10.4: using osascript to interact with users (From: Aaron Wyatt <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.