Hi! I never really understood the difference between context and container. Now please don't write "look it up in the documentation", because that's what I've been doing for the last days. What I'm trying to do is write a python-script that returns the parent-folder of the folder from where it has been called. Neither return context.getParentNode() nor return container.getParentNode() seem to work. Horst _________________________________________________________________ Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp
Hi Horst, Horst Wald wrote:
Hi!
I never really understood the difference between context and container. Now please don't write "look it up in the documentation", because that's what I've been doing for the last days.
container is the folder the script is defined in. context is the object that the script is called on.
What I'm trying to do is write a python-script that returns the parent-folder of the folder from where it has been called. Neither
return context.getParentNode() nor return container.getParentNode() seem to work.
what went wrong ? It works for me. ... Holger
participants (2)
-
Holger Hoffmann -
Horst Wald