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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Understanding Mapkeys

Dale_Rosema
23-Emerald III

Understanding Mapkeys

Having read:

https://community.ptc.com/t5/System-Administration/Creo-4-mapkeys/m-p/560196

https://community.ptc.com/t5/System-Administration/Mapkey-Writing-Editing-Tips/td-p/443729

 

I have a question about the numerical sequence in the part of the mapkey shown below. Is this using the Tom showed to type in a word?

 

mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 930 614 5898362 1536 1421 848 1920 1080 \
mapkey(continued) 1443299 `Z`;%zzss;

1 ACCEPTED SOLUTION

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

I was able to edit the mapkeys as needed to do what I wanted them to do, but I still do not know what the numbers mean.

 

I am closing this thread.

View solution in original post

5 REPLIES 5

Some menus in Creo record the individual key strokes - this is typing the Z character in whatever menu was active. I try to avoid using mapkey 'code' like this when possible b/c it creates many lines of mapkey 'code' and is harder to edit later.

mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 930 614 5898362 1536 1421 848 1920 1080 \
mapkey(continued) 1443299 `Z`;

 

This is calling the mapkey named ZZSS. Adding a % in front of the mapkey keyboard shortcut lets you call mapkeys from within other mapkeys.

mapkey(continued) %zzss;

Chris3
20-Turquoise
(To:Dale_Rosema)

I am not sure anyone has figured out what the numbers mean. In your example above the letter Z was pressed followed by calling the mapley zzss

 

At least some of the numbers change from session to session even if the same text is typed in so some of what is being recorded has to either be location or some kind of session ID.

@TomU 

Short answer: I do not know.


I pressed the same key after left clicking near each of the 4 corners of the view window.

 

~ LButtonDisarm `main_dlg_cur` `proe_win` 9 2 1057 0 0 1631 1063 2560 1440 14553239
~ Key `main_dlg_cur` `proe_win` 9 2 1057 5898362 0 1631 1063 2560 1440 14553256 `Z`

 

~ LButtonDisarm `main_dlg_cur` `proe_win` 9 1626 1054 0 0 1631 1063 2560 1440 14563071
~ Key `main_dlg_cur` `proe_win` 9 1626 1054 5898362 1024 1631 1063 2560 1440 14563087 `Z`

 

~ LButtonDisarm `main_dlg_cur` `proe_win` 9 1619 7 0 0 1631 1063 2560 1440 14567571
~ Key `main_dlg_cur` `proe_win` 9 1619 7 5898362 0 1631 1063 2560 1440 14567571 `Z`

 

~ LButtonDisarm `main_dlg_cur` `proe_win` 9 9 9 0 0 1631 1063 2560 1440 14571031
~ Key `main_dlg_cur` `proe_win` 9 9 9 5898362 512 1631 1063 2560 1440 14571775 `Z`

 

partial break down

9 2 1057 5898362 0 1631 1063 2560 1440 14553256

9 unknown but the same each time within this part this session

2 horizontal position

1057 vertical position

5898362 unknown but the same each time within this part this session

0 unknown changed between 0, 512, and 1024 for mine but was completely different in example of OP

1631 unknown was 1631 when selecting background of prt and was 1710 when selecting background of an asm in my session

1063 unknown but the same each time within this session

2560 horizontal my screen resolution

1440 vertical my screen resolution

14553256 unknown but appears to continually count up throughout a trial file, resetting

 

These items likely relate to what and where to input the key while running a trail file.

Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

I was able to edit the mapkeys as needed to do what I wanted them to do, but I still do not know what the numbers mean.

 

I am closing this thread.

Top Tags