Jump to content

send problem


Recommended Posts

I have a keyboard with no euro sign

So i want to assign keys for it and use '?do=embed' frameborder='0' data-embedContent>> so i can use those char at let say word,....

#Include <HotKey.au3>
Global Const $VK_ESCAPE = 0x1B
Global Const $VK_F12 = 0x7B

; Assign "F12" with Message() and set extended function call
_HotKey_Assign($VK_F12, 'Message', BitOR($HK_FLAG_DEFAULT, $HK_FLAG_EXTENDEDCALL))

; Assign "CTRL-ESC" with Quit()
_HotKey_Assign(BitOR($CK_CONTROL, $VK_ESCAPE), 'Quit')

While 1

Func Message($iKey)
    $x = Chr(128) ; euro teken
Send("{" & $x & " 4}")
EndFunc   ;==>Message

Func Quit()
 EndFunc   ;==>Quit

I see the euro sign at the console from scite but it don't display at the editor screen

If i use the char 65 the the A is written 4 times at the editor screen.

Why don't the euro char don't work?

Thank you

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

  • Recently Browsing   0 members

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