#PPak ARexx help!
4 messages in this thread
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!
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!
-> 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?
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.