Active Contributor
Posts: 38
Registered: ‎01-14-2011
Message 1 of 2 (156 Views)

trapping escape key without user input

156 Views, 1 Replies
01-03-2012 04:38 PM



Does anyone know of a way to trap when the user hits the escape key without a user input function. The idea is to loop infinitely and perform some analysis until the user hits the escape key.


I supose I could do the same thing with a form but I would not.


Thanks in advance.

*Expert Elite*
Posts: 753
Registered: ‎02-13-2008
Message 2 of 2 (132 Views)

Re: trapping escape key without user input

01-04-2012 11:39 AM in reply to: BellwetherBill

This is the simplest example:




This is a slightly different approach, and the example code does much more than what you are looking for, but not exactly what you are looking for, so you'd have to tweak it a bit.



Dave O.                                                                  Sig-Logos32.png
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!