Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


verify window title

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,917
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> verify window title
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 verify window title - 10/17/2003 2:28:05 AM   
  andyburness

 

Posts: 1
Score: 0
Joined: 10/17/2003
From:
Status: offline
i'm making a webmail logon script in vbscript, but I need to verify whether it's logged in or not. I want to do this like the following:

'VERIFY LOGIN 
if xxx = "WebEdge Folder - Microsoft Internet Explorer" then
oshell.popup "Successfully logged in as " + signinname + " !",9999999,"ntlworld Login",0 + 64
END IF

if xxx = "Login Failed - Microsoft Internet Explorer" then
oshell.popup "Login failed!",9999999,"ntlworld Login",5 + 48
END IF


i don't know what xxx would be, i've tried appname and windowtitle. would it be something to do with wbscript.appactivate ??

if i can't do it by window title, how else could I verify that it's logged me in or not?

if you want the whole code so you can see what i've done to it, email me andy.burness@ntlworld.com and i'll send it to you. i'd put it on my website, but it contains my unencrypted email username and password, so no
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> verify window title Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts