• 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: open for access file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open for access file


  • Subject: Re: open for access file
  • From: Yvan KOENIG <email@hidden>
  • Date: Thu, 16 Jul 2009 18:21:05 +0200


Le 16 juil. 2009 à 17:31, Mike Lally a écrit :

set StoryFile to (path to users folder as string) & "ThreePigs.txt"
set InputFile to open for access file StoryFile
set EntireStory to read InputFile as string
close access InputFile

display dialog EntireStory

Where is really stored the text file ?

Is it in:

"<startupVolume>:Users:ThreePigs.txt" as it is assumed by the book
or is it in:
"<startupVolume>:Users:<yourAccount>:ThreePigs.txt" as we are often storing files ?


Are you booting from a hardDisk or from a network ?

Booting from a hardDisk and with the pigs stored in the Users folder, the script behaves flawlessly.

Yvan KOENIG (from FRANCE jeudi 16 juillet 2009 18:21:00)




_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: open for access file (From: Mike Lally <email@hidden>)

  • Prev by Date: Re: open for access file
  • Next by Date: Re: open for access file
  • Previous by thread: Re: open for access file
  • Next by thread: Re: open for access file
  • Index(es):
    • Date
    • Thread