• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deploy compiled AppleScript not work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Changing File Names
  • Next by Date: Re: Deploy compiled AppleScript not work
  • Previous by thread: Re: Changing File Names
  • Next by thread: Re: Deploy compiled AppleScript not work
  • Index(es):
    • Date
    • Thread