Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu May 24, 2018 12:08 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Mouse movement and selecting
Thanked: 0 time(s)  Unread post Posted: Sat Oct 11, 2014 1:59 pm 
New User
New User



Joined: Sat Oct 11, 2014 1:46 pm
Posts: 1
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
Hello, first of all, thanks to everyone who will see and reply to this post. I am a physician and also a gamer, since my time is limited i have always used bots in mmorpgs, been using the bem for a while now; since i know nothing of programming (for obvious reasons) i have tried my best to make some decent bots. However, as far as i am concerned ive not been able to locate a mouse movement + clicking tutorial. Maybe i am just unlucky and didnt found it while searching on the forum topics ( if this is the case, please link it here if possible).

If there indeed is no tutorial available could someone just paste an skeleton script for something like if RGB appears anywhere on screen click it. I am really embarrassed to ask for help, but sadly this exceeds my current knowledge. Many thanks in advance.


Top
 Profile  
Reply with quote  
 Post subject: Re: Mouse movement and selecting
Thanked: 0 time(s)  Unread post Posted: Sat Oct 11, 2014 5:03 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 1775
Location: USA
Been thanked: 373 time(s)
Has thanked: 29 time(s)
Contribution Points: 16174
Code:
 begin
     Mouse.Click at color (RGB)("255", "255", "255", "10", "left")
 end
Use the Investigator tool in BEM to get the RGB values you want to click on (first 3 numbers), then the tolerance which is currently displayed in that code at 10 pixels (fourth number), and lastly the mouse button you want to click with (either left, right, or middle).

There are many other ways to do this same task; here is a link a list of BEM Instructions: viewforum.php?f=138

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
 Post subject: Re: Mouse movement and selecting
Thanked: 0 time(s)  Unread post Posted: Thu Jan 21, 2016 4:49 am 
New User
New User



Joined: Thu Jan 21, 2016 4:04 am
Posts: 12
Been thanked: 2 time(s)
Has thanked: 1 time(s)
Contribution Points: 31
If you're interested in moving the mouse and clicking whilst not in-game (i.e., doing other things and you want your game window in the background), try this kind of code:

Code:
               
Window.Send mouse click("[NameOfGame]", "yes", "0", "[x-coords]", "[y-coords]", "Left")


replacing the bracketed stuff with what you want.
This will move the mouse to that position (in the background) and click!
I'm sure you know how to get the coordinates, just investigate and print screen
Cheers

_________________
I'm doing this for Kimi ;)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group