File indexing completed on 2025-02-02 04:22:27
0001 <?xml version="1.0" encoding="utf-8"?> 0002 <!DOCTYPE html> 0003 0004 <html xmlns="http://www.w3.org/1999/xhtml"> 0005 <head><title>Scripter Plugin Manual</title> 0006 </head> 0007 <body> 0008 <h1 id="scripter">Scripter</h1> 0009 <p>A small python scripting console.</p> 0010 <h1 id="basic-usage">Basic Usage</h1> 0011 <p>Write python code in the topmost code editor and press the play button on the top left to run it.</p> 0012 <p>The box at the bottom represents the output, with error messages when it goes wrong.</p> 0013 <p>Press <strong>Clear</strong> if you want to clear the bottom output.</p> 0014 <h2 id="using-the-debugger.">Using the debugger.</h2> 0015 <p>Using the Debugger tab, you can go over each line separately to check what is going on in your program at that time. This is very useful to check which variables you’re using.</p> 0016 <p>To start using it, press the <strong>Debug</strong> button above, next to the play button.</p> 0017 <p>Then, switch to the <strong>Debugger</strong> tab. Both buttons are enabled now.</p> 0018 <p>The red button is the <strong>Stop</strong> button, to stop debugging.</p> 0019 <p>The second button is the <strong>Step</strong> button. Use this button to go to the next line. As you press this, the program gets further in its debugging.</p> 0020 <p>Once you get near variables, the table at the bottom will show the interesting information, because for each variable it’ll show the following:</p> 0021 <dl> 0022 <dt>Scope</dt> 0023 <dd>The Scope can be either local or global. What this means is whether the variable 0024 </dd> 0025 <dt>Name</dt> 0026 <dd>The name of the variable. 0027 </dd> 0028 <dt>Value</dt> 0029 <dd>The value of the variable, gotten via print(str(variable)). 0030 </dd> 0031 <dt>Type</dt> 0032 <dd>The type of variable it is. Maybe it’s a string, or a integer, or maybe it is a python object. 0033 </dd> 0034 </dl> 0035 <h1 id="file-menu">File Menu</h1> 0036 <dl> 0037 <dt>New</dt> 0038 <dd>Create a new empty python script. 0039 </dd> 0040 <dt>Open</dt> 0041 <dd>Open a python script 0042 </dd> 0043 <dt>Save</dt> 0044 <dd>save the script to file. 0045 </dd> 0046 <dt>Save As</dt> 0047 <dd>save the current script as a new file. 0048 </dd> 0049 <dt>Close</dt> 0050 <dd>Close the scripter 0051 </dd> 0052 </dl> 0053 <h2 id="settings">Settings</h2> 0054 <dl> 0055 <dt>Syntax Highlighter</dt> 0056 <dd>The Theme for Syntax Highlighting. Also includes background and foreground. 0057 </dd> 0058 <dt>Fonts</dt> 0059 <dd>The font used in the code editor. 0060 </dd> 0061 </dl> 0062 </body> 0063 </html>