[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Re: XyScript v0.1.10 is here!



Carl,
Re: VIEW command:
I tried your suggested replacement in user-variables.xpl and got this msg box:
Screenshot 2026-10-29 at 9.58.33 AM.png
Similarly, since the XE functionxtEdit flawlessly, but xe2 would generate a message in the status line about needing to set the variable. Interesting, but probably irrelevant, that one error showed up in a box, the other on the status line.
FW

On Thu, Oct 29, 2026 at 9:17 AM harrybinswanger <dmarc-noreply@xxxxxxxxxxxxx> wrote:

Likewise for me, unless the absence of an argument caused it (but then it would be the wrong error message). Hope screenshot gets through:

On Wed, 28 Oct 2026 15:03:24 -0700, Fred Weiner wrote:

Carl . . . 

The new VIEW command is great in theory, but I haven't gotten it to work on my Mac system. Here's the line from my xyscript.lib file (which loads via startup.xpl):

SET PDFreader = "/System/Applications/Preview.app/Contents/MacOS/Preview"


That line has been copied and pasted into XyS from terminal. Any other reason the routine would not work? Any other Mac users try it out?

FW

On Wed, Oct 28, 2026 at 2:13 PM Carl Distefano <dmarc-noreply@xxxxxxxxxxxxx> wrote:


XyScript v0.1.10 is released. As usual, the binary downloads are here:


   https://ammaze.net/xyscript


Please back up your startup.xpl and other personal configuration files

before unzipping the new binary.


New in this release:


- Added XyScript window-management command XSW, with cross-platform functionality as follows:

  - XSW max 

  - XSW rest             Restore the XyScript window

  - XSW tog 

  - XSW minall           Minimize all windows except XyScript (Windows only)

  - XSW restall          Restore all minimized windows (Windows only)

  - XSW togall           Toggle minall/restall (Windows only)

  - XSW mv right/left n  Move XyScript window right/left n pixels

  - XSW mv up/down n     Move XyScript window up/down n pixels

  - XSW sz +/-n          Increase/decrease XyScript window size by n percent

- New command `ADDAR` loads auto-replace files additively (over .ar file loaded with `LOADAR`)

  - Added `emoji.ar` auto-replace file, providing} (UTF-8 files only)


- HTML preview/print now works with files having the `.shtml` extension


- New square-bracket usage `RUNCODE [<code>]` avoids need to save `<code>` snippets to a variable before passing it to RUNCODE. Incidentally, the new usage allows running FOR and WHILE constructs from the CMline. E.g.: \

`RUNCODE [pr Press a key, Esc quits;while 1; rk k; if $SC==1 break; pr $(key($SC)); ew]`


- New XPL verb `RUNMENU` constructs a scrollable menu dialog in which Enter or double-click on any item runs the code associated with the item


- Enabled here-stringse

- Added Emacs-like compilation mode. Commands:

  - `COMPILE <command>`: streams output into a navigable *Compile* tab; error: file:line:col: lines become jump targets as they stream in.

  - `GJ` / Enter / double-click on a hit line opens the source at that location

  - `NERR` / `PERR` -> next/prev error from any buffer (works across COMPILE and GREP listings)

  - Bare COMPILE re-runs the last command (recompile).

  - Requires TRUST (it shells out, like X/BG)


- New routines in `xyscript.lib`:

        - ALARM: Set alarm with optional reminder (runs an XPL child process

        - EMOJI: List major Unicode emoji characters in a new tab

        - VIEW: View current document as PDF in external viewer


--

Carl Distefano

cld@xxxxxxxxxx