Hi David, I am attempting to answer questions just like this in the GW wiki article "so you want to write a script?"
you can read it at the wiki at: http://gwmicro.com/wiki hth, Chip -----Original Message----- From: David [mailto:eleph...@tele2.no] Sent: Friday, January 15, 2010 1:00 PM To: gw-scripting@gwmicro.com Subject: Re: Active window - how to Guess, I should have been a bit more specific. Sorry, my somehow short initial message. What I am trying to figure out, is how to make a script do the following: Dim SVar SVar = GET_ACTIVE_WINDOW Speak "You are now in " & SVar So, is there some kiind of Get_Active_Window function, that will return the Title of the actual active window, at any given time? Thanks for all help... .... ----- Original Message ----- From: David <mailto:eleph...@tele2.no> To: Scripting List WE <mailto:GW-Scripting@gwmicro.com> Sent: Friday, January 15, 2010 6:03 PM Subject: Active window - how to Is there a way for my VBScript, to check which window/application is active at any time? Thanks, ________________________________ I am using the Free version of SPAMfighter <http://www.spamfighter.com/len> . We are a community of 6 million users fighting spam. SPAMfighter has removed 312 of my spam emails to date. The Professional version does not have this message.