Welcome to SynapseDirect Sign in | Join | Help

SynapseDirect

Re: http://127.0.0.1:8001/cgi-bin/searchprovider.html

  •  11-03-2006, 2:03 PM

    Re: http://127.0.0.1:8001/cgi-bin/searchprovider.html

    Here's a previously published script that searches for a USA provider's map on yahoo.com.  Note that you should test this first manually on yahoo.com first as it may rely on some cookies sent by yahoo.

    // This chickenscript grabs the address details
    // and brings up the appropriate map in the USA. Change "United States" to "Canada" if you need this.

    try
    { street = find(/Number&Street: (.*)/).groups[1]; }
    catch(e) {
    street = ''; // this is two single quotes
    }
    try { city = find(/City&State: (.*)/).groups[1]; }
    catch(e) {
    city = '';
    }

    with(openTab('http://maps.yahoo.com/', true)) {
    enter("Address",street);
    enter("City",city);
    pick("United States");
    click("Get Map");
    }

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
    Filed under:
View Complete Thread
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer