Sign in to follow this  
Followers 0
Alundra

Move cursor over specific colour

10 posts in this topic

How I make a script that moves my cursor to example "0xE3EBF2" when i press like "F2" and BOOM my cursor is over that colour.

I tried to look for "colour aimbot" but they all are for some games.

Share this post


Link to post
Share on other sites



Alundra,

I tried to look for "colour aimbot" but they all are for some games

So why do you want your cursor to go to a particular colour? :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I think you should make it with hotkeys. You press F2 then your script starts.

Search in helpfile about hotkeys and searchpixel.

Share this post


Link to post
Share on other sites

Alundra,

So why do you want your cursor to go to a particular colour? :)

M23

It's not important. But there are these functions: "MouseMove" Yes, it moves your cursor but in specific coordinates not over colours. "PixelGetColor" Gets you the colour but doesn't move your cursor anywhere, "PixelSearch" I tried the example but it didnt do anything. Why it is so hard to make a script as easy as that?

Share this post


Link to post
Share on other sites

Hi, Alundra. It isn't hard. However, forum members do not assist in the creation of bots, or game automation. Your lack of an explanation as to what you're trying to accomplish makes it difficult to assist you.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Alundra,

It's not important

If a Mod asks you a question - it is important. ;)

Last chance: Why do you want to move your cursor to a particular colour? :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

*Press hotkey* => cursor moves over a colour you chose.

Share this post


Link to post
Share on other sites

Alundra,

If a Mod asks you a question - it is important. ;)

Last chance: Why do you want to move your cursor to a particular colour? :)

M23

I want my cursor to go over black letters like windows start-button...

Share this post


Link to post
Share on other sites

Alundra,

Thank you for that clarification. :)

Use HotKeySet to get a function to run when you press a particular key (or key combination). Do not forget to use a While...WEnd loop to keep your script alive - and to add a Sleep in the loop to prevent your CPU overheating. ;)

In that function use PixelSearch to find the first occurence of the colour you are searching for - then use the returned coordinates in MouseMove to move the mouse to that position. ;)

There are good examples of all 3 functions in the Help file - see what you can produce yourself. We will be happy to help - but you need to show us that you are making some effort yourself first. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Alundra,

Thank you for that clarification. :)

Use HotKeySet to get a function to run when you press a particular key (or key combination). Do not forget to use a While...WEnd loop to keep your script alive - and to add a Sleep in the loop to prevent your CPU overheating. ;)

In that function use PixelSearch to find the first occurence of the colour you are searching for - then use the returned coordinates in MouseMove to move the mouse to that position. ;)

There are good examples of all 3 functions in the Help file - see what you can produce yourself. We will be happy to help - but you need to show us that you are making some effort yourself first. :)

M23

Thanks! I think i'll manage with information like that. (=

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0