Re: Runs in Script Editor, not as droplet
Re: Runs in Script Editor, not as droplet
- Subject: Re: Runs in Script Editor, not as droplet
- From: "Marc K. Myers" <email@hidden>
- Date: Mon, 13 Aug 2001 15:19:27 -0400
- Organization: [very little]
>
Subject: Re: Runs in Script Editor, not as droplet
>
Date: Mon, 13 Aug 01 12:30:48 -0600
>
From: Peter Bunn <email@hidden>
>
To: "AppleScript Users Mailing List" <email@hidden>
>
>
Marc:
>
>
I think by replacing:
>
>
set theFile to contents of aFile
>
>
...with:
>
>
set theFile to aFile as alias
>
>
...may result in the variable 'theImage' being properly defined.
>
>
Once again, a shot in the dark.
Thanks for trying, but...
Both of those lines of code result in exactly the same thing. The
variable "theFile" will contain an alias reference since the contents of
each list item is an alias reference. Just on the off chance that it
would make a difference I gave it a try. The results were
disappointingly the same.
The weirdness is that it works perfectly when run from Script Editor but
not when it's run as a droplet. I hope someone can come up with an
answer. I've even tried eliminating all but the most basic scripting
additions without any change in the script's behavior.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[8/13/01 3:18:44 PM]