Welcome, Guest. Please login or register.

Author Topic: Scala execute & ARexx  (Read 1485 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Murray_2Topic starter

  • Newbie
  • *
  • Join Date: Aug 2006
  • Posts: 4
    • Show only replies by Murray_2
Scala execute & ARexx
« 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.
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Scala execute & ARexx
« Reply #1 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Murray_2Topic starter

  • Newbie
  • *
  • Join Date: Aug 2006
  • Posts: 4
    • Show only replies by Murray_2
Re: Scala execute & ARexx
« Reply #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.
 

Offline leirbag28

Re: Scala execute & ARexx
« Reply #3 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.

CD32 is actually the best Amiga ever made by Commodore!...
 

Offline Murray_2Topic starter

  • Newbie
  • *
  • Join Date: Aug 2006
  • Posts: 4
    • Show only replies by Murray_2
Re: Scala execute & ARexx
« Reply #4 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
 

Offline leirbag28

Re: Scala execute & ARexx
« Reply #5 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
CD32 is actually the best Amiga ever made by Commodore!...