Page 1 of 1

Sendrexx and Ringhio

Posted: Fri Sep 16, 2011 9:03 pm
by fingus
I got some problems using the Sendrexx-Command with Ringhio.

This is the Example-Rexx-Script of Ringio located in Sys:Documentation/Ringhio/rx_testringhio.rexx

Code: Select all

/* Small script for testing Ringhio */

;options results

address RINGHIO

;'REGISTERAPP APP=TESTRINGHIO ICON="SYS:Documentation/Ringhio/rx_testringhio.rexx" This is a test app entry'
say RESULT 

'RINGHIO APP=TESTRINGHIO CLOSEONDC SCREEN="FRONT" IMG=SYS:Prefs/Presets/Ringhio/test.png TITLE="Testing Ringhio" IMGVALIGN=1 If you see this little popup message, and a wink icon, it means Ringhio is working OK'
say RESULT /* Small script for testing Ringhio */
 
i cut it down to:

Code: Select all

'RINGHIO APP=TESTRINGHIO CLOSEONDC SCREEN="FRONT"  TITLE="Testing Ringhio" IIf you see this little popup message, and a wink icon, it means Ringhio is working'
say RESULT 
which result in:
SendRexxCommand("RINGHIO","RINGHIO APP=TESTRINGHIO;CLOSEONDC;SCREEN=FRONT;TITLE=Testing Ringhio;testtext")

but it does not work! I tried different variations to seperate the rexx-commands and still not work!

What's wrong with it?

I got then the idea to create a .rexx-file with my hollywood-tool and start it external but this way isn't very comfortable and sober.

Re: Sendrexx and Ringhio

Posted: Sat Sep 17, 2011 11:49 am
by airsoftsoftwair
Well, I don't know much about ARexx and it has been some years since I implemented the support in Hollywood but I know several projects which use ARexx quite heavily so I wouldn't presume a Hollywood bug. I've just read the documentation of SendRexxCommand() and I'd say that the following way should work:

Code: Select all

SendRexxCommand("RINGHIO", "RINGHIO APP=TESTRINGHIO CLOSEONDC SCREEN 'FRONT' TITLE 'Testing Ringhio'")
If it doesn't work, try this:

Code: Select all

SendRexxCommand("RINGHIO", "RINGHIO APP 'TESTRINGHIO' CLOSEONDC SCREEN 'FRONT' TITLE 'Testing Ringhio'")

Re: Sendrexx and Ringhio

Posted: Mon Sep 19, 2011 10:01 pm
by fingus
Second one is working, thanks for your hint!