Re: opening a file with the filename unknown
Re: opening a file with the filename unknown
- Subject: Re: opening a file with the filename unknown
- From: Michelle Steiner <email@hidden>
- Date: Wed, 19 Dec 2007 08:01:19 -0700
On Dec 19, 2007, at 7:14 AM, Justin Laden wrote:
How could I write an AS script that opens a file if the filename is
unknown? I was thinking I could have AS open whatever file was in a
folder? Any other ideas? Thanks.
What if there were more than one file in the folder? Here is a script
that will open every file at the top level of a folder:
set the chosenFolder to choose folder
tell application "Finder"
open files of the chosenFolder
end tell
-- Michelle
--
"We must believe in free will, we have no choice," -- Isaac Bashevis
Singer
_______________________________________________
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