Jump to content

Recommended Posts

Posted

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!

Posted

$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

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
×
×
  • Create New...