Re: Deploy compiled AppleScript not work
Re: Deploy compiled AppleScript not work
- Subject: Re: Deploy compiled AppleScript not work
- From: Laine Lee <email@hidden>
- Date: Thu, 01 Jun 2006 23:47:09 -0500
- Thread-topic: 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:
This email sent to email@hidden