Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Active windows

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Active windows
  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 >>
 Active windows - 6/14/2006 7:24:03 PM   
  pberanger

 

Posts: 1
Score: 0
Joined: 6/14/2006
Status: offline
Hi,
I'm tryng to create a script to update McaFee sign (i compare a reference value,ie dat-4780 with the value in the registery),anf so if they is a differnce, my script run the sdatxxx.exe. So it's ok, but when my script run the sdatxxxx.exe file,the first screen wait for a click on Next. So, i would like to know if there is a wsh command that can can take control on the McaFee windows  (the Mcafee windows title is SuperDat 1.8.0) , and simulate a Next click,to avoid users to have click themself.
Thanks for your help
Philippe
 
 
Post #: 1
 
 RE: Active windows - 6/14/2006 7:40:17 PM   
  ginolard


Posts: 1082
Score: 21
Joined: 8/10/2005
Status: offline
There's the AppActivate method of the Shell object that can activate a screen and then you can use Sendkeys to tab to the Next button.

However, I would highly recommend using AutoIt for this as it's much much better.

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to pberanger)
 
 
Post #: 2
 
 
 
  

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 >> Active windows 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