Jump to content

Winwaitactive question


 Share

Recommended Posts

This is bugging the heck outta me. I'll show the code and then explain after.

_RunDOS('"C:\GDRSetupTemp\GDR EventLog Client.reg"')
        WinWaitActive("Registry Editor", "Are you sure you want to add the information in C:\GDRSET~1\GDREVE~1.REG to the registry?")
        ControlClick("Registry Editor", "Are you sure you want to add the information in C:\GDRSET~1\GDREVE~1.REG to the registry?", 6)
        _RunDOS('"C:\GDRSetupTemp\GDR EventLog Server.reg"')

I execute the rundos command and then a window pops up asking me if I'm sure that I want to registry the file. I have it waiting until the window pops up and then having it press the yes button. But it is not seeing the window that is poping up. I have tryed most of the 'Win' commands to try it, but to no avail. I must be missing something so obvious that I can't figure it out. Thanks in advance

Link to comment
Share on other sites

  • Developers

This is bugging the heck outta me. I'll show the code and then explain after.

_rundos is using runwait(), are you sure the script continues ?

This can be checked with Opt("TrayIconDebug", 1)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...