andu Posted March 18, 2009 Share Posted March 18, 2009 some help... i wanna know, for example, if i wanna press yes i say send ("!y"), but for example what i say if i wanna say cancel, save etc Link to comment Share on other sites More sharing options...
Authenticity Posted March 18, 2009 Share Posted March 18, 2009 (edited) You wait for the new window that will pop-up using WinWaitActive and send "!n" for example to this new window.Test it with notepad:Run('notepad') WinWaitActive('Untitled') Send('123!{F4}') Sleep(1000) ; Just before closing the window. Can be omitted WinActivate('[REGEXPTITLE:^Notepad$]') WinWaitActive('[REGEXPTITLE:^Notepad$]') Send('!n')Edit: Oh, forgive me.You press Alt to see which character is underlined and use this instead.If it's under the 'e' in 'Cancel' you send "!e". Edited March 18, 2009 by Authenticity Link to comment Share on other sites More sharing options...
andu Posted March 19, 2009 Author Share Posted March 19, 2009 thanks a lot 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