revdan at danshafer.com
Fri Aug 27 17:33:21 EDT 2004
There could be a lot of reasons the dial command isn't supported in
Revolution. I have not tried to use the alternative approaches, but
what looks potentially promising for what you want to do is the write
to file command with modem as the file identifier. This is documented
and may do what you want.
On Aug 25, 2004, at 1:54 PM, doupsy at wanadoo.fr wrote:
> With Hypercard, it was very very simple to dial a phone number ( dial
> "05 02 00 00 00 for ex" with modem ).
> Only you click with one hand on a button to dial and with other hand
> you take your téléphone to your ear.
> Why it is impossible to dial with Revolution ?
> (I am under OS X)
> I try :
> close driver "/dev/cu.modem"
> open driver "/dev/cu.modem"
> write "ATDT"&PhoneNumber&CR to driver "/dev/cu.modem"
> read from driver "/dev/cu.modem" until eof
> (write "ATH"&cr to driver "/dev/cu.modem"
> read from driver "/dev/cu.modem" until eof)
> With Revolution you must think when you must click on the button to
> dial, when you must lift the receiver, when you must hang up, etc....
> And most often, the application crash.
> Could you help me, or not ?
> I am not an informatician.
> use-revolution mailing list
> use-revolution at lists.runrev.com
Dan Shafer, Revolutionary
Author of "Revolution: Software at the Speed of Thought"
http://www.revolutionpros.com for more info
Available at Runtime Revolution Store (http://www.runrev.com/RevPress)
More information about the Use-livecode