Page 1 of 1

filePath for audioClip

Posted: Mon Jan 14, 2008 8:24 pm
by Preston Shea
During development the defaultFolder is the one with the Rev engine in it (right?). How do I get the name of the folder where the stack I am working on to be the defaultFolder? I want to be able to put in a command like

get <wherever this stack happens to be>
set the defaultFolder to it

How is this done (Windows)?

Thanks

Posted: Mon Jan 14, 2008 10:28 pm
by Mark
Preston,

Code: Select all

set the itemDel to slash
set the defaultfolder to \
item 1 to -2 of the effective filename of this stack
Best,

Mark