Re: How to add alternate modem phone numbers programmatically
Hugh Brown <hughdbrown-/[email protected]>
| Newsgroups | gmane.comp.windows.off-topic |
|---|---|
| Message-ID | <[email protected]> |
I expect that configuring the modem to writing a value to the registry. I would dump the registry to disk before a change, make a modem number change, dump the registry to disk again, and diff the two files. Then I'd make a script that produced this registry effect. Alternatively, the change is written to a different persistent store, but the method is much the same. Hugh Brown 137 West 82nd Street, Apt. 5A New York, NY 10024-5545 212 595 2075 hughdbrown-/[email protected] http://www.IWebThereforeIAm.com/ --- On Mon, 5/10/10, Greg <[email protected]> wrote: From: Greg <[email protected]> Subject: [OT] How to add alternate modem phone numbers programmatically To: [email protected] Date: Monday, May 10, 2010, 10:35 AM I know, strange question. I am trying to automate a process where hardware tech folks, when configuring a new machine, have to go to Network Connections, select a modem and then add alternate phone numbers. They find the alternate numbers by going to a website and keying in an area code. They find the 3 closet and then manually enter them. They are doing this hundreds of times a day; so we would like to automate this if we can. I have confirmed I can pull the phone numbers down from the site (I am hoping for a web service, but worst case I can pull the html down and parse the numbers out). See the grids at the bottom of this page, where "VA" is the state: http://locator.1dial.com/locator.asp?search=state&state=VA My thought is to pull the phone numbers down as needed and\or pull them down periodically and keep a table in a db updated. The next step is to automate the process where the tech person has to manually add these numbers one by one. I would like the tech to "push" a button and all this happens for them; they simply need to confirm the 3 numbers chosen by the "system". My assumption is there is some API I can code against to add these phone #'s programmatically, versus requiring the tech to manually enter them. Google is not turning up anything with my searches; maybe I am searching on the wrong terminology. Suggestions? Can this be done? ------------------------------------ Yahoo! Groups Links