AceLoc Posted September 26, 2006 Share Posted September 26, 2006 $a = WinGetTitle("")MsgBox(3, "My second script!", "Hello #1") ;<<< Your script stops here - waiting on a human or another scriptWinActivate($a) ; This line of code will not act on the msgbox - 'cuz script is still haltedWinWaitActive($a, "&Yes") ; same as above linesend ("{tab}") ; same as above 2 linessuggest trying it you'll see.ic thnk:) [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
herewasplato Posted September 26, 2006 Share Posted September 26, 2006 ...Now, I tried the "ControlClick" option, as listed above, but it didn't work. Anyone know why?...Are you still attempting to have one script generate a msgbox and that same script "ControlClick" on that same msgbox? See this post: http://www.autoitscript.com/forum/index.ph...st&p=241806Such can be done by spawning a child script, but I don't think that you want to get into that just yet:http://www.autoitscript.com/forum/index.ph...st&p=156488hope this helps........ [size="1"][font="Arial"].[u].[/u][/font][/size] 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