Application Folder
Scott Kane - Reptile Software Consultant
scott at proherp.com
Thu Sep 1 07:18:27 EDT 2005
Hi Nicolas,
Thank you for your reply. I tried this but got a host of errors.
Where do you place this in your stack when you use it?
I tried it in a button (just for convenience) - but do you use
it somewhere else in the stack?
Thanks
Scott
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Nicolas Cueto
> Sent: Thursday, 1 September 2005 8:56 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: Application Folder
>
>
> Hello,
>
> If you want to learn on your own, then have a look in the
> documentation under "directory" (a.k.a., "defaultFolder").
>
> But if you're just/also after a cut-and-paste solution for
> finding the directory of a stack/stand-alone -- especially a
> solution that works whether or not your working in the
> development environment -- then here's the bit of script I
> always rely on:
>
> put the itemDel into tSavedDel
> set the itemDel to "/"
> put the effective fileName of this stack into
> tStackfolderPlusStackname delete the last item of
> tStackfolderPlusStackname put tStackfolderPlusStackname into
> tStackFolder set the itemDel to tSavedDel
>
> Cheers,
> Nicolas Cueto
> niconiko language school
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
More information about the use-livecode
mailing list