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 5/31/06 4:21 PM, "Chen Wang" <email@hidden> wrote:

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

Sounds to me like your launch services database didn't get updated correctly
after your reinstallation. You probably don't want to reinstall again just
to test it, but I guess you could update it before you run your script with
a shell script like:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchSe
rvices.framework/Support/lsregister \ -kill -r -domain local -domain system
-domain user

-- 
Laine Lee


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