Nabu Posted November 7, 2007 Posted November 7, 2007 Hello all. I'm attempting to make a script for installing software on my computers at work. I've been trying to do it using Powershell, but I've been having problems with sending keystrokes to applications that don't have command line options. I can do it with sendkeys (in fact, I've done it before with sendkeys in vbscript), but the application has to be in focus - so someone has to be logged on. And one of my goals is to have the installer run in the background when no one is logged on. As part of my searches, I came across a recommendation for AutoIT. So, before I start digging too much, would I be able to do this through AutoIT, or am I just trying to fight against a windows thing? Thanks, Bill
Nahuel Posted November 7, 2007 Posted November 7, 2007 Look in the help file for ControlSend() and ControlClick()
Das Ami Posted November 7, 2007 Posted November 7, 2007 Look in the help file for ControlSend() and ControlClick() But he wants to do it without beeing logged in, I don't think that's possible.
ScriptFanatic Posted November 29, 2007 Posted November 29, 2007 But he wants to do it without beeing logged in, I don't think that's possible.HiCan you exlain why it's not possible to send click or keystrokes when no user is logged on?If I schedule a task, the task runs under the context of a certain user credentials.Thanks,
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now