Alundra Posted January 27, 2012 Share Posted January 27, 2012 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. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 27, 2012 Moderators Share Posted January 27, 2012 Alundra,I tried to look for "colour aimbot" but they all are for some gamesSo 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
EmptySpace Posted January 27, 2012 Share Posted January 27, 2012 I think you should make it with hotkeys. You press F2 then your script starts. Search in helpfile about hotkeys and searchpixel. Link to comment Share on other sites More sharing options...
Alundra Posted January 27, 2012 Author Share Posted January 27, 2012 Alundra,So why do you want your cursor to go to a particular colour? M23It'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? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 27, 2012 Moderators Share Posted January 27, 2012 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! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 27, 2012 Moderators Share Posted January 27, 2012 Alundra,It's not importantIf 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Alundra Posted January 27, 2012 Author Share Posted January 27, 2012 *Press hotkey* => cursor moves over a colour you chose. Link to comment Share on other sites More sharing options...
Alundra Posted January 27, 2012 Author Share Posted January 27, 2012 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? M23I want my cursor to go over black letters like windows start-button... Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 27, 2012 Moderators Share Posted January 27, 2012 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Alundra Posted January 27, 2012 Author Share Posted January 27, 2012 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. M23Thanks! I think i'll manage with information like that. (= Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now