Thank you so much!!!XShayanX wrote: ↑14 Oct 2022, 09:32Hello! @tuangd
Here you go:
https://github.com/Saya47/GetKeyboardLayout
Search found 5 matches
- 14 Oct 2022, 11:27
- Forum: Scripts and Functions (v1)
- Topic: Get current keyboard layout
- Replies: 12
- Views: 6494
Re: Get current keyboard layout
- 13 Oct 2022, 00:23
- Forum: Scripts and Functions (v1)
- Topic: Get current keyboard layout
- Replies: 12
- Views: 6494
Re: Get current keyboard layout
Hello @tuangd My main laptop which runs Windows died a week ago, I'm currently on a Linux machine and can't check this for you but you can check it yourself, if you check Spy++ which comes with Visual Studio, if I remember correctly the ahk_class WorkerW is the parent window of all windows, so it's...
- 10 Oct 2022, 09:59
- Forum: Scripts and Functions (v1)
- Topic: Get current keyboard layout
- Replies: 12
- Views: 6494
Re: Get current keyboard layout
SMH! I spent so much time on this and I was wrong, my script shows the previous layout ID and only on the second try of the hotkey it will show the current layout id. One important thing I learnt: DllCalls are Case Sensitive, for example I was trying to get ThreadID for explorer.exe and it would al...
- 23 Sep 2022, 03:51
- Forum: Ask for Help (v1)
- Topic: Variable is not set somehow Topic is solved
- Replies: 2
- Views: 322
- 23 Sep 2022, 02:46
- Forum: Ask for Help (v1)
- Topic: Variable is not set somehow Topic is solved
- Replies: 2
- Views: 322
Variable is not set somehow Topic is solved
I have this script to toggle the mouse wheel speed between the normal speed and the new speed. (I am testing the script with only the WheelUp for now.) NewWheelSpeed := 10 toggle := False F18::toggle:=!toggle WheelUp:: If (toggle) SendInput, {WheelUp, %NewWheelSpeed%} Else SendInput, {WheelUp} Retur...