LIBRARY rexxgui, rxclip
guierr = "SYNTAX"
guiheading = 1
FORMAT = clipnewformat("WindowHandle")
IF clipavailable(format) THEN DO
clipget("SomeWindowHandle", format)
guisendmsg(somewindowhandle, "POST" 40000, 1, -1)
guisendmsg(somewindowhandle, 40001)
SAY "The other script returned the value" guisignal
END
ELSE
SAY "The other script didn't put its window handle on the clipboard"
|