Re: Directory referencing conventions
Re: Directory referencing conventions
- Subject: Re: Directory referencing conventions
- From: Jay Louvion <email@hidden>
- Date: Thu, 20 Apr 2006 11:23:35 +0200
- Thread-topic: Directory referencing conventions
Title: Re: Directory referencing conventions
On 20.4.2006 11:13, entity "Jack Crombie" <email@hidden> spake thus:
Hi Everyone,
Being relatively new to all this I'm still learning conventions and syntax just by trying it. I'd like to know how to modify an alias to reference the parent directory.
I have the current folder structure
"~:Jobs:0000007:Portraits:JPEGs:"
In my script I am requesting the user set both the "Portraits" and "JPEGs" directories separately. Here's my current script:
set auftragFolder to choose folder with prompt "Select Auftrag Folder"
set compositeImageFolderName to "PSDs"
set inputFolder to choose folder with prompt "Select Bilder Folder"
These folders return a list of files for photoshop to process.
I want to enforce the directory structure and also the workflow but without hard coding directories.
In windows (cringe) i would've just put in "\..\"
What is the equivalent in AS.
Thanks in advance for answering my trivial questions.
Jack Crombie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
tell application "Finder" to set PortraitFolder to container of JPEGFolder —assuming JPEGFolder has been defined by a “choose folder” or hard coded
HTH,
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden