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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Pause for input - then resume

Dale_Rosema
23-Emerald III

Pause for input - then resume

This may be a simple question in that it is just not they way it works.

 

In previous post I asked about pausing for input:

https://community.ptc.com/t5/3D-Part-Assembly-Design/Mapkey-Pause-for-Input/m-p/813137#M125203

 

Now my question is the resume window. It is a separate window and you either have to click back to it to (activate and) resume or Alt-Tab back to it to activate it and then hit enter to resume the mapkey.

 

Is there a way to have it so the enter key activates the resume window or it resumes the mapkey?

1 ACCEPTED SOLUTION

Accepted Solutions
Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

Along with @tbraxton , I am going to say that there is no easy way to resume the mapkey.

 

In my case, the mapkey was just terminated at the popup window for the name edit (skipping the continue window after the operators input). This allowed me to just hit the enter key an extra time to finish the command manually instead of through the mapkey.

View solution in original post

3 REPLIES 3

Probably, but it may be a convoluted path to get it. I had to solve this problem for using a mapkey command sequence to shift focus to the graphics window. I was able to do it but it was painful and required PTC R&D involvement through tech support. It was painful for such a simple macro sequence. PTC will not provide documentation for the syntax of trail files which makes these tasks more difficult than they should be.

 

With the UI changes rolled out for Creo with the ribbon and pop up/fly out menus the commands have become quite cryptic. If you can record a trail fail and decode the sequence that describes the activation of the window of interest you can probably put it in a mapkey.

 

Here is the sequence that activates the main (graphics window): Note this has only been tested up to Creo 4 so....

mapkey .focus @MAPKEY_LABELFocus main;\
mapkey(continued) ~ Activate `main_dlg_cur` `main_dlg_cur`

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

Along with @tbraxton , I am going to say that there is no easy way to resume the mapkey.

 

In my case, the mapkey was just terminated at the popup window for the name edit (skipping the continue window after the operators input). This allowed me to just hit the enter key an extra time to finish the command manually instead of through the mapkey.

Hidetaka
14-Alexandrite
(To:Dale_Rosema)

I would suggest using autohotkey. You can create a shortcut to do the following:

 

1. Run the mapkey

2. Wait for the key "Enter" to be pressed and released, then activate the resume window and click on "Resume"

 

Top Tags