NotepadPlusPlus Run TUFLOW: Difference between revisions
Content deleted Content added
No edit summary |
Chris Huxley (talk | contribs) No edit summary |
||
| (11 intermediate revisions by 3 users not shown) | |||
Line 6:
The line should be of the form as bellow where the executable path matches the location on your computer:<br>
: "C:\TUFLOW\Releases\2020-10-AA\TUFLOW_iSP_w64.exe" "$(FULL_CURRENT_PATH)"</li>
[[File:
<li>This tells notepad to pass the currently open file to TUFLOW as the input file.
<li>Select Save and give the item a sensible name e.g. TUFLOW 2020-10-AA-iSP.</li>
<li>To run TUFLOW with the currently open TCF file, simply select the item from the Run menu (or set a shortcut if desired).</li>
[[File:
</ol>
<br>
'''Troubleshooting'''<br>
[[NotepadPlusPlus_Tips | Back to Notepad ++ tips.]]▼
If you receive a "ShellExecute ERROR", further configuration is necessary.<br>
[[File:shell_execute_error.png|400px]]<br>
<ol>
<li> In Windows Explorer navigate to the folder location where you have saved the TUFLOW executable.
<li> Double left mouse click the TUFLOW executable. When the following protection pop-up appears, select "More info" <br>
[[File:Windows_Protection.png|400px]]<br>
<li> Select "Run anyway". This will open a DOS window and run the TUFLOW executable.<br>
[[File:Windows_Run_Anyway.png|400px]]<br>
<li> Close the TUFLOW DOS window.
<li> Restart Notepad++. The TUFLOW Run Option should now function correctly.
</ol>
<br>
'''TIP:''' The shortcuts can be found and edited in the shortcuts.xml file stored on your machine. The easiest way to find this is to search for it, on my computer it is located here:
C:\Users\username\AppData\Roaming\Notepad++\
Line 22 ⟶ 33:
<UserDefinedCommands>
<Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox "$(FULL_CURRENT_PATH)"</Command>
<Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">
<Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">
<Command name="Open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
<Command name="Open file (relative)" Ctrl="no" Alt="yes" Shift="no" Key="32">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_DIRECTORY)/$(CURRENT_WORD)</Command>
Line 34 ⟶ 45:
</UserDefinedCommands>
</code>
{{Tips Navigation
▲|uplink=[[NotepadPlusPlus_Tips | Back to Notepad ++ tips.]]
}} <br>
| |||