How to get path of main stack from external ?

Richard Gaskin ambassador at fourthworld.com
Wed May 11 11:07:58 EDT 2005


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


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


More information about the use-livecode mailing list