AutoIt help needed menu

User Tag List

Results 1 to 2 of 2
  1. #1
    kunimitzu's Avatar Member
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AutoIt help needed

    Hello, so this is my first post in the programming section.

    i have some scripting experience from other languages, so i though i would try and make a wow fishbot with autoit.
    so far so good, everything is working in the basic bot, but as i wanted to add som extra features i ran into some trubble.

    1. how to make second fram close only itself and not whole script when X is pressed?

    2. how can i get the hex color from the current mouse pos. on mousemovement ?
    (basicallyi want a label(need to use something else?) which allways show the hexcode of the color in the current mouse pos.)

    all help appriciated.

    Edit: Solved part 1.

    for part 2, i have almost got it working right, however i cant get it to update the color on mouse movement, so for now its on hot key.

    Edit2: i am using this code to generate a random title for my GUI.
    Code:
    GUICreate("AMF" & Random(0,9999),200,125)
    however, i would like to retrieve that title now, for use later in the script.
    i have tried several different approaches but none seems to work for me, so any ideas is much appreciated.

    -Kun
    Last edited by kunimitzu; 01-18-2014 at 11:33 PM.

    AutoIt help needed
  2. #2
    Xandy12's Avatar Member
    Reputation
    3
    Join Date
    Nov 2013
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Assign the return to a variable:
    $hgui= guicreate("sometitle", 200, 125)

    Then win get title from the handle:
    $guititle= WinGetTitle($hgui)

    Remember for the future that you can use that window handle in any (gui/window context) title parameter to identify the unique gui.

    Function WinGetTitle
    Last edited by Xandy12; 01-30-2014 at 07:14 PM.

Similar Threads

  1. [ACTools + AutoIT] Newbie Need Advice/Help?
    By MasqLB in forum Programming
    Replies: 0
    Last Post: 09-08-2012, 06:36 AM
  2. AutoIT noob, need some help please
    By Mrtypr02 in forum Diablo 3 Bots Questions & Requests
    Replies: 3
    Last Post: 06-08-2012, 12:05 PM
  3. Replies: 5
    Last Post: 02-18-2010, 07:55 PM
  4. [Autoit help]Modify hotkey to rightclick(fishbot)
    By darknavi in forum World of Warcraft General
    Replies: 4
    Last Post: 07-01-2006, 09:31 PM
  5. Backspace scam Help needed
    By TripleShank26 in forum World of Warcraft General
    Replies: 3
    Last Post: 06-12-2006, 05:18 PM
All times are GMT -5. The time now is 11:29 PM. 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