Rudimentary WoW Action Automator menu

User Tag List

Results 1 to 1 of 1
  1. #1
    hybrid4's Avatar Private
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rudimentary WoW Action Automator

    This is a basic au3 script which works for intended purposes.
    Of course it requires a little tinkering to be a perfect fit.
    Only tested 3.3.5a.

    Code:
    Code:
    #RequireAdmin
    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #include <array.au3>
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_Add_Constants=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    Opt("WinTitleMatchMode", 4)
    
    #Region ### START Koda GUI section ###
    $Form1 = GUICreate("Form1", 123, 90, 331, 250)
    $Button1 = GUICtrlCreateButton("Run", 24, 8, 75, 25)
    $Button2 = GUICtrlCreateButton("Join", 24, 32, 75, 25)
    $Button3 = GUICtrlCreateButton("Exit", 24, 56, 75, 25)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###
    
    Global $var = WinList("World of Warcraft", "")
    Global $i
    
    Func Runin()
    	For $i = 1 To $var[0][0]
    		;MsgBox(0, "HWNDs", "Title=" & $var[$i][0] & " HWND=" & $var[$i][1]) ;Extra crap
    		ControlSend($var[$i][1], "", "", "{1}")
    		ControlSend($var[$i][1], "", "", "{F7}")
    		Sleep(1000) ;same as before
    		ControlSend($var[$i][1], "", "", "{2}")
    	Next
    EndFunc
    
    Func Ex()
    	For $i = 1 To $var[0][0]
    		ControlSend($var[$i][1], "", "", "{4}")
    	Next
    EndFunc
    
    Func Join()
    	For $i = 1 To $var[0][0]
    		ControlSend($var[$i][1], "", "", "{3}")
    	Next
    EndFunc
    
    While 1
    	$nMsg = GUIGetMsg()
    	Switch $nMsg
    		Case $GUI_EVENT_CLOSE
    			Exit
    		case $Button1
    			Runin()
    		case $Button2
    			Join()
    		case $Button3
    			Ex()
    	EndSwitch
    WEnd
    Macros:
    Code:
    #Action bar 1
    /target Arena Battlemaster
    Code:
    #Action bar 2
    /script JoinBattlefield(1) #Skirmish Single
    #/script JoinBattlefield(1, true) #Skirmish + Group
    #/script JoinBattlefield(1, true, true)  #Rated + Group
    Code:
    #Action bar 3
    /script AcceptBattlefieldPort(1, 1)
    Code:
    #Action bar 4
    /script LeaveBattlefield()
    Tips:
    Code:
    Bind F7 to "Interact With Target"
    Code:
    Place both party leaders adjacent to an "Arena Battlemaster", and hide the zombies in a forest.
    Pro Tip:
    Code:
    Code was written with miniscule knowledge of au3. Google and brains are the only equipment you need for coding au3.
    Don't use during peak hours.
    Expect trial & error.
    Post improvements here.

    [Use responsibly]
    Last edited by hybrid4; 08-11-2012 at 06:05 PM.

    Rudimentary WoW Action Automator

Similar Threads

  1. [Trinity] [3.3.3a] Forge of WoW [Insta 80 PvP & PvE Action] Best Quality on the Net!
    By Karain in forum WoW Emulator Server Listings
    Replies: 0
    Last Post: 06-13-2010, 01:45 AM
  2. [WoW] CozyWoW, +100 people online! New server, Awesome PvP Action, Arena, BG's work
    By freakolivier in forum WoW Emulator Server Listings
    Replies: 0
    Last Post: 09-08-2009, 06:02 AM
  3. [WoW] CozyWoW, +100 people online! New server, Awesome PvP Action, Arena + BG's work
    By freakolivier in forum WoW Emulator Server Listings
    Replies: 0
    Last Post: 08-04-2009, 08:12 AM
  4. [Instant 80] Cozy WoW 3.1.3 "Awesome PvP Action, 90% BUGS FIXED"
    By freakolivier in forum WoW Emulator Server Listings
    Replies: 0
    Last Post: 07-24-2009, 07:52 AM
  5. [Program] Cyber Key (Automated WoW Key Presser)
    By Cypher in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 05-26-2006, 09:06 AM
All times are GMT -5. The time now is 11:22 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search