Subject:predefined macros ${ Author:Kurt Wald Date:25 Nov 2010 04:27 PM
Hi,
there are problems with the predefined macros ${.. e. g. for instance for custom validation engines. Example:
when I put ${FileDir} into the Initial directory box of the custom validation engine configuration screen and run the custom engine I get
Command line failed:
....
Initial Directory:
"r:\dtd"
Error Message: Der Verzeichnisname ist ungültig.
(directory name is invalid) because of the double quotes.
Another example:
using ${FilePath} always includes the protocol "file:///r:/cor000_edit.xml". Some programs only accept local filenames without protocol.
I already posted this a few years ago with a reply from Alberto Massari stating, that there are unpublished predefined macros in Stylus Studio, indicating one for the FilePath without protocol - ${LocalSomething} - unfortunately I can't find it anymore.
Could you please reply with a complete list of predefined macros and include them in the Stylus documentation? Is there a solution for the double quotes problem?