Re: Pathnames and opening files
Re: Pathnames and opening files
- Subject: Re: Pathnames and opening files
- From: Michelle Steiner <email@hidden>
- Date: Mon, 25 Feb 2008 11:13:42 -0700
On Feb 25, 2008, at 10:26 AM, Justin Laden wrote:
open text file filename ¬
"Macintosh HD:Users:JJOHN:desktop:prints:printerlog.log" data type
delimited with tab
I want this line of code to
1. work for any user, not just JJOHN
Instead of "Macintosh HD:Users:JJOHN:desktop:prints:printerlog.log"
use this:
(path to desktop as text) & "prints:printerlog.log"
2. open any file that is in the "prints" folder.
What do you mean by "any file"? Will there be only one file at a
time? Will the user have to choose which file from more than one? Do
you mean all files?
-- Michelle
--
If there's nothing that offends you in your community, then you know
you're not living in a free society.
Kim Campbell - former Prime Minister of Canada
_______________________________________________
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