How to Dial Using Rev ?
Thanks everyone for the useful feed back on this question ! I will free up some time to work on it and get back when I have a result (hopefully positive). Cheers : ) Gary ___ 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
Re: How to Dial Using Rev ?
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
Re: How to Dial Using Rev ?
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. It depends how the USB modem is recognised by the system. If you have one, check the driverNames. If the list includes something link cu.modem.usb, then you can use that as the driver name and open a port to that device as described above. Cheers, Sarah ___ 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
Re: How to Dial Using Rev ?
Sarah Reichelt wrote: It depends how the USB modem is recognised by the system. If you have one, check the driverNames. If the list includes something link cu.modem.usb, then you can use that as the driver name and open a port to that device as described above. I'm writing that down. Thanks. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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
How to Dial Using Rev ?
Hi - I am a long time OOP user, Rev fan and message board lurker. I have a totally off topic question. Many years ago I built a program that will dial a phone number through the modem port and then hang up. My handset is on a Y connection to the phone line so it stays open and I can speak to the dialed number. The program records all the time date info etc so it is very handy for keeping track of things. Originally I wrote it in HyperCard then SuperCard etc where a simple Dial command followed by the number was sufficient. Unfortunately Rev does not have this function. However back in 2005 ago there was a brief discussion about this online and I was very lucky to find this little piece of code that works perfectly for my PC. 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. 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 ? Cheers Gary ___ 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
Re: How to Dial Using Rev ?
I still use a bunch of hyperdialer gadgets that connect between a handset and the telephone. The HC dial command generates DTMF tones, so that in an address book, a one line script will dial the number. In fact, before I found those devices (20 years ago) it was possible to have the tones played over the speakers. If you held the handset up close, one could dial a number perfectly well. But I only replied to say that I thought all HC commands were supported in Rev to the extent that they at least did nothing. But there is no dial in the dictionary. Are there others? Craig Newman ___ 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
Re: How to Dial Using Rev ?
Hi Gary, Look at these pages from Ken Ray's website: http://www.sonsothunder.com/devres/revolution/revolution.htm#port http://www.sonsothunder.com/devres/revolution/tips/port001.htm Hello, Few years ago, I have used the dial function in Hypercard, e.g. : dial 0555 What is the corresponding function in Metacard? There is none in MetaCard. You could try to build something like that yourself. E.g.: on dial dNumber open file modem: for write write ATDT dNumber to file modem: close file modem: end dial dNumber Regards, Sjoerd Posted 2/28/2002 by Sjoerd Op 't Land to the MetaCard List (See the complete post/thread) Macintosh users that want to dial a Phone number from MetaCard using a Global Village Voice-Modem must add return after dNumber. on dial dNumber -- function by Sjoerd Op 't Land open file modem: for write write ATDT dNumber return to file modem: end dial dNumber As I don't want to close the modem immediately after dialing, I put the last handler in a button: on mouseUp close file modem: end mouseUp Modified 4/8/2002 by Alejandro Tejada to the MetaCard List -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-Dial-Using-Rev-tp2227252p2227314.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ 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
Re: How to Dial Using Rev ?
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. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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
Re: How to Dial Using Rev ?
dunb...@aol.com wrote: But I only replied to say that I thought all HC commands were supported in Rev to the extent that they at least did nothing. But there is no dial in the dictionary. Are there others? Maybe, but I can't think of any offhand. I've never done a direct comparison though. If you get bored, you could. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ 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