Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Detecting when there is any user interaction at all

Anonymous

Detecting when there is any user interaction at all

Anonymous
Not applicable

Hey there, I was able to hookup a mouse event handler to my command, but realized that it only detects mouse events when my command dialog is present. Is there any way to detect mouse/keyboard events at the process level... e.g. while my add in is still running but after my command has been destroyed? I know that may be a security issue so I'd understand if it's not possible. I just want to detect when a user has gone idle and then respond when they have been idle for X amount of time.

 

I know I can hook into the cameraChanged event on the application object which should cover me for most cases. The only thing I am worried about is when the user is using another command or is actively doing something that doesn't involve moving the camera for a long period of time.

 

Hopefully this makes sense, I appreciate the help! 

0 Likes
Reply
265 Views
2 Replies
Replies (2)

BrianEkins
Mentor
Mentor

It's not currently possible. The capability would be nice but hasn't been exposed. 

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes

Anonymous
Not applicable

Thanks for confirming this. Might look into seeing if I can get mouse movement tracking via the OS.

0 Likes