How to get path of main stack from external ?
Richard Gaskin
ambassador at fourthworld.com
Wed May 11 11:24:37 EDT 2005
Ruslan Zasukhin wrote:
> On 5/11/05 6:07 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
>
>
>>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
>
>
> But external cannot know name of particular stack...
Why not?
Externals have callbacks, so I can't imagine why they wouldn't be able
to do something like:
get the short name of this stack
--
Richard Gaskin
Fourth World Media Corporation
__________________________________________________
Rev tools and more: http://www.fourthworld.com/rev
More information about the use-livecode
mailing list