Page 1 of 1

Hate when I forget the easy ones

Posted: Fri May 16, 2008 5:03 am
by keyless
Forgot how to get the path of where the stack is. I know there are a couple easy ways and I know its been mentioned in this forum many times. Unfortunatly if I knew what to search for I wouldn't have to ask the question. So can someone please remind me of the easiest way to get the current stack is in (assuming the Defaultfolder has been changed)?


UPDATE: nevermind Found it
http://forums.runrev.com/phpBB2/viewtop ... ult+folder

Posted: Fri May 16, 2008 11:22 pm
by andyh1234
I use..

Code: Select all

the effective fileName of this stack
Seems to work fine

To get just the path this works...

Code: Select all

set the itemDelimiter to "/"
put (item 1 to -2 of the effective fileName of this stack) & "/" into tMyPath

Posted: Sat May 17, 2008 5:13 am
by keyless
andyh1234 wrote:I use..

Code: Select all

the effective fileName of this stack
Seems to work fine

To get just the path this works...

Code: Select all

set the itemDelimiter to "/"
put (item 1 to -2 of the effective fileName of this stack) & "/" into tMyPath
thanks andy I found that last night. Thanks though, was pulling my hair out for a while.