Hi,
I wrote a small recipe that runs through all GUI pages (.aspx, .ascx) and invokes the GenerateLocalResource command on the opened page.
First problem I found is that it takes a while to open a page in design mode (a prerequisite for GenerateLocalResource to work) and I do not know how to wait for the open to be complete before running this command. I tried the DocumentOpened event, but this fires to soon. The workaround I used is to have a separate recipe that has to be executed first, opening all documents in design mode. Is there a way to know when the designer has completed the processing of the page?
Secondly,is there a way to not haveGenerateLocalResource overwrite existing values in the resource files processed, i.e. it should only add non-existing keys and leave existingkey/translation pairs alone?
Thanks for any ideas.
Michel Liesmons.