Re: Using a variable in a property
Re: Using a variable in a property
- Subject: Re: Using a variable in a property
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 11 Dec 2001 18:06:54 -0800
On 12/11/01 5:38 PM, I wrote:
>
set destfol to alias "Macintosh HD:E-mail:AppleScript list:"
>
>
tell application "Finder" to set theFile to make new file at alias destfol
Sorry, I put in 'alias' twice. that's wrong. just once - either in defining
the variable, or in the Finder line. I.e;, either
set destfol to alias "Macintosh HD:E-mail:AppleScript list:"
tell application "Finder" to set theFile to make new file at destfol
OR
set destfol to "Macintosh HD:E-mail:AppleScript list:"
tell application "Finder" to set theFile to make new file at alias destfol
--
Paul Berkowitz