SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4

Thread: Browser

  1. #1
    Member
    Join Date
    Sep 2002
    Posts
    89
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Browser

    win_close("Browser_main_window");

    Browser_main_window is not able to identify in some test runs, due to that win_close is not working

    when i checked using gui spy, it's showing as Browser_main_window_1.....

    PLease suggest a valid solution for this


    Physical desription available is


    class: window,
    MSW_class: browser_main_window,
    NSTitle: "Browser Main Window"

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

  2. #2
    Junior Member
    Join Date
    Dec 2002
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser

    it might be you have more than one browser window open. search back a few days for "_set_window" & "GUI_set_window" to choose a specific window.

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

  3. #3
    Member
    Join Date
    Dec 2002
    Location
    Stockholm/Sweden
    Posts
    38
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser

    This happens if you have more than one browser windows opens. Close all browser windows before running your script, this function works fine:

    public function close_browser_wnd()
    {
    auto num = 0;
    auto x;
    while(win_exists("{class: window, MSW_class: browser_main_window, location: " num "}") == E_OK)
    {
    num++;
    }

    for (x=num-1; x>=0; x--)
    {
    win_close("{class: window, MSW_class: browser_main_window, location: " x "}");
    }
    }

    ------------------
    Mattias

  4. #4
    Member
    Join Date
    Sep 2002
    Posts
    89
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser

    Thanks

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

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 03:48 PM.

Copyright BetaSoft Inc.