feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 31 2007 : 12:16:22 PM
|
This FAQ entry might offer some help:
http://docs.wholetomato.com?W382
Personally I have no real experience with IDE macro's, so I am not sure what the syntax is for trying to pass parameters when using ExecuteCommand.
The old name parameter will not work though, since VA's rename has to be triggered on the symbol you wish to rename.
Given you need to move the caret to the required place in the code file, I am not sure how much success you will have automating rename. I use an external program to automate VA for testing purposes (it just sends mouse and keyboard commands to the IDE) and moving the caret to the correct place (open file, find the correct line, find the symbol on the line) is a major part of the work.
Based on my experience, by the time you have defined the required movement commands, you might as well just run the rename manually - it will be faster and less error prone |
zen is the art of being at one with the two'ness |
|
|