Re: open for access file
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