Guten tag Malte,

I am using the filename 
Here is the script I am using
---
 put the filename of stack "médeciel_T" into tChemin -- currently, it is : 
/Users/did/Desktop/transfert ABONNEL Isabelle/médeciel_T
    set the itemDel to slash
    put "DOSSIER" && word 2 to -1 of item -2 of tChemin into tMonAppli -- to 
get the name of the stack to open (which is "DOSSIER ABONNEL Isabelle")
    put tMonAppli into last item of tChemin
   -- answer tChemin&cr&cr&(there is a stack tChemin)
    open stack tChemin
---
I am always doing like this in my standalones; never done differently depending 
on the platform
I don't understand why this does not work this time!)
Should I use the defaultfolder? How to do that?

Thanks a lot Malte for your attention to my problem

André

Le 24 févr. 2013 à 12:56, Malte Brill a écrit :

> Bonjour André,
> 
> could you post the script that generates the path to the stack you want to 
> open?
> 
> Are you using either
> 
> the filename of this stack 
> 
> or 
> 
> the defaultfolder 
> 
> to construct it?
> 
> The path you see on the mac is pointing into the application bundle, which 
> technically is a folder, while under windows the .exe you are building is 
> not. So you will want to change the way you construct the path depending on 
> the platform you are on...
> 
> Hope that helps,
> 
> Malte
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to