Re: Store Script Madness
Re: Store Script Madness
- Subject: Re: Store Script Madness
- From: AppleScript Greg <email@hidden>
- Date: Thu, 15 Nov 2001 21:57:58 -0600
On 11/15/01 9:10 PM, "Paul Berkowitz" <email@hidden> wrote:
>
On 11/15/01 6:43 PM, "AppleScript Greg" <email@hidden>
>
wrote:
>
>
> I know I have done this before. But this line:
>
>
>
>
>
>
>
> store script theNewScript in file (newScript)
>
>
>
>
>
>
>
> Gives me an error ("Can't make some data into the expected type.") and I
>
> swear I can't figure it out. I even stripped it down to theNewScript to
>
> "beep 2". I also know that the newScript is a properly formed alias and the
>
> alias exists.
>
>
>
> Can someone tell me what I am doing wrong?
>
>
>
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.
G