SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to specify the window

    I meet a problem,that is about the set_window() function.There are two windows,their title are only partly different.such as that one title is "Gmail-GetMail(39)",and another is "Gmail-GetMail(45)".

    only specify the second time's parermeter as 45 is not enough,because the number is increasing,how can i use set_window() function to get the window?

    Thanks a lot in Advance!~~

  2. #2
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to specify the window

    research regular expressions
    Insanity: doing the same thing over and over again and expecting different results

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

    Re: How to specify the window

    Originally posted by Tony Davis:
    research regular expressions
    <font size="2" face="Verdana, Arial, Helvetica">but the number increacing is not regular~~

  4. #4
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to specify the window

    doesn't matter. You are giving up to easy.

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&quot;!Gmail-GetMail(.*)&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">should work.

    Although - why are you scripting against Gmail?
    Insanity: doing the same thing over and over again and expecting different results

  5. #5
    Moderator
    Join Date
    Mar 2002
    Location
    Tampa Bay
    Posts
    7,673
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to specify the window

    Of course, if BOTH windows are open at the same time, you have a problem.

  6. #6
    SQA Knight
    Join Date
    Jun 2002
    Location
    Cupertino, CA, USA
    Posts
    2,164
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to specify the window

    I'm confused. Is the 45 part of the window title, or the time parameter passed to the set_window statement ?

  7. #7
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to specify the window

    Looking at gmail with a coworker that uses it, the number of items realted to the window (mail box, conversation, etc) are contained in parens after the name of the item.

    e.g.

    Inbox(13) means 13 new messages in the Inbox.

    I am guessing that is what the poster is referring to.
    Insanity: doing the same thing over and over again and expecting different results

  8. #8
    Junior Member
    Join Date
    Jul 2006
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to specify the window

    Originally posted by Tony Davis:
    doesn't matter. You are giving up to easy.

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&quot;!Gmail-GetMail(.*)&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">should work.

    Although - why are you scripting against Gmail?
    <font size="2" face="Verdana, Arial, Helvetica">not scripting against the Gmail,but just take it for an example.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 02:17 AM.

Copyright BetaSoft Inc.