mmartinez Posted December 7, 2005 Share Posted December 7, 2005 Using AutoIt v3. I've got a script that runs the Firefox 1.5 installer. It works fine during an interactive session on Windows XP. However, when not logged in and running the script from psexec or via scheduled task, the first dialogue box that opens up, freezes. AutoIt says the box is not "active." It does not respond to Send commands or other control functions. I used "Winactivate" which returns successfully. However followed up by "winactive" still says it's not active. Any way to fix this? Michael Link to comment Share on other sites More sharing options...
AutoChris Posted December 7, 2005 Share Posted December 7, 2005 Using AutoIt v3.I've got a script that runs the Firefox 1.5 installer. It works fine during an interactive session on Windows XP. However, when not logged in and running the script from psexec or via scheduled task, the first dialogue box that opens up, freezes. AutoIt says the box is not "active." It does not respond to Send commands or other control functions.I used "Winactivate" which returns successfully. However followed up by "winactive" still says it's not active.Any way to fix this?MichaelWhy do you need to activate the window? Can you just use ControlSend() rather than Send()? Link to comment Share on other sites More sharing options...
mmartinez Posted December 7, 2005 Author Share Posted December 7, 2005 Why do you need to activate the window? Can you just use ControlSend() rather than Send()?I tried that. It doesn't work either. The window is a normal box with "Next" and "Cancel". ControlSend works on the "Cancel" button. However on the "Next" button it closes the installer application completely, rather than "Next"-ing it. One thing I noticed about the window (using Window Help): in the "Control Under Mouse" section for the "Next" button, it says "(Control is hidden)". It does not say this for the "Cancel" button. I don't know if that affects this problem.-Michael Link to comment Share on other sites More sharing options...
mmartinez Posted December 10, 2005 Author Share Posted December 10, 2005 With some experimenting I discovered the problem is only with the "Next" button in the Firefox installer. The Cancel button works fine. I'd be curious to hear if someone has suggestion on how to work around this. I need to deploy Firefox 1.5 to 250 workstations running Windows XP. Link to comment Share on other sites More sharing options...
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