cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Pause for keyboard input in mapkeys

SOLVED

Re: Pause for keyboard input in mapkeys

Some thoughts on this...

Maybe you could do a pre-selection instead of pausing for selection

Maybe you would incorporate 2 or more mapkeys to make the process smoother/quicker/less click intensive.

 

Since I don't know the details, it's difficult to come up with alternatives.


Steve Williams
Pro/E Version 15/16 (Circa 1995/1996)

Re: Pause for keyboard input in mapkeys

There may be a way if you know exactly how many mouse clicks are input.  AutoIT has a function called _IsPressed that can check if a mouse button has been clicked.  It can also check many other keys as well (CTRL, SHIFT, ALT, etc.).

 

Some words of caution with trying to automate the continuation of a mapkey based on mouse clicks:

 

If the user selects the wrong item(s), the mapkey will continue immediately after the click using the wrong input.

 

You need to make sure the mouse click was in the Creo Parametric window, and not the user clicking on some other program like Outlook.

 

The speed of the user "double clicking" may cause issues with capturing how many times the button was clicked.

 

Regards,

Dan N.