Zitat von Graeme Geldenhuys <[email protected]>:

Hi,

I have an external tool setup that takes $EdFile() as a parameter. How
do I use $(Save) so that the IDE saves the current editor file,
*before* it calls the external tool?

The macros are resolved when filling in the TProcess values, so the save is executed before running the tool. The position of the Save/SaveAll macro in the string is irrelevant. For readability: start or end.
Choose any value you like.

Mattias




--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to