How to generate the relative path in an import-paint-script?

Robert Brenstein rjb at robelko.com
Wed Mar 1 17:36:35 CST 2006


>Hi Richard,
>
>I am a layman in programming and MetaTalk is a great puzzle for me. 
>Sometime I can't find the fitting piece. All tutorials, references 
>and help are written in english, a foreign language. What I need is 
>a manual or user guide in german or a thick dictionary and a mailing 
>list like this.
>
>;-) Reinhold
>

I think the answer you got was not exactly what you were asking. 
However, I am not clear what you are exactly after, so I can't help.

In general, it is usually a good idea to store paths relative to soem 
fixed point in file hierarchy; for example, the standalone or stack 
location. However, at execution time, they have to be converted to 
absolute path by prepending them with the path to that reference 
location. In some instances, setting the currentFolder works as 
alternative, but it is often simpler to keep full path in memory and 
not worry where the current folder is.

Robert


More information about the metacard mailing list