revlet and path

Yves COPPE yvescoppe at skynet.be
Wed Aug 5 14:56:43 EDT 2009


Hi list

Here is a very simple script :

on mouseUp
     put empty into fld "resultat"
    set itemDel to "/"
    put item 1 to -2 of the effective fileName of this stack into tPath
    set itemDel to comma
    put tPath into fld "resultat"
end mouseUp

In the IDE, it gives the right path
when I build a revlet, put it on my server and open it with Safari, it  
gives ... nothing ! fld "resultat" stays empty

Any idea ?

Thanks.

Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list