Jump to content

Recommended Posts

Posted

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.

  • Moderators
Posted

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Posted

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?

  • Moderators
Posted

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Moderators
Posted

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Posted

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...

  • Moderators
Posted

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Posted

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. (=

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
×
×
  • Create New...