Sign in to follow this  
Followers 0
neogia

Sending Keys To A Window, But Not A Control

3 posts in this topic

Ok, at my work, I set up new PCs with Norton Antivirus all the time (not by my choice, but rather those with larger paychecks than I). And I've successfully created an unattended installation, but now I would like to automate the "Activation" after you reboot the computer after installation. This shouldn't be too difficult except for the fact that instead of using Windows Controls, they used "InternetExplorer_Server" and I've tried sending keys many different ways, but can't seem to get the window to respond.

ControlSend(title, text, "InternetExplorer_Server1", "!n") doesn't do anything

Send("!n") doesn't even do anything, even though actually pressing Alt+N on the keyboard advances to the next screen. The weird thing is: if the Activation window is active, and you "Send("!n")", it not only doesn't advance to the next screen, but also makes the window inactive (???) I don't know what's going on with that.

So I guess my last ditch effort is this: Is there a way to Send keys to a window, but not necessarily to a specific control? I've tried

ControlSend(title, text, "", "!n") to no avail.

Any help is appreciated.

P.S. One other idea, can DaveHolm's IE.au3 library affect the InternetExplorer_Server control? I'll give that a try in the meantime.


[u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia

Share this post


Link to post
Share on other sites



if it is internet based... use the IE.au3

and the IE.au3 Builder ( in my sig ) can help also

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0