I always use a different directory for my .kpf files than my actual directory. It seems that using %p always returns the location of the .kpf file. I would like to get the location of the live directory. How would I go about doing this?
You can use "%D" (the directory of the current file).
Currently Komodo does not offer a interpolation code for a live project directory.
I feel that the "%p" should be the directory of the live folder in this case, instead of the directory of the project. I've logged this as a Komodo bug: http://bugs.activestate.com/show_bug.cgi?id=83262
Thanks %D won't quite work because the file may be in a subfolder of the root project directory. The second link looks like more what I am looking for. Thanks for submitting the bug report.
You can use "%D" (the directory of the current file).
Currently Komodo does not offer a interpolation code for a live project directory.
I feel that the "%p" should be the directory of the live folder in this case, instead of the directory of the project. I've logged this as a Komodo bug:
http://bugs.activestate.com/show_bug.cgi?id=83262
If your using a macro, you can determine the live folder directory like this:
http://community.activestate.com/forum/there-way#comment-8174
Cheers,
Todd
Thanks %D won't quite work because the file may be in a subfolder of the root project directory. The second link looks like more what I am looking for. Thanks for submitting the bug report.