Hi Jaque,
Surely Gary must have a phone line and relatively old iMac with built-in
modem, or at least a modem, or he wouldn't be wanting to use what he
assumes to be a dial-up routine to an external device?
It's over 15 years since I did anything with at AT codes, but I can
remember the pain of having to look them up every time I went to a
service call where I didn't know the hardware.
AT is the required prefix to initiate any command.
The AT does not have to be repeated for each command and one string can
contain many commands.
S7 is the number of seconds to wait for carrier signal when the other
end answers
Ln is the Loudness of the modem speaker (usually 0-3)
DT is Dial using Tone
So in this case, the command is "ATS7=1L0DT" followed by the number and
a Carriage Return
meaning :
Wait 1 second for carrier when the other end answers. (ie it must start
quickly after picking up.)
Set speaker level to lowest.
Dial the number using Tones.
So, if you are reading this Gary:-
Please tell us what you are actually wanting to do and if you have a
built-in or USB modem.
ie. Why do you want to use this routine, when you don't really know what
it is?
Douglas
On 23/05/2010 05:48, J. Landman Gay wrote:
gary_aitcheson wrote:
put "*67" before theNumber
open file "com3:" for write
write "ATS7=1L0DT" & theNumber & cr to file "com3:"
wait 5 secs
close file "com3:"
I do not understand much of this, but it appears that it's usual
function is to dial a fax machine in order to transmit letters etc.
I'm not sure what it's dialing, but what the script does is this, line
by line:
prefix the phone number with "*67"
open a connection to the "com3" port on the PC, which is a serial port
where presumably a modem is attached
send the phone number digits and an end-of-line carriage return
through the serial port to the modem
wait a bit for the modem to get the data and start dialing
close the connection to the port
My problem is that I want to use this dialing program on my iMac
running OS X but unfortunately it does not function there. I imagine
the dialing code is similar, but figuring it out is beyond my
expertise. Does anyone have any suggestions at to what to do, where
to look, who to ask, etc ?
The equivalent on a Mac would be identical, except instead of "com3"
you'd want to use "modem" as the port specifier. Both the PC "com3"
port and the Mac "modem" port are serial ports. Rev can write to those
just fine, but the problem you will find on your iMac is that it won't
have any serial ports; Macs haven't supported those for some years,
nor do they ship any longer with internal modems. You can buy USB
modems, but unfortunately Rev can't read or write to USB ports.
So if you have an older Mac that has a real serial modem port, you can
dial with the above script by substituting "modem" for the port. But
on your iMac, no go.
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution