Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Customize Shift+RClick menu?

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
dsb Posted - Feb 12 2007 : 3:30:01 PM
I'm converting a bunch of Windows MFC code to Unicode and it sure would be nice to have the _T() autotext option directly on this menu instead of invoking the Insert Autotext submenu.

My apologies if this has been asked before; a couple of quick forum searches didn't turn up anything.

Regards,

David
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 14 2007 : 3:47:15 PM
To try and avoid killing this topic see here: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=5011
bugfix Posted - Feb 14 2007 : 3:05:38 PM
quote:
Originally posted by feline

Interesting, many thanks for this. It is about time I started learning about IDE macro's and things like this are a good place to start



heh, you write this every time someone posts a macro, some autotext plugin for firefox?:)
feline Posted - Feb 14 2007 : 1:39:08 PM
Interesting, many thanks for this. It is about time I started learning about IDE macro's and things like this are a good place to start
diarrhio Posted - Feb 14 2007 : 1:02:38 PM
I wrote a macro to do this and tied it to Ctrl-T. Here it is:

Sub UnicodeMacro()
   'DESCRIPTION: Puts a _T(  ) around the selection
    Dim textSelection As TextSelection

    textSelection = ActiveDocument().Selection
    textSelection.Text() = "_T( " + textSelection.Text() + " )"
End Sub
sean Posted - Feb 12 2007 : 6:51:13 PM
I've found this to be helpful:
Create an autotext item with a shortcut of tcc and make the body:
_T($clipboard$)

Now to convert a string literal: select it, copy it and then type tcc and accept the autotext suggestion.

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