GUI4CLI
  • Home
  • Help
    • Tutorial Videos
    • Install Notepad++
    • Customize your GUIs
    • Extend Language (DLL)
  • Forum
  • Description
Help on installing Notepad++

Notepad++ is a very popular editor for coding. The new version (2022) includes support for Gui4Cli.
  • Download Notepad++ from here.
Make Notepad++ the default Gui4Cli editor

Start Gui4Cli and load the "Gui4Cli gui" from the Gui4Cli shortcuts or taskbar menu.
In the 2nd tab, "Auto Guis", change the "Editor" to the full path of "Notepad++.exe"
Add shortcuts and menu items for Help

The following will add the following 2 shortcuts and respective menu items in Notepad++'s "Run" menu:
  • ALT-F2 - Will open the Gui4Cli Manual at the topic of the word you have highlighted
  • ALT-F5 - Will open "EventTree.gui" which is a helpful gui located in the Gui/Scied folder in the Gui4Cli directory and provides a list of all events in the gui so you can navigate it easily.  
To add this you have to edit Notepadd++'s "shortcuts.xml" file, located in your AppData folder. The path should be something like: "C:/Users/......../AppData/Roaming/Notepad++/shortcuts.xml". 
(Note - the "AppData" folder is normally "Hidden" by Windows, so you have to un-hide it)
​
Scroll down to where it says  <UserDefinedCommands> and add the following 2 lines:
<Command name="Get Gui4Cli Help" Ctrl="no" Alt="yes" Shift="no" Key="113">&quot;c:\Program Files (x86)\Gui4Cli\Gui4Cli.exe&quot; -command htmlhelp keyword home:Gui4Cli.chm $(CURRENT_WORD)</Command>
<Command name="Add to Gui4Cli Event Viewer" Ctrl="no" Alt="yes" Shift="no" Key="115">&quot;c:\Program Files (x86)\Gui4Cli\Gui4Cli.exe&quot; -command guiload home:gui/scied/eventtree.gui -fs &quot;$(FULL_CURRENT_PATH)&quot;</Command>

    
Dark Mode colors

To set the colors for dark mode for Gui4Cli, you have to edit the following file:
"C:/Users/......../AppData/Roaming/Notepad++/themes/DarkModeDefault.xml". 
Add the following "LexerType" along with the others found there:

    
Font

The normal monospace font provided by Windows is Courier New, but I prefer the one used Visual Studio, which is freely available and is called "Cascadia Code". Download it here...
Below is a screengrab of Notepad++ in dark mode, with the accompanying optional "EventTree.gui" showing the code overview.
Picture
Go to the Forum
Contact : gui4cli@gmail.com
  • Home
  • Help
    • Tutorial Videos
    • Install Notepad++
    • Customize your GUIs
    • Extend Language (DLL)
  • Forum
  • Description