Saki Posted November 8, 2013 Posted November 8, 2013 (edited) I would like to run the following script to run in multiple windows simultaneously. How would I do it (is it even possible?) HotKeySet("{Pause}", "TogglePause") HotKeySet("{ESC}", "Terminate") MsgBox(0,"Cube Farm","Created by Kavon" & @CRLF & @CRLF & "Click OK to start") WinActivate("ExtaliaMS") WinWaitActive("ExtaliaMS") Opt("WinWaitDelay",100) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) while 1 = 1 Send("{HOME down}") Sleep(1000) Send("{HOME up}") Send("{LEFT down}") Sleep(5000) Send("{LEFT up}") Send("{RIGHT down}") Sleep(7000) Send("{RIGHT up}") Send("{LEFT down}") Sleep(4250) Send("{LEFT up}") Send("{HOME down}") Sleep(3000) Send("{HOME up}") Send("{UP down}") Sleep(1000) Send("{UP up}") Wend Edited November 8, 2013 by Saki
satanttin Posted November 8, 2013 Posted November 8, 2013 cube farm? where is this script for if i may ask? and u can run script in two or more windows at once just i mostly use oneventmode so sorry i can't help you with this.
Moderators Melba23 Posted November 8, 2013 Moderators Posted November 8, 2013 Saki,Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. 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: Reveal hidden contents 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