[Question]How to determine if a frame is shown menu

User Tag List

Results 1 to 6 of 6
  1. #1
    leather's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Solved]How to determine if a frame is shown

    I want to monitor if a frame is shown in wow,like a mailbox is open or friend list frame is shown.
    my idea is:
    hook broadcastevent, then determine if the eventid equal MAIL_SHOW or FRIENDLIST_UPDATE or something like that.
    Is this feasible? any better way?
    thanks
    Last edited by leather; 11-30-2009 at 10:06 AM.

    [Question]How to determine if a frame is shown
  2. #2
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lua...

    <frame name>:IsShown()

  3. #3
    leather's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Apoc View Post
    Lua...

    <frame name>:IsShown()
    thanks,but where can i find the frame name?is there a name list?

  4. #4
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look in the mpq's and you'll see them. It's in your local-XXX.mpq file. Should have the frame name for everything in there.

  5. #5
    leather's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks to both of you

  6. #6
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mouse over the frame and write "/run print(GetMouseFocus():GetName())" ingame.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

Similar Threads

  1. [C++ Script] [Question] How to determine Creature HP mode LFR / HEROIC / FLEXI
    By keivulan in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 10-31-2014, 12:18 PM
  2. [Question]how I can get text from SimpleHTML frame?
    By VX2 in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 08-27-2010, 12:06 AM
  3. [Question] How to determine if a bg has started?
    By Deathvortex in forum WoW Memory Editing
    Replies: 32
    Last Post: 11-19-2009, 02:21 PM
  4. Question: How to edit spells/procs.
    By Messages in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-28-2007, 01:17 PM
  5. Question: How to change from priv. serv to blizzards?
    By Bridude in forum World of Warcraft General
    Replies: 5
    Last Post: 03-21-2007, 10:07 PM
All times are GMT -5. The time now is 07:29 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