How to use "char" for combinated keys

Q&A's, tips, howto's

How to use "char" for combinated keys

Postby lyl » Sun Aug 04, 2019 8:39 am

A key value(integer) can be obtained by the built-in function "char".
For example,
Code: Select all
(char "a")          → 97

My question is: How to obtain the value of combinated keys like this:
(myfunc "ctrl a") which means "CTRL + a" . And also "CTRL+Alt+a" , "CTRL+SHIFT+a" are wanted.
Thank you.
Posts: 37
Joined: Sun Mar 25, 2018 5:00 am

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 1 guest