Application Folder

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Sep 1 09:38:36 EDT 2005


Hi Lynch,

As for a mainstack, it's does not make any difference.
But for a substack, the fileName will return empty and the effective  
fileName the fileName of its mainStack :-)

Best Regards from Paris,

Eric Chatonet.

Le 1 sept. 05 à 15:29, Lynch, Jonathan a écrit :

> I have been doing this with just getting the filename, rather than the
> effective filename.
>
> Is there a potential problem with using the filename rather than the
> effective filename?
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott  
> Kane
> - Reptile Software Consultant
> Sent: Thursday, September 01, 2005 7:48 AM
> To: 'How to use Revolution'
> Subject: RE: Application Folder
>
> G'day Klaus,
>
>
>> i recommend to put this into the preopenstack script of your
>> mainstack/standalone
>> and then you could store it in a global variable or custom-property
>> for later use.
>>
>> on preopenstack
>>     put the itemDel into tSavedDel
>>     set the itemDel to "/"
>>     get the effective fileName of this stack
>>     delete the last item of it
>>     global whatsoever
>>     put it into whatsoever
>>     ....
>> end preopenstack
>>
>
> Works beautifully!  Thank you ever so much!  :-)
>
> Scott

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list