asdaf Posted May 29, 2020 Posted May 29, 2020 Lets say there is an area divided by vertical and horizontal lines, that make equal squares. In this area there is other discrete area surrounded by a red line, by clicking outside the surrounded area, you can add one square to surface surrounded by a red line, but you can only click on squares that are touching red line. Do you have any idea on how to make autoclicker work so it knows to click those squares that are aside of the surrounded surface?
Nine Posted May 29, 2020 Posted May 29, 2020 Looks like game automation, is it ? If so I strongly suggest you read forum rules, as it is not allowed to discuss such matters. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
asdaf Posted May 29, 2020 Author Posted May 29, 2020 It's not, I'm wondering if there is a way to put coords of that figure and make bot change those cords by making a figure bigger
Moderators Melba23 Posted May 29, 2020 Moderators Posted May 29, 2020 asdaf, i can think of several ways to do what you want - but I am having difficulty imagining why you need to do it. Why do you need a bot to click in the square immediately outside the red line? What possible reason can there be to require a bot to do this? Over to you for a better explanation. M23 P.S. And just to be absolutely clear - this is the Mod team determining the legality of the thread, so everyone else please keep out. 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
asdaf Posted May 29, 2020 Author Posted May 29, 2020 To make a simple simulation showing viral replication, i was thinking by adding a few variables I can change the speed of replicating and also reverse it showing how the interferons work, I need that for my studies and thought it will be a great touch to add something like that to my presentation about viruses, also I like programming, so it will be developmental for me.
Moderators Melba23 Posted May 29, 2020 Moderators Posted May 29, 2020 asdaf, Good enough! I would suggest having a shadow array where each cell is flagged as "infected" or not. Then when clicking a random cell it is easy to look at all the neighbours and see if one of them is "infected" - if so then that cell becomes infected too. You may have to go for a block colour for each cell rather then an outline of the "infected" area, but that does not seem too big a penalty to me. Give it a go and see if it works for you - although someone may well come up with something better soon. 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
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