<liclass="toctree-l3"><aclass="reference internal"href="../setup-tools.html#get-the-mobase-stubs">1. Get the <codeclass="docutils literal notranslate"><spanclass="pre">mobase</span></code> stubs</a></li>
<liclass="toctree-l3"><aclass="reference internal"href="../setup-tools.html#configure-visual-studio-code-for-mobase">2. Configure Visual Studio Code for <codeclass="docutils literal notranslate"><spanclass="pre">mobase</span></code></a></li>
<liclass="toctree-l3"><aclass="reference internal"href="../setup-tools.html#configure-mypy-to-find-the-mobase-stubs">3. Configure <codeclass="docutils literal notranslate"><spanclass="pre">mypy</span></code> to find the <codeclass="docutils literal notranslate"><spanclass="pre">mobase</span></code> stubs</a></li>
<liclass="toctree-l2"><aclass="reference internal"href="../faq.html#why-is-mo2-throwing-an-exception-when-i-try-to-create-a-type-inheriting-one-of-mo2-class">1. Why is MO2 throwing an exception when I try to create a type inheriting one of MO2 class?</a></li>
<liclass="toctree-l2"><aclass="reference internal"href="../faq.html#how-can-i-be-sure-to-implement-all-the-required-methods-when-creating-a-plugin">2. How can I be sure to implement all the required methods when creating a plugin?</a></li>
<liclass="toctree-l2"><aclass="reference internal"href="../faq.html#why-are-my-isinstance-x-qobject-and-isinstance-y-qwidget-not-working">3. Why are my <codeclass="docutils literal notranslate"><spanclass="pre">isinstance(x,</span><spanclass="pre">QObject)</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">isinstance(y,</span><spanclass="pre">QWidget)</span></code> not working?</a></li>
<h1>IOrganizer<aclass="headerlink"href="#iorganizer"title="Permalink to this headline">¶</a></h1>
<dlclass="class">
<dtid="mobase.IOrganizer">
<emclass="property">class </em><codeclass="sig-prename descclassname">mobase.</code><codeclass="sig-name descname">IOrganizer</code><aclass="headerlink"href="#mobase.IOrganizer"title="Permalink to this definition">¶</a></dt>
<td><p>Wait for the application corresponding to the given handle to finish.</p></td>
</tr>
</tbody>
</table>
<pclass="rubric">Methods Documentation</p>
<dlclass="method">
<dtid="mobase.IOrganizer.appVersion">
<codeclass="sig-name descname">appVersion</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.appVersion"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The running version of Mod Organizer.</p>
<codeclass="sig-name descname">basePath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.basePath"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The absolute path to the base directory of Mod Organizer.</p>
<codeclass="sig-name descname">createMod</code><spanclass="sig-paren">(</span><emclass="sig-param">name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.createMod"title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new mod with the specified name.</p>
<p>If a mod with the same name already exists, the user will be queried. If the user chooses
<codeclass="sig-name descname">createNexusBridge</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.createNexusBridge"title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new Nexus interface.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The newly created Nexus interface.</p>
<codeclass="sig-name descname">downloadManager</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.downloadManager"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The interface to the download manager.</p>
<codeclass="sig-name descname">downloadsPath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.downloadsPath"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The absolute path to the download directory.</p>
<codeclass="sig-name descname">findFileInfos</code><spanclass="sig-paren">(</span><emclass="sig-param">path</em>, <emclass="sig-param">filter</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.findFileInfos"title="Permalink to this definition">¶</a></dt>
<dd><p>Find files in the virtual directory matching the specified filter.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>path</strong>– The path to search in (relative to the ‘data’ folder).</p></li>
<li><p><strong>filter</strong>– The function to use to filter files. Should return True for the files to keep.</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>The list of <cite>QFileInfo</cite> corresponding to the matching files.</p>
<codeclass="sig-name descname">findFiles</code><spanclass="sig-paren">(</span><emclass="sig-param">**kwds</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.findFiles"title="Permalink to this definition">¶</a></dt>
<dd><p>Helper for @overload to raise when called.</p>
</dd></dl>
<dlclass="method">
<dtid="mobase.IOrganizer.getFileOrigins">
<codeclass="sig-name descname">getFileOrigins</code><spanclass="sig-paren">(</span><emclass="sig-param">filename</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.getFileOrigins"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">getGame</code><spanclass="sig-paren">(</span><emclass="sig-param">name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.getGame"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve the game plugin matching the given name.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>name</strong>– Name of the game (short name).</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>The plugin for the given game, or <cite>None</cite> if none was found.</p>
<emclass="property">static </em><codeclass="sig-name descname">getPluginDataPath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.getPluginDataPath"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The directory for plugin data, typically plugins/data.</p>
<codeclass="sig-name descname">installMod</code><spanclass="sig-paren">(</span><emclass="sig-param">filename</em>, <emclass="sig-param">name_suggestion=''</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.installMod"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a mod archive at the specified location.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>filename</strong>– Absolute filepath to the archive to install.</p></li>
<li><p><strong>name_suggestion</strong>– Suggested name for this mod. This can still be changed by the user.</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>An interface to the new installed mod, or <cite>None</cite> if no installation took place (canceled or failure).</p>
<codeclass="sig-name descname">isPluginEnabled</code><spanclass="sig-paren">(</span><emclass="sig-param">**kwds</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.isPluginEnabled"title="Permalink to this definition">¶</a></dt>
<dd><p>Helper for @overload to raise when called.</p>
<codeclass="sig-name descname">listDirectories</code><spanclass="sig-paren">(</span><emclass="sig-param">directory</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.listDirectories"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve the list of (virtual) subdirectories in the given path.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>directory</strong>– Path to the directory to list (relative to the ‘data’ folder).</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>The list of directories in the given directory.</p>
<codeclass="sig-name descname">managedGame</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.managedGame"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The plugin corresponding to the current game.</p>
<codeclass="sig-name descname">modDataChanged</code><spanclass="sig-paren">(</span><emclass="sig-param">mod</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.modDataChanged"title="Permalink to this definition">¶</a></dt>
<dd><p>Notify the organizer that the given mod has changed.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>mod</strong>– The mod that has changed.</p>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="mobase.IOrganizer.modList">
<codeclass="sig-name descname">modList</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.modList"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The interface to the mod list.</p>
<codeclass="sig-name descname">modsPath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.modsPath"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The (absolute) path to the mods directory.</p>
<codeclass="sig-name descname">onAboutToRun</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onAboutToRun"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when an application is about to run.</p>
<p>Multiple handlers can be installed. If any of the handler returns <cite>False</cite>, the application will
<codeclass="sig-name descname">onFinishedRun</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onFinishedRun"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when an application has finished running.</p>
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when an application has finished running. The first parameter is the absolute
path to the application, and the second parameter is the exit code of the application.</p>
<codeclass="sig-name descname">onPluginDisabled</code><spanclass="sig-paren">(</span><emclass="sig-param">**kwds</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onPluginDisabled"title="Permalink to this definition">¶</a></dt>
<dd><p>Helper for @overload to raise when called.</p>
</dd></dl>
<dlclass="method">
<dtid="mobase.IOrganizer.onPluginEnabled">
<codeclass="sig-name descname">onPluginEnabled</code><spanclass="sig-paren">(</span><emclass="sig-param">**kwds</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onPluginEnabled"title="Permalink to this definition">¶</a></dt>
<dd><p>Helper for @overload to raise when called.</p>
<codeclass="sig-name descname">onPluginSettingChanged</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onPluginSettingChanged"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when a plugin setting is changed.</p>
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when a plugin setting is changed. The parameters are: The name of the plugin, the
name of the setting, the old value (or <cite>None</cite> if the setting did not exist before) and the new value
<codeclass="sig-name descname">onProfileChanged</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onProfileChanged"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when the current profile is changed.</p>
<p>The function is called when the profile is changed but some operations related to
the profile might not be finished when this is called (e.g., the virtual file system
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when the current profile is changed. The first parameter is the old profile (can
be <cite>None</cite>, e.g. at startup), and the second parameter is the new profile (cannot be <cite>None</cite>).</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>True if the handler was installed properly (there are currently no reasons for this to fail).</p>
<codeclass="sig-name descname">onProfileCreated</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onProfileCreated"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when a new profile is created.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when a new profile is created. The parameter is the new profile (can be
a temporary object and should not be stored).</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>True if the handler was installed properly (there are currently no reasons for this to fail).</p>
<codeclass="sig-name descname">onProfileRemoved</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onProfileRemoved"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when a profile is remove.</p>
<p>The callbacks are called after the profile has been removed so the profile is not accessible
anymore.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when a profile is remove. The parameter is the name of the profile that was
removed.</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>True if the handler was installed properly (there are currently no reasons for this to fail).</p>
<codeclass="sig-name descname">onProfileRenamed</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onProfileRenamed"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when a profile is renamed.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when a profile is renamed. The first parameter is the profile being renamed,
the second parameter the previous name and the third parameter the new name.</p>
<codeclass="sig-name descname">onUserInterfaceInitialized</code><spanclass="sig-paren">(</span><emclass="sig-param">callback</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.onUserInterfaceInitialized"title="Permalink to this definition">¶</a></dt>
<dd><p>Install a new handler to be called when the UI has been fully initialized.</p>
<ddclass="field-odd"><p><strong>callback</strong>– The function to call when the user-interface has been fully initialized. The parameter is the main
window of the application (<cite>QMainWindow</cite>).</p>
<codeclass="sig-name descname">overwritePath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.overwritePath"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The (absolute) path to the overwrite directory.</p>
<codeclass="sig-name descname">persistent</code><spanclass="sig-paren">(</span><emclass="sig-param">plugin_name</em>, <emclass="sig-param">key</em>, <emclass="sig-param">default=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.persistent"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve the specified persistent value for a plugin.</p>
<p>A persistent is an arbitrary value that the plugin can set and retrieve that is persistently stored
by the main application. There is no UI for the user to change this value but they can directly access
<li><p><strong>plugin_name</strong>– Name of the plugin for which to retrieve the value. This should always be <cite>IPlugin.name()</cite> unless you have a
really good reason to access data of another mod AND if you can verify that plugin is actually installed.</p></li>
<codeclass="sig-name descname">pluginDataPath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.pluginDataPath"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve the path to a directory where plugin data should be stored.</p>
<p>For python plugins, it is recommended to use a dedicated folder (per plugin) if you need to
store data (resources, or multiple python files).</p>
<dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>Path to a directory where plugin data should be stored.</p>
<codeclass="sig-name descname">pluginList</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.pluginList"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The plugin list interface.</p>
<codeclass="sig-name descname">pluginSetting</code><spanclass="sig-paren">(</span><emclass="sig-param">plugin_name</em>, <emclass="sig-param">key</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.pluginSetting"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve settings of plugins.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>plugin_name</strong>– Name of the plugin to retrieve the setting for.</p></li>
<li><p><strong>key</strong>– Name of the setting to retrieve the value for.</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>The value of the setting.</p>
<codeclass="sig-name descname">profile</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.profile"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The interface to the current profile.</p>
<codeclass="sig-name descname">profileName</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.profileName"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The name of the current profile, or an empty string if no profile has been loaded (yet).</p>
<codeclass="sig-name descname">profilePath</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.profilePath"title="Permalink to this definition">¶</a></dt>
<dd><dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The absolute path to the active profile or an empty string if no profile has been loaded (yet).</p>
<codeclass="sig-name descname">refresh</code><spanclass="sig-paren">(</span><emclass="sig-param">save_changes=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.refresh"title="Permalink to this definition">¶</a></dt>
<dd><p>Refresh the internal mods file structure from disk. This includes the mod list, the plugin
list, data tab and other smaller things like problems button (same as pressing F5).</p>
<p>The main part of the refresh of the mods file structure, mod list and plugin list is done
asynchronously, so you should not expect them to be up-to-date when this function returns.</p>
<ddclass="field-odd"><p><strong>save_changes</strong>– If True, the relevant profile information is saved first (enabled mods and order of mods).</p>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="mobase.IOrganizer.resolvePath">
<codeclass="sig-name descname">resolvePath</code><spanclass="sig-paren">(</span><emclass="sig-param">filename</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.resolvePath"title="Permalink to this definition">¶</a></dt>
<dd><p>Resolves a path relative to the virtual data directory to its absolute real path.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>filename</strong>– Path to resolve.</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>The absolute real path, or an empty string if the path was not found.</p>
<codeclass="sig-name descname">setPersistent</code><spanclass="sig-paren">(</span><emclass="sig-param">plugin_name</em>, <emclass="sig-param">key</em>, <emclass="sig-param">value</em>, <emclass="sig-param">sync=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.setPersistent"title="Permalink to this definition">¶</a></dt>
<dd><p>Set the specified persistent value for a plugin.</p>
<p>This does not update the in-memory value for this setting, see <cite>setPluginSetting()</cite> for this.</p>
<li><p><strong>plugin_name</strong>– Name of the plugin for which to change a value. This should always be <cite>IPlugin.name()</cite> unless you have a
really good reason to access data of another mod AND if you can verify that plugin is actually installed.</p></li>
<li><p><strong>key</strong>– Identifier of the setting.</p></li>
<li><p><strong>value</strong>– New value for the setting.</p></li>
<li><p><strong>sync</strong>– If True, the storage is immediately written to disc. This costs performance but is safer against data loss.</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="mobase.IOrganizer.setPluginSetting">
<codeclass="sig-name descname">setPluginSetting</code><spanclass="sig-paren">(</span><emclass="sig-param">plugin_name</em>, <emclass="sig-param">key</em>, <emclass="sig-param">value</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.setPluginSetting"title="Permalink to this definition">¶</a></dt>
<dd><p>Set the specified setting for a plugin.</p>
<p>This automatically notify handlers register with <cite>onPluginSettingChanged</cite>, so you do not have to do it yourself.</p>
<li><p><strong>plugin_name</strong>– Name of the plugin for which to change a value. This should always be <cite>IPlugin.name()</cite> unless you have a
really good reason to access data of another mod AND if you can verify that plugin is actually installed.</p></li>
<li><p><strong>key</strong>– Identifier of the setting.</p></li>
<li><p><strong>value</strong>– New value for the setting.</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="mobase.IOrganizer.startApplication">
<codeclass="sig-name descname">startApplication</code><spanclass="sig-paren">(</span><emclass="sig-param">executable</em>, <emclass="sig-param">args=[]</em>, <emclass="sig-param">cwd=''</em>, <emclass="sig-param">profile=''</em>, <emclass="sig-param">forcedCustomOverwrite=''</em>, <emclass="sig-param">ignoreCustomOverwrite=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.startApplication"title="Permalink to this definition">¶</a></dt>
<dd><p>Starts an application with virtual filesystem active.</p>
<li><p><strong>executable</strong>– Name or path of the executable. If this is only a filename, it will only work if it has been configured
in MO as an executable. If it is a relative path it is expected to be relative to the game directory.</p></li>
<li><p><strong>args</strong>– Arguments to pass to the executable. If the list is empty, and <cite>executable</cite> refers to a configured executable,
the configured arguments are used.</p></li>
<li><p><strong>cwd</strong>– The working directory for the executable. If this is empty, the path to the executable is used unless <cite>executable</cite>
referred to a configured MO executable, in which case the configured cwd is used.</p></li>
<codeclass="sig-name descname">waitForApplication</code><spanclass="sig-paren">(</span><emclass="sig-param">handle</em>, <emclass="sig-param">refresh=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.IOrganizer.waitForApplication"title="Permalink to this definition">¶</a></dt>