<?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: Using %USERNAME% variable in Application Options in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370387#M74864</link>
    <description>&lt;P&gt;Write a script to set the application option locations that utilizes the environment shortcut.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ie;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ThisApplication.ApplicationOptions = Environ$(%UserName%) &amp;amp; "\Sub-Folder"&lt;/PRE&gt;
&lt;P&gt;**Code above is sample only, and you should not expect it to work. It is only to communicate the concept**&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 15:19:07 GMT</pubDate>
    <dc:creator>MechMachineMan</dc:creator>
    <dc:date>2017-09-11T15:19:07Z</dc:date>
    <item>
      <title>Using %USERNAME% variable in Application Options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7369867#M74859</link>
      <description>We are using Autodesk Inventor 2017 in a lab environment. We would like to create an exported template that all the students can use to set their Application Options. The option that we are having problems with is the "Projects folder" option. We are trying to Export the settings with the "Projects folder" set to: "\\kkids\msStudents\%USERNAME%\Projects. Is there a way to achieve what we are trying to do?</description>
      <pubDate>Mon, 11 Sep 2017 13:03:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7369867#M74859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-11T13:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using %USERNAME% variable in Application Options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370387#M74864</link>
      <description>&lt;P&gt;Write a script to set the application option locations that utilizes the environment shortcut.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ie;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ThisApplication.ApplicationOptions = Environ$(%UserName%) &amp;amp; "\Sub-Folder"&lt;/PRE&gt;
&lt;P&gt;**Code above is sample only, and you should not expect it to work. It is only to communicate the concept**&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:19:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370387#M74864</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-09-11T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using %USERNAME% variable in Application Options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370940#M74869</link>
      <description>Where and how would the script be run?&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:32:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370940#M74869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-11T18:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using %USERNAME% variable in Application Options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370979#M74870</link>
      <description>&lt;P&gt;Many different ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could store it in a part file;&lt;/P&gt;
&lt;P&gt;You could use it as an external rule;&lt;/P&gt;
&lt;P&gt;You could execute a .vbs file that connects to the program&lt;/P&gt;
&lt;P&gt;You could use excel vba.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-username-variable-in-application-options/m-p/7370979#M74870</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-09-11T18:44:45Z</dc:date>
    </item>
  </channel>
</rss>

