SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Dec 2001
    Location
    pune,maharastra,India
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to get tag spcific to perticular GUI type.

    I have a contol say TabControl which I don't want to get recognized by windows operationg system. So I have specified mac tag for that control.
    DialogBox Dlg
    tag "dialog"
    CustomControl TabControl
    mac tag "#1"
    In my code, I want to get that tag. So I have used WindowTag(Dlg.TabControl, mac) function. But it does not give that tag. It just give tag upto parent level, i.e. /[DialogBox]dialog

    ------------------

  2. #2
    Senior Member
    Join Date
    Oct 1999
    Location
    Tyngsborough, MA
    Posts
    211
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get tag spcific to perticular GUI type.

    If you declared that window as having only a mac tag it will not get compiled and Silk will not know it exists at runtime if you are running your script on windows.

    You may want to call Dlg.GetChildren() and then find your tab control in the list it returns. GetChildren will return the dynamic instantiation of any window that you have not declared or the identifier for windows you have declared.

    ------------------

  3. #3
    Junior Member
    Join Date
    Dec 2001
    Location
    pune,maharastra,India
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get tag spcific to perticular GUI type.

    GetChildren returns list of windows which are the actual children at runtime, not the children declared in the declarations file. Is there any other way to get non-existing children (which is declared in ini file, but not actually present on GUI)?

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:55 AM.

Copyright BetaSoft Inc.