Jump to content

AutoIt v3 info Window Info - lock some key combination


Go to solution Solved by BrewManNH,

Recommended Posts

Posted

in my language I use RALT + s or RALT + SHFIT + s

  Quote

 

śŚ

 

but AutoIt v3 info Window Info tool lock this key combination

Why ?

checked on

AutoIt v3 info Window Info

v 3.3.10.2 and 3.3.13.19

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Solution
Posted

Are you using Right ALT or ALTGr? ALTGr uses the keycode CTRL + ALT, and CTRL + ALT + S changes the spy++ logic detection in the Au3Info tool.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

  Reveal hidden contents

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted (edited)

I use Right Alt


btw

in Poland we not use any localized Keyboard, but just normal "US English"

here are some interesting facts:

http://www.berlin.msz.gov.pl/pl/wspolpraca_dwustronna/poloniawniemczech/nauka_jezyka_polskiego/klawiatura_i_litery_polskie/

  Quote

 

Klawiatura programisty jest zwykłą klawiaturą amerykańską (US English), na której polskie litery uzyskuje się przy jednoczesnym naciśnięciu klawisza AltGr. Jest ona chętnie używana przez programistów, ponieważ umożliwia szybki dostęp do znaków, używanych w różnych językach programowania. Ze względu na zupełnie odmienny układ od klawiatury niemieckiej nie ma ona dla nas większego znaczenia. Niestety, jest to podstawowa klawiatura, którą można nabyć w polskich sklepach. "Prawdziwa" polska klawiatura określona jest normą PN-I-06000:1997 (PN-87) i nazywana jest klawiaturą maszynistki. Jest to standard dla osób piszących bezwzrokowo.

 

Google Translate:

  Quote

 

Keyboard programmer is a regular keypad American (US Angielski), where Polish characters are entered while pressing the AltGr key. It is willingly used by programmers as it allows quick access to the characters used in a variety of programming languages. Due to the completely different structure from the German keyboard it is not greater importance to us. Unfortunately, this is a basic keyboard, which can be purchased in Polish stores. "Real" Polish keyboard is set to PN-I-06000: 1997 (BS-87) and is called the typewriter keyboard. It is a standard for those writing without looking..

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

According to that page, the right alt is the ALTGr key on Polish keyboards using US International keyboard formats. Non-International versions of the US Keyboards (the normal keyboard used in the US) don't have an ALTGr key, but 2 separate ALT keys.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

  Reveal hidden contents

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted

We (people in Poland) are using "Non-International versions of the US Keyboards"

ps.

I just realize this: on the embassy website is an mistake.

"

Keyboard programmer is a regular keypad American (US Angielski), where Polish characters are entered while pressing the AltGr key.

"

this is not true.

 

btw.

I just posted 2 email on 

berlin.amb.sekretariat [at] msz.gov.pl

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

So we should determine, which keycodes are sent by your right ALT key.

Run the following script and then press the right ALT key.

;~ WhatKeyispressed.au3      Author: Exit
#include <Misc.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$hDLL = DllOpen("user32.dll")
GUICreate("Press any key(s) to show hex key codes ", 315, 315, -1, -1, Default, $WS_EX_TOPMOST)
Local $a[16][16]
For $y = 0 To 15
    For $x = 0 To 15
        $a[$y][$x] = GUICtrlCreateLabel(Hex($y * 16 + $x, 2), $x * 20, $y * 20, -1, -1)
        GUICtrlSetState($a[$y][$x], $GUI_HIDE)
    Next
Next
$keydump = GUICtrlCreateEdit("", -50, 0, 0, 0)  ; Out of windows boundary. Will accept keystrokes.
GUISetState(@SW_SHOW)
While True
    If _IsPressed("1B", $hDLL) Then ExitLoop
    If GUIGetMsg() = $GUI_EVENT_CLOSE Then ExitLoop
    For $y = 0 To 15
        For $x = 0 To 15
            GUICtrlSetState($a[$y][$x], (_IsPressed(Hex($y * 16 + $x, 2), $hDLL) ? $GUI_Show : $GUI_HIDE))
        Next
    Next
WEnd
DllClose($hDLL)

When there are 4 codes (11,12,A2,A5) then your keyboard has the AltGR key on the right side. (International keyboard)

When there are 2 codes (12,A5) then your keyboard has the RALT key on the right side. (US keyboard)

Please post your result.

App: Au3toCmd              UDF: _SingleScript()                             

Posted

my result is: (11,12,A2,A5)

hmmmm......

intresting.

Is it related to windows driver or just Keyboard as hardware ?

 

btw.
LALT sending (12,A4)

and

I very like Your script @Exit.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 9/3/2014 at 7:06 PM, mLipok said:

in Poland we not use any localized Keyboard, but just normal "US English"

 

It seems I was wrong.

Every day learning something new.

I mean that we use keyboard that have not any visual difference from US Keyboard (we do not want any visualization of national diacratics char)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

  On 9/3/2014 at 8:51 PM, mLipok said:

Is it related to windows driver or just Keyboard as hardware ?

 It is no hardware issue.

You can define additional keyboards in SystemSettings --> Region and Language --> Keyboards and Languages --> change keyboards.

If you add US-Keyboard, then AltGr becomes RAlt.

You can switch between Keyboard with Alt+Shift.

Just try it with my script and you will see the difference.

 

  Quote

I very like Your script @Exit.

You're welcome ! :thumbsup:

App: Au3toCmd              UDF: _SingleScript()                             

Posted

And here a code to steal the hotkeys from AU3INFO.EXE

While ProcessClose("Au3Info.exe")
WEnd
HotKeySet("^!s","_Hotkey")  ; Cntl + Alt + s
HotKeySet("^!+s","_Hotkey") ; Cntl + Alt + s
ShellExecute(@ProgramFilesDir & "\AutoIt3\Au3Info.exe")
Sleep(2000) ; allow Au3Info to start
HotKeySet("^!s")  ; unset hotkey Cntl + Alt + s
HotKeySet("^!+s") ; unset Cntl + Alt + s
Func _HotKey()
EndFunc   ;==>_HotKey

App: Au3toCmd              UDF: _SingleScript()                             

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...