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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Close mapkey dialog with a trail file

dgschaefer
21-Topaz II

Close mapkey dialog with a trail file

Hello,

We have batch files that run at start up that prompt the user to choose
the client they are working on. That sets a trail file to run at
startup to run a mapkey to load that client's config.pro file.

This works just fine, except that it leaves the mapkey dialog box open.
Not a big deal, but I'd like to have that get closed with the trail
file. 😄

I've tried to record a mapkey with the 'close mapkey dialog' pick in it,
but it simply doesn't record, no matter what set of picks I use. I've
tried with 'cmdmgr_trail_output' set to yes and no and it's simply never
there.

I've tried starting a fresh session of Pro/E, opening the mapkey dialog,
running the mapkey and then closing it. I then grab that trail file and
set it to run at launch. It runs, the mapkey dialog appears and
disappears (yay!), but the mapkey to load the config file fails to run.

Has anyone found a way to run a mapkey at launch without leaving the
mapkey dialog open?

Thanks,

Doug Schaefer

This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
--
Doug Schaefer | Experienced Mechanical Design Engineer
LinkedIn
0 REPLIES 0
Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags