• 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: Using a variable in a property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Using a variable in a property (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Comments Field
  • Next by Date: Re: Alternatives to Word (was: Re: Script problems with BBEd
  • Previous by thread: Re: Using a variable in a property
  • Next by thread: Re: Using a variable in a property
  • Index(es):
    • Date
    • Thread