Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Murray_2 on August 14, 2006, 03:28:23 AM

Title: Scala execute & ARexx
Post by: Murray_2 on August 14, 2006, 03:28:23 AM
I'm trying to get the execute module in Scala MM300 to send Arexx scripts.  I want to automate frame grabbing with my IV24 card in an A2000.  ARexx starts on boot-up.  I also have an infrared commander controlling my DVD player.  That works from the execute module but nothing else.  Can anybody tell me what I'm doing wrong.  The ARexx script controlling the framegrab works when sent from a CLI prompt.
Title: Re: Scala execute & ARexx
Post by: motorollin on August 14, 2006, 08:35:55 AM
I don't know much about Scala or ARexx, but I have a few thoughts:

1. What command do you pass to Scala's execute module?
2. Does the exact same command work in a shell?
3. What happens when you run the command through Scala?
4. Do _any_ ARexx commands work from Scala?

--
moto
Title: Re: Scala execute & ARexx
Post by: Murray_2 on August 15, 2006, 12:45:51 PM
When sending to the Infrared controller I'm using with Scala I send:
'Address infrarexx dvd_frame_adv'
This works (advances the dvd one frame!)
but
'address rexx_iv24cp iv24cp_digitize' does nothing

Via a shell/CLI I can successfully send a command
RX 'address rexx_iv24cp iv24cp_digitize' or the name of a Arexx file name - for example
RX s:Digitize which would read
/* comment */
address 'infrarexx'
'dvd_frame_adv'

address 'rexx_iv24cp'
'iv24cp_digitize'

The only script/command I've been able to get Scala to send is for the infrared controller.  For the IV24 Board it seems to do nothing.  Sometimes the screen goes blank but nothing is saved to disk.  It seems as though Scala can't find something but infrarexx has a way of getting around the problem.  I haven't yet tried to get Scala to send to another Arexx compatible application.
Title: Re: Scala execute & ARexx
Post by: leirbag28 on August 15, 2006, 02:55:42 PM
@Murray_2


I use SCALA MM300 arexx scripts.

Here is what I would say..............Get OptyCDPlayer from Aminet..........install that and put a AudioCD in your drive..........and see if you can control the Audio CD via OptyCDPlayer's Arexx scripts that come with it.

If it works, then maybe your doing something wrong on the IV board side.

im saying this just so that you know your executing the Arexx script properly............so the OptyCD player is just to test.

keep in ind that you have to create buttons in SCALA that will execute PLAY, STOP, REW, FWD etc.... through the arexx..........just make a blank page with the words: PLAY, STOP, RWD, etc and make sure they highlight when you click them if you know how to do that.  that way you know you pressed it.  or even add sounds to the presses.




I also have the SCALA ECHO EE100 inrfared controller and it works.........as wel as the LANC.

Title: Re: Scala execute & ARexx
Post by: Murray_2 on August 20, 2006, 11:00:34 AM
Hi Leirbag28 and any others following this,

I have tried to download OPtyCDplayer but no joy. I keep getting an ftp error message.  Any chance of you spelling out how you link Arexx scripts to the buttons?  I actually wanted the scripts to work automatically from out of Scala, but it might give me a clue if I can see how you've sent them.  I'd still like to use Scala for the project if I can because it will allow me (theoretically) to pause between frame advance and grabbing the next picture.  If I don't do that I can grab really good pictures but with the "Pause" symbol from the dvd player still on the picture.

Regards,

Murray
Title: Re: Scala execute & ARexx
Post by: leirbag28 on August 20, 2006, 01:30:36 PM
@Murray_2


OK, I will have to load up SCALA and see how I did it.........its really easy.....OptyCDPlayer comes with SCALA Arexx scripts for all the CDplayer buttons.

Ill get back to you.

HERE IS THE LINK to Download it:

http://www.aminet.net/package.php?package=disk/cdrom/OptyCDPlay.lha