Hello!
I have exactly the same problem!
My application configuration is

Cuk Calcul Oral.rev
   DataFolder
        Data.edb
        LanguageFolder
            French.rev
         FilmsFolder
            FrenchFolder
                bravo.mov
                faux.mov
    
In developpement on MacOSX, all is perfect!
But in standalone, the folders are not founded (no stop in the code but
nothing appends)

I touch the folders with code like that:


put the effective filename of this stack into chemin --je cherche ou est
cette pile sur le disque
set the itemdelimiter to "/"
put item 1 to -2 of chemin into chemin
put chemin &"/Data/Data.edb" into chemindata

And I'm sorry, but I do not understand the difference with the Peter's code!
I obtain exactly the same with mine.

And it not works!!

So what please?

> Hi Rob
> 
> Thanks for the tip, that's sorted the problem!  I've now put this
> together into a single handler that returns both the program path and
> the application name:
> 
> on getProgPath @thePath, @theFileName
>  set the itemDelimiter to "."
>  put (the platform is "MacOS" and item 1 of the systemVersion >= 10)
> into itsOSX
>  put the filename of this stack into thePath
>  set itemDelimiter to "/"
>  if "Mac" is in the platform and itsOSX and \
>    the environment is not "development" then
>    delete item -3 to -1 of thePath
>  end if
>  put last item of thePath into theFileName
>  delete last item of thePath
>  put "/" after thePath
> end getProgPath
> 
> Just in case anyone else has the same problem and wants a "potted" solution!


Amicalement
Fran�ois
--------------------------------------------------------------------------

Fran�ois Cuneo
Au Champ du Pr�
1353 Bofflens

e-mail: mailto:[EMAIL PROTECTED]

Web Cuk New Technologies, programmes �ducatifs pour Mac: http://www.cuk.ch
Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles

T�l: ++41 (024) 441.17.81
Fax: ++41 (024) 441.17.05



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to