Strast wuitje, Ruslan,

Ruslan Zasukhin wrote:

And can somebody point me the correct Transcript command to get path of main
stack ?



It's the filename property:

  get the filename of stack MyMainStack

If you ever need to get the filename of a stack and you don't know if it's a mainstack or a substack just add the "effective" keyword:

get the effective fileName of stack MySubStack

and then you can simply strip off the filename to get the needed directory:


...
put the filename of stack MyMainStack into targetdir
set the itemdelimiter to "/"
delete item -1 of targetdir
...

Now targetdir = the directory you are looking for :-)



--
 Richard Gaskin
 Fourth World Media Corporation
 __________________________________________________
 Rev tools and more: http://www.fourthworld.com/rev

Doswidanje tovaritch :-)

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


P.S. Yes, i know, my russian is lousy :-D _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to