• 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: "Store Script" Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Store Script" Command


  • Subject: Re: "Store Script" Command
  • From: Jeffrey Berman <email@hidden>
  • Date: Sun, 06 Oct 2002 11:15:15 -0500

On 10/6/02 6:20 AM, John Delacour <email@hidden> wrote:

> At 5:34 pm -0500 5/10/02, Jeffrey Berman wrote:
>
>> The script works fine when run from within the Script Editor. However, if I
>> make and run the script as an Applet or run it as a compiled script from the
>> Script Menu, the data in the file specified on the "store script" command is
>> never updated with current values.
>>
>> I have used comparable syntax on earlier versions of the OS, but this is the
>> first time with OS 10.2.1. Is there something I should be doing differently
>> or is this a known problem with the Jaguar version?
>
>
>
> There certainly seems to be a problem. The script below does work
> from Script Menu. I am using Smile. If you are using Script Editor,
> make sure the scripts' windows are closed or things won't work in
> Script Menu.

John:

Thanks for the tip. In my earlier tests from the Script Menu, I had windows
open in Apple's Script Editor. I tried the script again with Script Editor
not running and the data in the file on the "store script" command updated
properly.

Unfortunately, after this success from the Script Menu, I discovered that
the same script would now no longer update the data when run from the Script
Editor. So the problem was reversed. The only way I was able to have the
script run correctly again in the Script Editor was to delete the file
specified as the destination on the "store script" command.

No matter what I've tried, I have been unable to get the data to update if
the code is run as an Applet. More importantly, it does not work when
triggered from QuicKeys, whose menu and timing options I generally use for
running all my other compiled scripts.

Is there a way to use the "store script" command successfully in these
cases?

-Jeffrey Berman
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "Store Script" Command
      • From: Jeffrey Berman <email@hidden>
References: 
 >Re: "Store Script" Command (From: John Delacour <email@hidden>)

  • Prev by Date: Re: OT Address Book Rant
  • Next by Date: Re: OT Address Book Rant
  • Previous by thread: Re: "Store Script" Command
  • Next by thread: Re: "Store Script" Command
  • Index(es):
    • Date
    • Thread