Support for '#define' types in URL macros?

Brad Johnson
04/13/2007 12:39 am
Hi Oleg,

I was wondering if there is a possibility to support '#define' type definitions within URL macros.

I have several projects that each contain about 6 URL's. The only difference between each project is that two of the values in the URL are different. Currently I copy the project and edit the URLs in 12 places (2 per URL) whereas if I could define the 'variable' values up front, I would only need to edit those values.

Currently in a project, I need to edit PATH_1 and PATH_2 (below) and the URLs look like this:
(URLs are fictional to illustrate the point)

whereas what I would like to do is something like:


That way when I copy the project to get different 'stuff', I'm only editing the two 'DEFs' at the top of the URL's.

Oleg Chernavin
04/13/2007 05:15 am
This is not implemented. However you can use the {:file=c:\file.txt} macro for that. What about using external text files to keep the variables you need? You would only change filenames in a new Project URL.

Best regards,
Oleg Chernavin
MP Staff