anyone knows, in Creo Parametric, the code to insert in the config.pro file in order to have a mapkey that activates the current window (just like Ctrl+A)?
I would like to replace the Ctrl+A with just one keyboard button (like, in my case, the button "<").
I tried to record a mapkey clicking the button "activate" but it activates always the same window.
Solved! Go to Solution.
I don't think that pure mapkey functionality is able to call Ctrl+A. I guess that you have to combine mapkey functionality with AutoHotkey/AutoIt functionality.
your exe file works indeed, thanks for this.
However, since it works with autohotkey, I have to sacrify the button I use for it, for other applications too. (in this case, I have to sacrify the button "<" if I write for example on the internet or in Excel vba...) and I would have to deactivate autohotkey and the thing become no more convenient at this point.
It shouldn´t work like that,
I included the line "#IfWinActive, - Creo Parametric" to guarantee that the macro only works inside of Creo.
And it´s working like that in my computer.
Yes you are right, thanks.
The .exe works, but if I insert those three lines you suggested:
#IfWinActive, - Creo Parametric
in another .ahk script (and run it obviously) it doesn't work...why?
Allright, it's actually 4 lines, try this kind of approach:
#IfWinActive ahk_class Dialog
Here you go. (This is from Creo 3)
mapkey < @MAPKEY_NAMEActivate Window;@MAPKEY_LABELActivate;\
mapkey(continued) ~ Command `ProCmdWinActivate`;
thanks for your reply.
However the mapkey you gave me doesn't work properly, that is it activates the Window that was previously activated! please see the screen recording attached if it's not clear what I mean: in the passage from the bolt to the spring I press the mapkey.
What I am meaning instead is a button to activate the current greyed window, or also, a button to jump from a window to another activating the destination window (that's excatly what the following icon does:
The button you're showing actually does two things - it brings the selected window to the forefront and it activates it. Starting with Creo 3, you no longer need to activate the currently selected model (window). Even with multiple windows open on multiple monitors, Creo 3 will automatically activate whichever one you click your mouse in (as long as your not it the middle of some command - feature creation, printing, etc.) To bring a window to the forefront, you don't use activate. Instead you either (a) use the dropdown list, (b) select a window from the Windows taskbar, or (c) use ALT + TAB to select the desired window. Activate (and the mapkey listed above) DOES work and will activate the window that currently has focus. It will not change focus to a different window.
yes I know that that button brings the selected window to the forefront and activates it, but I have Creo 2! (I don't know when we will switch to the 3).
I'm sorry if It seemed to you that I disregarded your suggestion, but I was just meaning that it does not work with mine, which is the 2 (where, as you know, it's not as in Creo 3 and everytime you change the window you have to activate it manually, unless you use that button in my screenshot)
Is there a way to bring a window to the front using a mapkey similar to what used to be done. To bring a model to the front and activate before I would do "Alt-W, 4" and it would bring that model to the front.
Sometimes I have 20-30 tabs open and tabbing between them would be a pain and taking your hands off the keyboard to mouse is also.
I was thinking something (mapkey ```) to active the "drop-down window" and then a keying 1-9 to activate that model?