[Lazarus] How to use $(Save) macro
Mattias Gärtner
nc-gaertnma at netcologne.de
Mon Oct 4 12:43:38 CEST 2010
Zitat von Graeme Geldenhuys <graemeg.lists at gmail.com>:
> 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
More information about the Lazarus
mailing list