Page 1 of 1

expertkeys with Autohotkey

Posted: 17 May 2017, 13:46
by artintime
Hi,
I am wondering if autohotkeys can work with expertkeys programmable keyboard? for example if I can assign ahk scripts to the keys without having to use the regular keyboard hotkey to send to click infomation to expertkeys. or if you use it how do you go about doing it?
Thank you.

Re: expertkeys with Autohotkey

Posted: 17 May 2017, 23:33
by Rohwedder
Hallo,
i have no experience with it, but first I would test if the keyboard sends scancodes.
Use the script of SKAN, first script on: https://autohotkey.com/board/topic/2110 ... -of-a-key/

Re: expertkeys with Autohotkey

Posted: 19 May 2017, 15:23
by artintime
Hi Rohwedder,
Can you tell me what happens if the keyboard sends the scancodes? sorry this question must be quite noob but i am just starting to get acquainted with it.
Thanks

Re: expertkeys with Autohotkey

Posted: 19 May 2017, 18:43
by IMEime

Re: expertkeys with Autohotkey

Posted: 20 May 2017, 09:49
by artintime
Hi Rohwedder,
I ran the script from SKAN and it displayed the message of {SC000}, so that means it does send the scancodes?
What's next?

Thanks a lot,

Re: expertkeys with Autohotkey

Posted: 20 May 2017, 09:52
by artintime
I guess I can assign those scancodes to the external Expertkeys keyboard to attach the .ahkl scripts, is that right?
Thanks,

Re: expertkeys with Autohotkey

Posted: 20 May 2017, 10:41
by IMEime
I think you'd better read its own manual. They have all ready (its ROM, firmware, software, ways of programming and even keytops.)

Re: expertkeys with Autohotkey  Topic is solved

Posted: 20 May 2017, 11:24
by Rohwedder
Hallo,
If the script from SKAN is running and you press the expertkeys, then every key must have its own scancode, different from SC000.
For example, you get SC16A, then this script should work:

Code: Select all

SC16A::
	MsgBox, %A_ThisHotKey% was pressed.
Return
You run the script, press the expertkey with scancode SC16A and you will get a MsgBox with:
"SC16A was pressed"

Re: expertkeys with Autohotkey

Posted: 21 May 2017, 08:51
by artintime
Thanks a lot Rohwedder this is great!