Get path to a chosen folder
Get path to a chosen folder
- Subject: Get path to a chosen folder
- From: "Kinsella, John R." <email@hidden>
- Date: Tue, 26 Nov 2002 09:57:38 -0600
List,
I need a hand on this one.
Set folderOpen to choose folder with prompt "Choose your File."
Set mainFile to folderOpen & "theFile" as string
Now I need to be able to check and see if the file mainFile exists, but I
keep getting an error that it doesn't understand the exists message.
Any Ideas?? Help!
What I'm trying to do is have the use select the project folder. In that
folder are files with set names that stay the same, it's only the project
folder whose name changes. So I want to have them choose the project
folder, and then check to see if certain files exist in that folder with a
given name. If they do, I want to move on, if they don't I want to go
through and create them, but for some reason I can't figure out how to check
for the existence of a file in a chosen folder.
John Kinsella
IRT-CS
University of St. Thomas
-------------
"The surest way to corrupt a youth is to teach him to hold in higher regard
those who think alike rather than those who think differently."
--Nietzsche
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.