CompuServe Thread

#PPak ARexx help!

4 messages in this thread
#86309From: Leslie T. BartiromoJul 14, 1994 5:26 PM
I'm trying to write an ARexx script for Phone Pak to dial a number, leave a recorded message and hangup. I must be doing something wrong because it is simply not working. I'm able to manually send the message from the PhonePak menu via Dialer/Prompt selection, but I'm unable to make an ARexx script to do the job. Could you, or ANYONE, please help?! Here is what I've been trying: ——————————————————————— /* Generate calls via PhonePak */ ADDRESS PHONEPAK.1 addlib('libs:rexxsupport.library',0,-30,0) <O><D>5551234<C><W 10><Play dh2:PhonePak/(Master)/testmsg.sys><H> ——————————————————————– Does anyone know I'm doing wrong? Thanks!
#86353From: Chris DarschJul 15, 1994 3:22 PM
To send the Operator string in your example to the PhonePak program, the ARexx command should be 'OPERATOR <O><D>5551234…' The single quotes should be included in your ARexx script. If you are using PhonePak 2.0 or greater, you might find it preferable to send commands to LineMan, since a much wider range of commands are available. good luck!
#86430From: Leslie T. BartiromoJul 17, 1994 9:12 PM
-> The single quotes should be included in your ARexx script. Bless you! The single quotes did the trick. Was that somewhere in the documentation or is that something ARexx programmers are just supposed to know?
#86479From: Chris DarschJul 18, 1994 7:13 PM
It's a basic part of ARexx. The language remained largely a mystery to me until I picked up a copy of Abacus' "Using ARexx on the Amiga"; and I've been programming professionally for over ten years! The docs that come with ARexx are okay reference material if you already know the language, but if you're trying to learn it, they aren't so great.