Jump to content

Inserting characters with macro


Recommended Posts

Hi!

I'm trying to make macro to insert characters which are not present in my layout.

Now I'm using keyboard shortcut (Alt + ANSI number of character) to insert them.

But this characters (quotes) are quite frequent, so I need shorter way to insert them.

Can someone help me with that?

Thanks!

Link to comment
Share on other sites

$hGui = GUICreate('My Program', 250, 260)
$iButton = GUICtrlCreateButton('Inserting', 10, 10, 120, 22)
$iEdit = GUICtrlCreateEdit('', 10, 40, 230, 180)          
GUICtrlSetFont(-1,18)
GUISetState()
While 1
    Switch GUIGetMsg()
        Case $iButton
            GUICtrlSetData($iEdit, Chr(34),1) ; Yes?
        Case -3
            Exit
    EndSwitch
WEnd

VKeyboard , source

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...