• 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: Make command with file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make command with file


  • Subject: Re: Make command with file
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 31 May 2001 13:29:25 -0700

On 5/31/01 8:45 AM, Destrebecq, Olivier <email@hidden> wrote:

>ok i manage to create a file, but i want to create it in the Temporary item
>folder
>this works

Try it this way:

tell application "Finder"
set tempItems to path to temporary items folder
end tell

set tempFile to open for access tempItems & "result" with write permission
--do stuff
close access tempFile

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: make command
  • Next by Date: Record quirk - or bug?
  • Previous by thread: Make command with file
  • Next by thread: RE: applescript-users digest, Vol 2 #712 - 18 msgs
  • Index(es):
    • Date
    • Thread