User Activity

  • Posted a comment on discussion Help on Regina REXX Interpreter

    I've used Rexx/Tk in the past, but not tried under recent Windows. Another option is to use a web interface, and have the Rexx program run as a simple web server (I can provide sample code for Regina or ooRexx). Just have the program create pages as forms etc. as required rather than (or as well as) using files.

  • Posted a comment on discussion Help on Regina REXX Interpreter

    What I mean was in the open and readln use checkfile instead of outfile: rc=open('checkfile' ... Then: previous = readln('checkfile') Mike

  • Posted a comment on discussion Help on Regina REXX Interpreter

    We can see the open for write has worked (rc 1) and the write completed (12 characters including newline). Close also worked (rc = 1). Then the next open failed (rc = 0), so the readln is pretty much guaranteed to fail. It looks like a bug to me, because that file must exist, so I wonder if outfile isn't properly tidied up. Maybe try using a different name (perhaps 'checkfile') in the open and read functions may help.

  • Posted a comment on discussion Help on Regina REXX Interpreter

    The file will be opened for writing, but probably needs to be closed and reopened to read back. Mike

  • Posted a comment on discussion Help on Regina REXX Interpreter

    I can see a mismatch of quotes in the sendstring = line, the first single quote is not being matched with the last as that's in double quotes. The number of double quotes around the notify-send payload will then not match, so will need fixing. I'm not sure why the interpret statement is needed here, it's very powerful when needed, but also totally opaque, so a comment explaining what it's expected to look like when run is essential. Usually when writing the comment the way to avoid interpret jumps...

  • Posted a comment on discussion Help on Regina REXX Interpreter

    I would think a named pipe may work. Mike

  • Posted a comment on discussion Help on Regina REXX Interpreter

    I've not used this for a while. 40 is probably a Windows error code. I think that it may be the case (SetFocus) - Window is not case sensitive, but programming languages are. Also I think you may need to use GetFocus() to get the windows handle (HWND), rather than using the window name. There are some examples that might help in the source files (https://sourceforge.net/projects/rexx-gci/files/rexx-gci/Version%201.1/) Mike

  • Posted a comment on discussion Help on Regina REXX Interpreter

    Probably needs a call using the SetFocus API: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setfocus Also see: generic call interface http://rexx-gci.sourceforge.net/

View All

Personal Data

Username:
mikeprotts
Joined:
2005-09-08 11:52:10

Projects

This is a list of open source software projects that Mike Protts is associated with:

Personal Tools