Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Possible Internet Interaction?

Status
Not open for further replies.

sci72

Technical User
May 29, 2004
28
US
Learned alot here and trying to find if something else is even possible.

This relates to a Meridian PBX. I trying to develop the capability to prompt the user with a dialog box having them input the local area code and NXX of an install. The script would then access an internet page where it would enter those values in search field and then perform a search. The resulting web page would have a listing of all locally callable NXX's from that location that I would like rip information off and input it into a VT100 terminal connected to the phone system.

I didn't know if the goto web page, input strings, navigate to search result page, and save the data in strings to input into terminal was possible. Thanks in advance.
 
Version 4.7 and previous of Procomm included a browser (IE 4.x under the covers), however the browser scripting was very rudimentary. The browser was removed in the current version of Procomm (4.8), but it should still be possible to perform at least some of the tasks that you want. You can use the winactivate command to bring a certain window (such as a browser) to the foreground, then use sendkey 0x09 (the tab key) to navigate through the browser window. Sendkey CTRL 'C' could be used to paste to the browser window and sendkey CTRL 'V' could be used to paste into it.


aspect@aspectscripting.com
 
Thanks Knob, I've been playing around already and found the code to open up a certain internet page that actually uses the npa and nxx as part of the address so I just use the user inputed strings and insert them where they need to be in the http address. I then used sendvkey commands to select all and then copy to clipboard which I then save as a text file. I now have to figure the code to search the text file and save values for input into the PBX. Fortunately the text file is always in the same format so I can start searching on a specific line and saving line entries as strings which I then cut down with strfmt to the value I desire.

This forum and your web site knob have been very helpful. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top