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 12:34:04 -0700
On Feb 25, 2008, at 11:18 AM, Justin Laden wrote:
I want the user to put a file in that folder, and no matter what the
user names the file, I want my script to open it.
If you don't want to use the folder actions solution suggested by
others (which you really should do), you can use this solution:
set the printsFolder to ((path to desktop as text) & "Prints") as alias
tell application "Finder" to open the first file of the printsFolder
-- Michelle
--
I'm at an age where I can satisfy my wants without too many guilt
feelings.
_______________________________________________
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