Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Chickenfoot demo

Last post 11-23-2007, 1:46 AM by Jason. 10 replies.
Sort Posts: Previous Next
  •  10-30-2006, 3:09 AM 1085

    Chickenfoot demo

    http://synapsedirect.com/files/folders/user_guides/entry1084.aspx

    A short movie to show chickenfoot script working inside firefox 2.0 to automatically bring up the provider's address in Yahoo Maps.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
    Filed under:
  •  10-30-2006, 7:42 AM 1086 in reply to 1085

    Re: Chickenfoot demo

    That should help me a bit.  What's with the flashing in the video  ?

    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  10-30-2006, 1:00 PM 1087 in reply to 1086

    Re: Chickenfoot demo

    Not sure what you're talking about ... I guess I'll have to download it and see.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  10-30-2006, 1:23 PM 1088 in reply to 1087

    Re: Chickenfoot demo

    I don't see any flashing ... just viewed it now.

    It does look like the script itself is not correct !  But it seems to work.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  10-30-2006, 1:58 PM 1089 in reply to 1088

    Re: Chickenfoot demo

    If you want to learn more about chickenfoot, there's a google video http://video.google.com/videoplay?docid=-8967914974980683249 which takes about an hour to view.

    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
    Filed under:
  •  10-30-2006, 11:00 PM 1090 in reply to 1089

    Re: Chickenfoot demo

    This is a step by step instruction on getting the script shown in the demo movie to work.
     
    1.  Go to http://maps.yahoo.com/ actually works for you.  You may have to get a  yahoo account. Use the non-flash maps version first and confirm that you can display your own address
    2. Install chickenfoot from here and confirm it works
    3. Now start up Synapse EMR, and login to the demo server.  Go to the providers tab and find Dr Mitts
    4. Click on the Firefox icon next to the state and zip field
    5. When the http://127.0.0.1:8001/cgi-bin/searchprovider.html page appears, press F8 to show the chickenfoot editor
    6. Paste the code below into the editor ( you may have to press the new page icon ), and then press the green arrow to run the script
    7. If it works, the yahoo map should appear in a new tab
     
    / This chickenscript grabs the address details
    // and brings up the appropriate map

    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
  •  11-01-2006, 5:26 PM 1103 in reply to 1090

    Re: Chickenfoot demo

    I have the Yahoo Maps running for providers - very slick.

    If I click the firefox icon from Synapse (with no firefox windows open)  I have to hit refresh to get the script to trigger (while viewing the http://127.0.0.1:8001/cgi-bin/searchprovider.html page)

    If Firefox is open (regardless of what the browser is browsing), I don't have to hit refresh (it automatically goes to the map).

     


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  11-01-2006, 6:29 PM 1104 in reply to 1103

    Re: Chickenfoot demo

    Well, I'm glad that I am not the only one to get this working!!

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  11-01-2006, 8:20 PM 1111 in reply to 1103

    Re: Chickenfoot demo

    Jason:

    If I click the firefox icon from Synapse (with no firefox windows open)  I have to hit refresh to get the script to trigger (while viewing the http://127.0.0.1:8001/cgi-bin/searchprovider.html page)

    Rob Miller, chickenfoot author, has confirmed that this is a known bug and will be fixed in the next release.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  11-01-2006, 9:00 PM 1113 in reply to 1111

    Re: Chickenfoot demo

    Excellent.
    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
  •  11-23-2007, 1:46 AM 4797 in reply to 1090

    Re: Chickenfoot demo

    Graham:
    This is a step by step instruction on getting the script shown in the demo movie to work.
     
    1.  Go to http://maps.yahoo.com/ actually works for you.  You may have to get a  yahoo account. Use the non-flash maps version first and confirm that you can display your own address
    2. Install chickenfoot from here and confirm it works
    3. Now start up Synapse EMR, and login to the demo server.  Go to the providers tab and find Dr Mitts
    4. Click on the Firefox icon next to the state and zip field
    5. When the http://127.0.0.1:8001/cgi-bin/searchprovider.html page appears, press F8 to show the chickenfoot editor
    6. Paste the code below into the editor ( you may have to press the new page icon ), and then press the green arrow to run the script
    7. If it works, the yahoo map should appear in a new tab
     
    / This chickenscript grabs the address details
    // and brings up the appropriate map

    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");
    }

    Does this still work ?

     


    I'm working at half mast today, I think my ESR is higher than Grahams :( Dx: URTI vs. Flu.
    Developer
View as RSS news feed in XML
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