Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Macro recorder loses ( character

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
DaveL Posted - May 21 2008 : 07:01:53 AM
I'm in the process of changing text strings from "text" to _T("text") so I used the VS Record Temporary Macro facility to record the entering of _T( and ).

On Playback it's only doing: _T"text")

... the ( that I entered has been lost.

Disabling VAX while I record the macro resolves the issue.

Is this known expected behaviour or can it be fixed?

I'm currently using VS2005 SP1.
6   L A T E S T    R E P L I E S    (Newest First)
support Posted - May 12 2011 : 12:37:30 AM
case=724 is fixed in build 1848
feline Posted - Jun 12 2008 : 12:13:05 PM
pbrown thank you for this, it is a very simple and interesting work around. I have made a note of this on the case for future reference
gstelmack Posted - Jun 12 2008 : 10:13:52 AM
You can also hand-edit the macro as needed after recording it. It shows in the My Macros area.
pbrown Posted - Jun 12 2008 : 12:30:54 AM
quote:
Originally posted by DaveL

Thanks for the confirmation - it's not a significant issue, I just thought I should mention it to you.


I use temporary macros all the time and have had similar problems. Worse yet, recording keyboard macros is pathetically slow on VS2008 with VAX enabled, often taking multiple seconds per keystroke.

My workaround is to add following macro in the Macros IDE and bind it to the key I normally use to start/stop recording.

    ' Wrapper to record a temporary macro.  Disables VAX prior to recording as it 
    ' seems to slow down recording substantially.
    Sub RecordMacro()
        DTE.ExecuteCommand("VAssistX.EnableDisable")
        DTE.ExecuteCommand("Tools.RecordTemporaryMacro")
    End Sub
DaveL Posted - May 21 2008 : 10:17:27 AM
Thanks for the confirmation - it's not a significant issue, I just thought I should mention it to you.
feline Posted - May 21 2008 : 10:08:25 AM
Having VA active while recording and playing back keyboard macros is difficult, since VA is designed to work as you type, depending on the context and types involved.

We are looking to have VA disable its self / keep out of the way while you are recording and playing back keyboard macros:

case=724

For now have you considered using a regular expression find and replace to do these changes? It might be quicker, or perhaps using a VA snippet line _T($selected$)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000