MrShull Posted June 26, 2012 Posted June 26, 2012 WinWaitActive("Blank") ;The script waits for the window named "The Game" to become active. WinMove("blank", "", 0, 0) ;Once active it moves it to the top left of the screen. Sleep(2000) ;Pauses for 500ms which is 1/2 a second Send("{S}") Sleep(500) Send("{S}") Sleep(500) Send("{S}") This is what I have so far. I am trying to Press S then when a certain pixel pops up press S s s kinda fast then move down then up. In a loop. I am starting at the Basics atm I am trying to get my script to just press S then S then S. But only press's S once. Any help?
Moderators Melba23 Posted June 27, 2012 Moderators Posted June 27, 2012 MrShull,I told you here that discussion of game automation is not permitted here. You obviously did not the read the Forum Rules to which I linked. If you post another bot request you will be permanently removed from the community. 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