Redirect keyboard function keys actions using autolisp

Redirect keyboard function keys actions using autolisp

GeryKnee
Advocate Advocate
402 Views
2 Replies
Message 1 of 3

Redirect keyboard function keys actions using autolisp

GeryKnee
Advocate
Advocate

Hi,

Is there an autolisp way to redirect the keyboard function keys (F1,F2...) to execute lisp commands ?

Thanks

Gery

0 Likes
Accepted solutions (2)
403 Views
2 Replies
Replies (2)
Message 2 of 3

paullimapa
Mentor
Mentor
Accepted solution

Since AutoCAD uses CUI editor to assign all the function keys as well as other keyboard combination keys, I've not seen a method for this to be modified using LISP.


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 3 of 3

Sea-Haven
Mentor
Mentor
Accepted solution

The CUIX is a zip file so you can get inside it, and its made up of lots of xml files, if you spent the time to see if the Key combos were in a file then I guess you could edit the file and remake the CUIX.

 

So copy the cuix rename to zip, make a key change copy again rename to zip, compare somehow the contents of the 2 files looking for differences in the file content.

 

SeaHaven_0-1667532647766.png

 

 

I was looking at making custom ribbon files by writing the xml code using a simpler txt file as base like the old mnu.

0 Likes