QuickNotes is acquiring a scripting language: QPL. It's a work in progress, of course, but lots of useful features have already gone live. Script files can be saved with the .qns extension and launched from the CMline with RUN myscript[.qns]. Alternatively, QPL code can be inserted directly into a note, as a triple-backtick-delimited "fenced block", and executed with Alt+Enter with the cursor anywhere in the block (see examples below). Script output can be displayed on the status line (PR text), in a GUI message box (MSG text) or in a monospaced plain-text dialog (TXT text). The contents of a file can be saved to a variable with: or The contents of a variable can be written to a file with: There's a powerful XV command that can be used to save the output of a Windows/Linux command to a variable. For example: ```qpl SET ipconfig = XV ipconfig /all TXT $ipconfig ``` Commands are case-insensitive. Click on Help -> Command Reference for a full rundown. Here's a lightly-commented sample script. It writes the first 15 Fibonacci numbers at the bottom of the current file a/k/a note. The number of iterations can be adjusted by editing the variable LIM. Thanks to Python's arbitrary-precision integer type, the number of iterations is limitless for all practical purposes. I ran it out to 10,000 iterations -- producing a number with 2,090 digits(!). ```qpl # fibonacci.qns -- Write Fibonacci numbers at bottom of file # Edit variable LIM to adjust number of iterations SET lim = 15 SET ctr = 0 SET num0 = 0 SET num1 = 0 SET num2 = 1 SINS # Set Insert typing mode BF # Move cursor to bottom of file WRITELN # Write a blank line at the cursor position WRITELN 0 # Write the first Fib number, "0" :Loop SET ctr = $ctr + 1 IF $ctr < $lim ENDIF ``` Download: https://ammaze.net/xywwweb/dls/quicknotes.zip Save quicknotes.py to a directory of your choice. Launch with: Python v3.9 or later must be installed Usage summary: https://ammaze.net/xywwweb/dls/QuickNotes-Usage.pdf -- Carl Distefano cld@xxxxxxxxxx