Results 1 to 4 of 4

Thread: converting one to another

  1. #1
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default converting one to another

    I had a script in AutoIt, but want to make it in Simba and see if it's more stable to do what It should instead of ditching click options.

    Now I have this script, but are unfamilier with all commands and to be completly honest I don't know even after the tutorials and vids I've seen.

    Code:
    MouseMove(815, 750, 10)
    MouseClickDrag("left", 815, 750, 815, 280, 50)
    MouseClickDrag("left", 815, 750, 815, 280, 50)
    
    MouseMove(960, 380, 10)
    Sleep (2000)
    MouseClick("left", 960, 380)
    
    Sleep (6000)
    MouseClick("left")
    
    MouseMove(690, 875, 10)
    Sleep (2000)
    MouseClick("left", 690, 875)
    
    MouseMove(990, 230, 15)
    Sleep (2000)
    MouseClick("left", 990, 230, 2)
    Sleep (2000)
    
    MouseMove(985, 365, 15)
    Sleep (2000)
    MouseClick("left", 985, 365, 2)
    Sleep (2000)
    
    MouseMove(690, 875, 15)
    Sleep (2000)
    MouseClick("left", 690, 875, 2)
    
    MouseMove(950, 875, 15)
    Sleep (3000)
    MouseClick("left", 950, 875)
    
    MouseMove(990, 310, 15)
    Sleep (3000)
    MouseClick("left", 990, 310)
    
    MouseMove(985, 565, 15)
    Sleep (3000)
    MouseClick("left", 985, 565, 2)
    
    MouseMove(690, 875, 15)
    Sleep (2000)
    MouseClick("left", 690, 875, 2)
    is there anyone that is able to assist me with this?
    or give me the right pointers to make this work.

  2. #2
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Just use Wait instead of Sleep
    and look inside of the include for
    MMouse
    ClickMouse2
    Hope this helped!

  3. #3
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what do you mean with the include :# I'm confused there?

  4. #4
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    http://docs.villavu.com/simba/script...dkeyboard.html

    You should be able to fill in the rest:
    Simba Code:
    begin
      MoveMouse(815, 750);
      HoldMouse(815, 750, mouse_Left);
      MoveMouse(815, 280);
      ReleaseMouse(815, 280, mouse_left);
      HoldMouse(815, 750, mouse_Left);
      MoveMouse(815, 280);
      ReleaseMouse(815, 280, mouse_left);

      MoveMouse(960, 380);
      Wait(2000);
      ClickMouse(960, 380, mouse_Left);

      Wait(6000);
      ClickMouse(960, 380, mouse_Left);

      MoveMouse(690, 875);
      Wait(2000);
      ClickMouse(690, 875, mouse_Left);

      MoveMouse(990, 230);
      Wait(2000);
      ClickMouse(990, 230, mouse_Left);
      Wait(2000);

      //etc.
    end.

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
  •