<?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: Mapkey to open an app in working directory in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053932#M14731</link>
    <description>&lt;P&gt;Thanks for the tip. I'm just wondering how I could pass the working directory as argument to my command line ?&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="RaphMORIN_0-1770300891224.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134391i5D3D72AE8A8C766C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaphMORIN_0-1770300891224.png" alt="RaphMORIN_0-1770300891224.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Feb 2026 14:20:21 GMT</pubDate>
    <dc:creator>RaphMORIN</dc:creator>
    <dc:date>2026-02-05T14:20:21Z</dc:date>
    <item>
      <title>Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053882#M14729</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a mapkey (ex) that opens the windows explorer in the working directory. I have recently switched to directory opus as an alternative explorer. I would like to make a macro that launches directory opus in the working directory. Do you know how I could achieve that ? How would you do ?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 08:57:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053882#M14729</guid>
      <dc:creator>RaphMORIN</dc:creator>
      <dc:date>2026-02-05T08:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053922#M14730</link>
      <description>&lt;P&gt;Maybe this past discussion is helpful?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Customization/How-to-open-external-file-with-Mapkey/td-p/438675" target="_blank" rel="noopener"&gt;https://community.ptc.com/t5/Customization/How-to-open-external-file-with-Mapkey/td-p/438675&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 13:04:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053922#M14730</guid>
      <dc:creator>KenFarley</dc:creator>
      <dc:date>2026-02-05T13:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053932#M14731</link>
      <description>&lt;P&gt;Thanks for the tip. I'm just wondering how I could pass the working directory as argument to my command line ?&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="RaphMORIN_0-1770300891224.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134391i5D3D72AE8A8C766C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaphMORIN_0-1770300891224.png" alt="RaphMORIN_0-1770300891224.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:20:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053932#M14731</guid>
      <dc:creator>RaphMORIN</dc:creator>
      <dc:date>2026-02-05T14:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053939#M14732</link>
      <description>&lt;P&gt;This may help you. When you use "Open System Window" to open a command prompt in the current session it always opens to the location of the working directory.&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="MikePhillips_0-1770304327797.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134392i91BF96E5ED65034C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MikePhillips_0-1770304327797.png" alt="MikePhillips_0-1770304327797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 15:13:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053939#M14732</guid>
      <dc:creator>MikePhillips</dc:creator>
      <dc:date>2026-02-05T15:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053941#M14733</link>
      <description>&lt;P&gt;If you refer to this &lt;A href="https://www.gpsoft.com.au/" target="_blank" rel="noopener"&gt;Directory Opus&lt;/A&gt;, you might as well request assistance to them directly.&lt;BR /&gt;I know that &lt;STRONG&gt;Direct Folders&lt;/STRONG&gt; from Code Sector enables to switch browse automatically like :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open a directory in Windows Explorer&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Leave Explorer open&lt;/LI&gt;
&lt;LI&gt;Then switch to Creo or any other application, when &lt;STRONG&gt;File &amp;gt; Open&lt;/STRONG&gt;, the explorer lands on the above directory directly&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;The workflow is a little different but it saves lots of clicks.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 15:19:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053941#M14733</guid>
      <dc:creator>remy</dc:creator>
      <dc:date>2026-02-05T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053947#M14734</link>
      <description>&lt;P&gt;There may be an easier way to do this, but this way would work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You have a mapkey that calls File-&amp;gt; Help -&amp;gt; System information -&amp;gt;&amp;nbsp;System information&lt;/P&gt;
&lt;P&gt;2. In the message window it will display the path of your working directory along with the file support.inf.1&lt;/P&gt;
&lt;P&gt;3. You mapkey opens the message log (Tools -&amp;gt; Message Log) and then saves that message log file to a text file with a known file path.&lt;/P&gt;
&lt;P&gt;3. You mapkey calls a vbs file that opens the message log file in step 3 above and extracts the working directory path from the message log and then hands that path off to your other program to open.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I gave a PTC/User presentation that walks through some of these steps here:&lt;BR /&gt;&lt;A href="https://community.ptc.com/sejnu66972/attachments/sejnu66972/customization/13797/1/VG-4052%20Dynamic%20Mapkeys%20to%20Automate%20Creo%202024-01-23.pdf" target="_blank" rel="noopener"&gt;https://community.ptc.com/sejnu66972/attachments/sejnu66972/customization/13797/1/VG-4052%20Dynamic%20Mapkeys%20to%20Automate%20Creo%202024-01-23.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 15:28:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1053947#M14734</guid>
      <dc:creator>Chris3</dc:creator>
      <dc:date>2026-02-05T15:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1054024#M14741</link>
      <description>&lt;P&gt;Thanks all for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally I made it using Autohotkey. The only thing, I had to add a few pause in the script (Sleep command) because the script was too fast to copy the working directory. Sometimes it was working, sometimes not. Now it works 100%.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had never used Autohotkey before, it's quite easy to learn.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the script if anyone is interested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;!e:: ; Raccourci ALT+E&lt;BR /&gt;Send {Alt}&lt;BR /&gt;Send f&lt;BR /&gt;Send m&lt;BR /&gt;Send w&lt;BR /&gt;Send {Tab}&lt;BR /&gt;Send {Tab}&lt;BR /&gt;Sleep 100&lt;BR /&gt;Send {Space}&lt;BR /&gt;Sleep 100&lt;BR /&gt;Send ^c&lt;BR /&gt;Sleep 100&lt;BR /&gt;Send {Esc}&lt;BR /&gt;Run, dopus.exe "%Clipboard%"&lt;BR /&gt;return&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 07:58:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1054024#M14741</guid>
      <dc:creator>RaphMORIN</dc:creator>
      <dc:date>2026-02-06T07:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1054711#M14749</link>
      <description>&lt;P&gt;I think this will help you a lot! You can change path to your dopus.exe instead of my batch file&lt;BR /&gt;&lt;BR /&gt;mapkey xd @MAPKEY_LABELautoimport;~ Command `ProCmdDwgTblSaveasText` ;\&lt;BR /&gt;mapkey(continued)\ @SYSTEM "C:\\Users\\Admin\\Desktop\\personal\\autoimport\\tpv.bat";&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 11:05:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1054711#M14749</guid>
      <dc:creator>Radovan_DT</dc:creator>
      <dc:date>2026-02-12T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mapkey to open an app in working directory</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1054735#M14751</link>
      <description>&lt;P&gt;Thanks for the tip, but for now it doesn't work.&lt;/P&gt;
&lt;P&gt;I wrote this in mapkey file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mapkey ed @MAPKEY_LABELOuvrir directory opus dans répertoire de travail;~ Command `ProCmdDwgTblSaveasText` ;\&lt;BR /&gt;mapkey(continued)\ @SYSTEM "C:\\Program Files\\GPSoftware\\Directory Opus\\dopus.exe";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does open directory opus but not in the working directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also get this message in the status bar in Creo :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;14:18 Erreur de macro clavier&amp;nbsp;: Invalid trail file line : No palette found for command 'ProCmdDwgTblSaveasText' in context 'context_main_dlg_w1'.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaphMORIN_0-1770902333408.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/134631iF5C15FEC7E9F64FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaphMORIN_0-1770902333408.png" alt="RaphMORIN_0-1770902333408.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 13:19:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Mapkey-to-open-an-app-in-working-directory/m-p/1054735#M14751</guid>
      <dc:creator>RaphMORIN</dc:creator>
      <dc:date>2026-02-12T13:19:58Z</dc:date>
    </item>
  </channel>
</rss>

