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: Deploy compiled AppleScript not work



On Wed, 31 May 2006 17:21:12 -0400, "Chen Wang" <email@hidden>
said:
>For whatever a reason, I erased my HD and completely reinstalled the
>same system on the same computer. When I tried again to run the same
>*scpt, it keeps asking me where is the application "Microsoft Word",
>until I recompile the original AppleScript text source (without any
>change), and the new *.scpt file works again. I guess that the line
>'tell application "Microsoft Word"' is somehow hard-coded during the
>compilation process into a *.scpt file. If so, how can I deploy a
>run-only *.scpt file which will be used on different computers?

AppleScript's behaviors in this regard, and strategies for dealing with
them, are discussed in my book. I'd be interested in hearing if the advice
given there fails to cover your case. Thanks! m.

-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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



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.