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

Can a mapkey delete itself?

SOLVED
Highlighted
Pearl

Can a mapkey delete itself?

I tried recording it and nothing got recorded so I am guessing not. Has anyone played a trail file or otherwise deleted a mapkey?

Currently I am loading back in a blank mapkey over the top of the old mapkey which effectively deletes it. It still leaves it in the list of mapkeys though.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Can a mapkey delete itself?

I think it can, look at this example:

mapkey $F6 ~ Command `ProCmdUtilMacros`;\

~ Select `mapkey_main` `list_mapkeys` 1 `$F6`;\

~ Activate `mapkey_main` `DeleteButton`;\

~ Activate `mapkey_main` `CloseButton`;

It opens macro dialog, selects the desired mapkey, deletes it and close dialog box.

Just replace  $F6 with your own mapkey name in line 1 and 2.

Jose.

View solution in original post

5 REPLIES 5
Highlighted

Re: Can a mapkey delete itself?

You should be able to delete a mapkey in the dialog box.  Remember, you must then save your mapkeys to keep the change.

You can also delete lines out of your config.pro file.


Creo is an endless adventure: Always more to learn.
Highlighted

Re: Can a mapkey delete itself?

I think it can, look at this example:

mapkey $F6 ~ Command `ProCmdUtilMacros`;\

~ Select `mapkey_main` `list_mapkeys` 1 `$F6`;\

~ Activate `mapkey_main` `DeleteButton`;\

~ Activate `mapkey_main` `CloseButton`;

It opens macro dialog, selects the desired mapkey, deletes it and close dialog box.

Just replace  $F6 with your own mapkey name in line 1 and 2.

Jose.

View solution in original post

Highlighted

Re: Can a mapkey delete itself?

Did you pull that from the trail file or coerce the mapkey to record it?

Asking for a friend.

Highlighted

Re: Can a mapkey delete itself?

Yes, I did the cheating, I copied it from the trailfile.

Highlighted

Re: Can a mapkey delete itself?

Awesome. Thank you.

Announcements
Business Continuity with Creo: Learn more about it here.