Re: open for access file
Re: open for access file
- Subject: Re: open for access file
- From: Michelle Steiner <email@hidden>
- Date: Thu, 16 Jul 2009 08:04:30 -0700
On Jul 16, 2009, at 5:44 AM, James Bensley quoted Mike:
the Author's code was as follows . . .
set MyFile to "Macintosh HD:Users:Jerry:Documents:GroceryList.txt"
I made the same setting but replaced 'Jerry' with my home folder and
used a differently named text file.
I never received that message from Mike; the following is directed to
him:
Have you changed the name of your hard disk, or is it still named
"Macintosh HD"?
a more generic way of doing this is
set myfile to ((path to documents folder) as text) & "filename"
This will work regardless of the name of the disk or the user's name;
just change the name of the file to whatever file that's appropriate.
-- Michelle
--
Windows was always a mystery to me; the biggest mystery being "Why
does anyone want to use this?"
_______________________________________________
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