Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello,
I would like to record a mapkey which allows me to show the file open window and click with mouse pointer in the search bar ("enter characters to dinamically filter displayed content") in the upper right corner of the windows, so that I can type directly the file I want to open:
I tried to record it, but it only opens the windows (and If I type, keystrokes appear in the File name bar below.
(an alternative to this is to type the filename in the bar below ("File name:") but the unconvienent in this is that you have to remember the exact filename to spot the part (while this is not the case, many times).
anyone has a suggestion in order to fix this? ( maybe to add some string text in the mapkeys file?) or have a workaround...
thanks
bye bye
Solved! Go to Solution.
this works perfectly find for me.
I guess the ' are not the right (with the copy and paste).
try from my attachment
Hello
here what i use to go the dynamic search
mapkey fom @MAPKEY_LABELFile Open Model;~ Command `ProCmdModelOpen`; \
mapkey(continued) ~ Update `file_open` `EMBED_BROWSER_SEARCH_IP` ``;
Hello John,
thanks for your suggestion.
I tried your mapkey but when I press the key this message appears:
and then if I type something in that bar ("test") and press ok, the file open windows appears with the word typed in the file name bar below:
while instead I am searching for a way to have the cursor directly in the upper right search bar:
because in the file name below bar you have to type the entire file name including its extension.
Does your mapkey behave this way in your Creo too?
thanks
bye
Tommaso
try these. it conditions the search to drawings, parts or assemblies
Hi Ron,
thanks for your suggestion. I tried your maokeys but indeed what I am searching for is not much to filter by file type but instead a way to have the cursor directly in the upper right search bar:
but I find it useful to have also the distinction by file type, If I solve my inquiry I may create a combination of both (curson in the search bar and items already filtered by file type).
thanks
bye
Tommaso
Hello Tommaso,
have you been able to use the suggestions from Jean-Raymond and Ron?
Thanks,
Gunter
Hello,
I have been able to solve the problem by creating a mapkey which recalls an external OS script written in autohotkey. The mapkey is the following (in square brackets the custom texts):
mapkey [mapkey key sequence] @MAPKEY_NAME[mapkey description]; \
mapkey(continued) @MAPKEY_LABEL[mapkey label]; \
mapkey(continued) ~ Command `ProCmdModelOpen`
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
mapkey(continued) @SYSTEM C:\\[path to the script file]\\scriptname.ahk;
this mapkey firstly opens the File Open window, then recalls the script file "scriptname.ahk", which in turn activates the "File Open" window (necessary step since at the moment of the script launch the active window is not the Creo File Open window), and presses 3 times the Tab key.
The autohotkey script contains just the following two lines:
WinActivate File Open
Send {TAB 3}
two little unconvenients of this procedure are:
-the appearance of the black DOS command window for a fraction of second
-the process lasts 0,7 second (so not as fast as expected)
(but works fine anyway).
As an alternative, instead of the ahk script, a VB Script could be put in, with which the black DOS window can be hidden and maybe it's also faster (but I don't know how to make a VB Script ).
(Any alternative suggestion is welcome anyway).
bye
Tommaso
Did you try my answer? because it does exactly what you are asking for.
Hi John,
yes I had tried your mapkey and replied to you on Mar 11, 2016 12:58 AM, it gives me an error of illegal characters, maybe it is due to the second line of the mapkey you reported
mapkey(continued) ~ Update `file_open` `EMBED_BROWSER_SEARCH_IP` ``;
which in the end has two ' ' that might be read as illegal characters...now I am trying to modify them (or replace with something else) and let you know the output.
thanks
bye
Tommaso
this works perfectly find for me.
I guess the ' are not the right (with the copy and paste).
try from my attachment
Hi Jean, yes it works now!! Great
I understood what the problem was, in the FIRST line of the mapkey you initially reported there was a space too much between the ; and the \ at the end:
so hence the reason Creo detected illegal characters.
Maybe, as already happened to me, when you copied it in the reply a smiley appeared instead of the ; and \ flanked, so you put a space to prevent the smiley. And me, I didn't notice it .
I ultimately report it (as screenshot) for those who will seach for it:
(works faster and cleaner than my workaround!).
Thanks
bye
Tommaso
Nice Mapkey !
I tried to create this mapkey years ago but couldn't quite figure it out.
Thanks for sharing...
Hello Tomasso,
don´t know exactly your target with this macro, but know some useful utility how to OPEN DRAWING FROM ACTIVE 3D MODEL.
See link following link:
Creo Parametric, načtení výkresu z otevřeného 3D modelu
It´s in czech language, but it´s quiete simply to understand.
Maybe it´s not useful for you, maybe yes ...
Just for your information
Regards Milan
Hi Milan,
yes, thanks a lot, that's another thing I am searchin for as it would be extremely comfortable. I had read about someone who manage to do it and at a first look seemed quite complicated and long to develop, I will take a look to the video and let you know the output!
bye
Tommaso