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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Mapkey Question

ptc-156695
3-Visitor

Mapkey Question

Mapkey Gurus,

I have a mapkey for storing that first purges and then saves. It has worked for many years of releases but now in WF2 (M090) it doesn't pick up the "OK" that would complete the save. In the past two semicolons together was the equivilant of "return". I've tried manually placing that at the end of the mapkey definition and it still doesn't work. I even created a mapkey that just recorded me picking the "OK" button on the save dialogue box and called it "test". After I start my save mapkey and it stops just shy of the "OK" then I type "test" and sure enough the "OK" button gets pressed and the save is complete. OK so now all I have to do is copy the working contents of the mapkey "test" onto the end of my "st" (store) mapkey. Still doesn't work. I must be missing something simple.

Here's the mapkey definition:

mapkey st ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Select `main_dlg_cur` `File.cb_file_delete`;\
mapkey(continued) ~ Close `main_dlg_cur` `File.cb_file_delete`;\
mapkey(continued) ~ Activate `main_dlg_cur` `psh_purge`;;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdModelSave.file` `OK`;

Thanks in advance for any help,

Gary Whalen
4 REPLIES 4

When assigning mapkeys, $F1 through $F12 represent the function keys F1
through F12. But, does anyone know if and how you could assign mapkeys
to the Page Up and Page Down keys? I thought it would be nice to assign
them to page forward and backward through a drawing - the little up and
down arrows on the page indicator box are too small a target to quickly
hit with the cursor.

Bill Schmid
CAD Designer
Rexair
Cadillac, MI
www.rainbowsystem.com

Well, it appears you can't assign mapkeys to the Page Up or Page Down
keys. Lots of people sent me mapkeys to switch sheets, but no one knew
how to assign them to the keys I wanted. I thought those keys would be
most intuitive for my users. I guess I'll either stick with my PV
(previous) and NX (next) or try the + and - keys, as some suggested.
I'm thinking the + and - on my SpaceExplorer might work for this, too.

And then there's the hope that the one person who knows how to do this
and was holding out on me will read this summary and reply with the
answer. Seems like sometimes a summary generates more responses than
the original post.

Thanks to all who replied. I've listed their responses below.

Bill

ORIGINAL QUESTION:

Bill:

Just out of curiosity ... why would you need a mapkey when Pro Engineer
has the following functionality (see attached)

Jason

Bill

I usually just type in the sheet number in the box, It's a bigger
target!



Steven Fowler
Senior Tool Designer
Manufacturing Engineering
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags