<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Insert here command line for mapkey in assemblies in System Administration</title>
    <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493906#M350</link>
    <description>&lt;P&gt;Thanks for the hint re resume last.&lt;/P&gt;
&lt;P&gt;I have included it in the ih (toggle) and hi reverse command below. Seems to work in Creo 4.0 M020 and Creo 3.0M100&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mapkey ih @MAPKEY_LABEL(toggle) activate Insert Here ...[ih];\&lt;BR /&gt;mapkey(continued) %.ih;&lt;BR /&gt;!&lt;BR /&gt;mapkey hi&amp;nbsp; @MAPKEY_LABEL exit Insert Here mode ...[hi];\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdResumeLast`;&lt;BR /&gt;!&lt;BR /&gt;mapkey .ih&amp;nbsp; @MAPKEY_LABEL toggle Insert Here (int)...[.ih];\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdActivateInsert`;\&lt;BR /&gt;mapkey(continued) %.toggle_1;\&lt;BR /&gt;mapkey(continued) ~ Update `add_opt` `EditPanel` `ih %.hi`;\&lt;BR /&gt;mapkey(continued) %.toggle_2;&lt;BR /&gt;!&lt;BR /&gt;mapkey .hi&amp;nbsp; @MAPKEY_LABEL Insert Here (int)...[.hi];\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdResumeLast`;\&lt;BR /&gt;mapkey(continued) %.toggle_1;\&lt;BR /&gt;mapkey(continued) ~ Update `add_opt` `EditPanel` `ih %.ih`;\&lt;BR /&gt;mapkey(continued) %.toggle_2;&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;! ******&amp;nbsp; Do not change *****&lt;BR /&gt;mapkey .toggle_1 ~ Command `ProCmdRibbonOptionsDlg` ;\&lt;BR /&gt;mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\&lt;BR /&gt;mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.AddOpt`;\&lt;BR /&gt;mapkey(continued) ~ Input `add_opt` `InputOpt` `mapkey`; ~ Update `add_opt` `InputOpt` `mapkey`;\&lt;BR /&gt;mapkey(continued) ~ Activate `add_opt` `InputOpt`;~ FocusOut `add_opt` `InputOpt`;&lt;BR /&gt;!&lt;BR /&gt;mapkey .toggle_2 ~ Activate `add_opt` `EditPanel`;\&lt;BR /&gt;mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 17:39:06 GMT</pubDate>
    <dc:creator>cadcam</dc:creator>
    <dc:date>2017-12-07T17:39:06Z</dc:date>
    <item>
      <title>Insert here command line for mapkey in assemblies</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/491847#M346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to record a mapkey in Creo for the Insert Here command, in an assembly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 389px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/3157iE26784EC9761BB70/image-dimensions/389x548?v=v2" width="389" height="548" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want it to be universal, obviously. I recorded it with the mouse, and it works in the assembly of the record, but doesn't in others.&lt;/P&gt;
&lt;P&gt;Does anyone know the command line I might insert in the config.pro to make it usable everywhere and always?&lt;/P&gt;
&lt;P&gt;The current lines of the recorded one are the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/3159i05E9BCA2739C9DF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tommaso&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 21:39:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/491847#M346</guid>
      <dc:creator>tleati</dc:creator>
      <dc:date>2018-12-12T21:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Insert here command line for mapkey in assemblies</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/491870#M347</link>
      <description>&lt;PRE&gt; See attached below a snippet from our mnemonic set of mapkeys for Creo 4

 to use

  1) Select part/feature you wish to insert below [it should work in part
and Assembly mode]

  2)* hit mapkey ih this should enter Insert Here mode
     (* If it doesn't work first time hit ih again, the toogle function was
probably left in exit mode)

  3) To exit either

     a) hit ih again - should toggle and automatically resume suppressed
     features/parts

     OR
     b) reverse hotkey, e.g hi, and this should start the exit insert mode,
but leave the user to hit the yes prompt
&lt;BR /&gt;&lt;BR /&gt;  Regards&lt;BR /&gt;  &lt;BR /&gt;Copy below into your config.pro provided none of the &lt;BR /&gt;mapkey names clash!

! **** Mapkeys to enter and leave Insert Here mode **** &lt;BR /&gt;! mapkey ih @MAPKEY_LABEL(toggle) activate Insert Here ...[ih];\ &lt;BR /&gt;mapkey(continued)%.ih; &lt;BR /&gt;! &lt;BR /&gt;mapkey hi @MAPKEY_LABEL exit Insert Here mode ...[hi];\
mapkey(continued) ~ Command `ProCmdCancel`; &lt;BR /&gt;!&lt;BR /&gt;mapkey .ih @MAPKEY_LABELtoggle Insert Here (int)...[.ih];\ &lt;BR /&gt;mapkey(continued) ~ Command`ProCmdActivateInsert`;\ &lt;BR /&gt;mapkey(continued) %.toggle_1;\ &lt;BR /&gt;mapkey(continued) ~Update `add_opt` `EditPanel` `ih %.hi`;\ &lt;BR /&gt;mapkey(continued) %.toggle_2; &lt;BR /&gt;!&lt;BR /&gt;mapkey .hi @MAPKEY_LABEL Insert Here (int)...[.hi];\ &lt;BR /&gt;mapkey(continued) ~Command `ProCmdCancel`;Yes;\ &lt;BR /&gt;mapkey(continued) %.toggle_1;\
mapkey(continued) ~ Update `add_opt` `EditPanel` `ih %.ih`;\
mapkey(continued) %.toggle_2; &lt;BR /&gt;! &lt;BR /&gt;! ****** Do not change ***** &lt;BR /&gt;mapkey.toggle_1 ~ Command `ProCmdRibbonOptionsDlg` ;\ &lt;BR /&gt;mapkey(continued) ~ Select`ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
mapkey(continued) ~ Activate `ribbon_options_dialog``ConfigLayout.AddOpt`;\ &lt;BR /&gt;mapkey(continued) ~ Input `add_opt` `InputOpt``mapkey`; ~ Update `add_opt` `InputOpt` `mapkey`;\ &lt;BR /&gt;mapkey(continued) ~Activate `add_opt` `InputOpt`;~ FocusOut `add_opt` `InputOpt`; ! &lt;BR /&gt;mapkey.toggle_2 ~ Activate `add_opt` `EditPanel`;\ &lt;BR /&gt;mapkey(continued) ~ Activate`ribbon_options_dialog` `OkPshBtn`;
!********************************************************************&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Nov 2017 18:58:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/491870#M347</guid>
      <dc:creator>cadcam</dc:creator>
      <dc:date>2017-11-17T18:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Insert here command line for mapkey in assemblies</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493853#M348</link>
      <description>&lt;P&gt;Hello Cadcam,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks very much for your reply and I am sorry I couldn't reply before.&lt;/P&gt;
&lt;P&gt;I have tried your mapkeys but they don't work (I am using Creo 3 if it may matter).&lt;/P&gt;
&lt;P&gt;In the lower left corner the message "Playing mapkey ih.." appears, and nothing happens. I have also tried to hit once more but with no success.&lt;/P&gt;
&lt;P&gt;Anyway I found the solution, It was just to simply insert the line:&lt;/P&gt;
&lt;P&gt;mapkey(continued) ~ Command `ProCmdActivateInsert`;&lt;/P&gt;
&lt;P&gt;to enter insert mode&lt;/P&gt;
&lt;P&gt;and eventually another mapkey with:&lt;/P&gt;
&lt;P&gt;mapkey(continued) ~ Command `ProCmdResumeLast`;&lt;/P&gt;
&lt;P&gt;to resume last set.&lt;/P&gt;
&lt;P&gt;(no need to have a toggle function for the moment, even if it would probably be a finer solution).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also have another question to ask you, how do you play double letters makeys by keystrokes (If it is possible)? when I try to hit for example "rl", since I have another mapkey named "r", it plays this latter instead of the "rl" one...as if it took just the first letter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;bye&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 14:32:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493853#M348</guid>
      <dc:creator>tleati</dc:creator>
      <dc:date>2017-12-07T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert here command line for mapkey in assemblies</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493855#M349</link>
      <description>&lt;P&gt;You can use double letter mapkeys as long as the first letter is not a mapkey by itself.&lt;/P&gt;
&lt;P&gt;So if you have a mapkey that is "L", you can't have any other mapkeys that start with "L".&lt;/P&gt;
&lt;P&gt;The key is, don't use single letter mapkeys.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 14:36:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493855#M349</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2017-12-07T14:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Insert here command line for mapkey in assemblies</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493906#M350</link>
      <description>&lt;P&gt;Thanks for the hint re resume last.&lt;/P&gt;
&lt;P&gt;I have included it in the ih (toggle) and hi reverse command below. Seems to work in Creo 4.0 M020 and Creo 3.0M100&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mapkey ih @MAPKEY_LABEL(toggle) activate Insert Here ...[ih];\&lt;BR /&gt;mapkey(continued) %.ih;&lt;BR /&gt;!&lt;BR /&gt;mapkey hi&amp;nbsp; @MAPKEY_LABEL exit Insert Here mode ...[hi];\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdResumeLast`;&lt;BR /&gt;!&lt;BR /&gt;mapkey .ih&amp;nbsp; @MAPKEY_LABEL toggle Insert Here (int)...[.ih];\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdActivateInsert`;\&lt;BR /&gt;mapkey(continued) %.toggle_1;\&lt;BR /&gt;mapkey(continued) ~ Update `add_opt` `EditPanel` `ih %.hi`;\&lt;BR /&gt;mapkey(continued) %.toggle_2;&lt;BR /&gt;!&lt;BR /&gt;mapkey .hi&amp;nbsp; @MAPKEY_LABEL Insert Here (int)...[.hi];\&lt;BR /&gt;mapkey(continued) ~ Command `ProCmdResumeLast`;\&lt;BR /&gt;mapkey(continued) %.toggle_1;\&lt;BR /&gt;mapkey(continued) ~ Update `add_opt` `EditPanel` `ih %.ih`;\&lt;BR /&gt;mapkey(continued) %.toggle_2;&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;! ******&amp;nbsp; Do not change *****&lt;BR /&gt;mapkey .toggle_1 ~ Command `ProCmdRibbonOptionsDlg` ;\&lt;BR /&gt;mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\&lt;BR /&gt;mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.AddOpt`;\&lt;BR /&gt;mapkey(continued) ~ Input `add_opt` `InputOpt` `mapkey`; ~ Update `add_opt` `InputOpt` `mapkey`;\&lt;BR /&gt;mapkey(continued) ~ Activate `add_opt` `InputOpt`;~ FocusOut `add_opt` `InputOpt`;&lt;BR /&gt;!&lt;BR /&gt;mapkey .toggle_2 ~ Activate `add_opt` `EditPanel`;\&lt;BR /&gt;mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:39:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/493906#M350</guid>
      <dc:creator>cadcam</dc:creator>
      <dc:date>2017-12-07T17:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Insert here command line for mapkey in assemblies</title>
      <link>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/495189#M351</link>
      <description>&lt;P&gt;you are welcome, thanks for your reply too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried and both ih and hi seem to be working, except that when I play the ih, the configuration editor window appears...and in fact I see the toggle 1 contains Command `ProCmdRibbonOptionsDlg`.&lt;/P&gt;
&lt;P&gt;I am not sure I have got well the function of the two toggles (I would anyway have to press two different mapkeys (ih and hi).&lt;/P&gt;
&lt;P&gt;Also, why do you include the `ProCmdRibbonOptionsDlg`?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bye&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:49:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/System-Administration/Insert-here-command-line-for-mapkey-in-assemblies/m-p/495189#M351</guid>
      <dc:creator>tleati</dc:creator>
      <dc:date>2017-12-20T10:49:59Z</dc:date>
    </item>
  </channel>
</rss>

