AutoIt question menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    zzack's Avatar Member
    Reputation
    2
    Join Date
    Aug 2009
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AutoIt question

    I'm new to autoit and I don't really want to get really good at it. I just had an idea and wanted to make it real.

    Let's say I want to farm Li'l Timmy to get his damn white cat. So I thought of downloading autoit and making it press a macro which checked for a target, then press the interact with target macro and then the buy macro. But there are some problems.

    I want it to check if I've targeted Timmy before pressing the interact button.
    I want it to buy and then wait him to come again later instead of keeping talking to him.

    This is my current code, mostly a copypaste:

    Code:
    HotKeySet("{F5}", "TogglePause")
    HotKeySet("{ESC}", "Terminate")
    
    Global $Paused, $Window ='World of Warcraft'
    TogglePause()
    
    While 1
    If WinExists($Window) Then
    ControlSend($Window, "", "", "0", 1)
    Sleep(1000)
    ControlSend($Window, "", "", "u", 1)
    Sleep(1000)
    ControlSend($Window, "", "", "0", 1)
    Sleep(1000)
    Else
    MsgBox(0, "WoW Client not found", "Shitshit" &@CRLF& "Epic fail", "", "")
    Exit
    EndIf
    WEnd
    
    Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
    sleep(100)
    ToolTip('Paused F5 to resume',0,0)
    WEnd
    ToolTip("")
    EndFunc
    
    Func Terminate()
    Exit 0
    EndFunc
    So my macro is "0" and interact with target button is "U".

    Any ideas to make it work better?

    AutoIt question

Similar Threads

  1. Noob AutoIt Question
    By D3Scavenger in forum Diablo 3 Bots and Programs
    Replies: 1
    Last Post: 04-17-2013, 10:19 PM
  2. AutoIt Question - Return / Return False / Return True
    By krims0nknite in forum Diablo 3 Bots Questions & Requests
    Replies: 1
    Last Post: 09-30-2012, 06:10 PM
  3. d3 multiple clients and autoit questions
    By dEstr0y3r in forum Diablo 3 Bots Questions & Requests
    Replies: 0
    Last Post: 07-04-2012, 05:38 AM
  4. ACTool OR AutoIT -Question-
    By DJRehab in forum World of Warcraft General
    Replies: 1
    Last Post: 09-30-2007, 12:56 PM
  5. autoIT question
    By Vel0city in forum World of Warcraft General
    Replies: 3
    Last Post: 06-18-2006, 02:54 PM
All times are GMT -5. The time now is 03:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search