• 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 Madness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Store Script Madness


  • Subject: Re: Store Script Madness
  • From: vectormation <email@hidden>
  • Date: Sat, 17 Nov 2001 03:58:48 -0500

I was tinkering with load & store a while back and found I could store a
script into an existing file, but couldn't get it to store to a new file.
I went so far as to write a mass of code to duplicate a dummy script,
change it's name, and store over it. It worked but it felt skanky so I
dropped the line of investigation... this was on 9.04

~Phi

>On 11/15/01 7:57 PM, "AppleScript Greg" <email@hidden>
>wrote:
>
>>> If theNewScript is already a properly formed alias, as you say, rather than
>>> a properly formed string file-path, then you don't need a redundant 'file'.
>>> You want
>>>
>>> store script theNewScript in newScript replacing yes
>>
>> Yeah I have tried every possible combination with and without replacing,
>> with and without file, with and without () as text, as alias, blah blah
>> blah. It doesn9t seem to matter.
>
>If you tried it without 'file' and it doesn't work, then 'newScript' is
>_not_ a "properly-formed alias", or 'theNewScript' is _not_ a loaded script.
>(It's bound to be confusing when you name the script and the file virtually
>the same thing, as you did.) You've made a mistake somewhere. If you can't
>find it yourself, then you'd better post the relevant part of the script,
>but if you've spelled a disk, folder or file name wrong, as is quite
>possible, we won't be able to know that.
>
>--
>Paul Berkowitz
>_______________________________________________
>applescript-users mailing list
>email@hidden
>http://www.lists.apple.com/mailman/listinfo/applescript-users


  • Prev by Date: Terminal and Telnet (OS X)
  • Next by Date: Re: Store Script Madness
  • Previous by thread: Re: Store Script Madness
  • Next by thread: Re: Store Script Madness
  • Index(es):
    • Date
    • Thread