Results 1 to 2 of 2

Thread: Need Help On My Frirst Script

  1. #1
    Join Date
    Dec 2011
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need Help On My Frirst Script

    i need help on my script i just started to learn the scar lenguage 10 mins ago and i done this, but i get a lot of error can you help me please.

    program new;

    procedure OpenChrome;
    begin
    MoveMouse (409, 885);
    Wait(500);
    ClickMouse(409, 885, True);
    Wait(3000);
    end;

    procedure CloseChrome;
    begin
    MoveMouse(1579, 10);
    Wait(500);
    ClickMouse(1579, 10, True);
    wait(1000);
    end;

    begin
    OpenChrome;
    CloseChrome;
    end.

  2. #2
    Join Date
    Dec 2011
    Location
    Texas
    Posts
    348
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If your trying to open chrome i think you need to double click the icon not single click.

    MoveMouse(1579, 10);
    Wait(500);
    ClickMouse(1579, 10, True);


    TRUE means that it will single click.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •