Corn~Julio Posted August 11, 2005 Posted August 11, 2005 I made a script for WinAce 2.5, I get to the language selection window and it will choose the language, but it will not continueI have tried AutoIt Script Writer and added it to my script; No luckI have tried ControlClick that i saw on the Script Collection thread; No luckI have tried ControlFocus and a few others still no luckHas anyone figured out how to get past this window???
ender341 Posted August 12, 2005 Posted August 12, 2005 have you tried just sending keyboard commandsSend("{Enter}")or other variations?
Corn~Julio Posted August 14, 2005 Author Posted August 14, 2005 (edited) YepI do appreciate the suggestionI tried it with mouse clicks, send, control(Click,Send,Focus,GetFocus), I saw some lines from the forum with spaces in the strings and tried it that way to on all the same options, no lucki tried substituing the ClassID w/ClassNameNN because the ID is static not standardall my strings work without a problem up and to that point, I'd only been creating scripts for a day when i placed the post, and as of this post I am still stuck, i have gone thru and have re-done it all again just in case I misstyped or overlooked something, still cant make it work, and the sad part is; its probably just a simple fix Edited August 14, 2005 by Corn~Julio
Nologic Posted August 14, 2005 Posted August 14, 2005 attach the script that you have written so far and I'll take a look at it
Corn~Julio Posted August 15, 2005 Author Posted August 15, 2005 Run("C:\Wace25.EXE")WinWaitActive("Information")Send("!n")WinWaitActive("Choose Destination Location")Send("C:\WinAce")Send("!n")WinWaitActive("Confirm")Send("{Enter}")WinWaitActive("Confirmation")Send("!y")WinWaitActive("techinfo - Notepad")Send("!fx")I tried this before the Opt & MouseMovWinWaitActive("Welcome to WinAce-Archiver","",5)WinWaitActive("Welcome to WinAce-Archiver","")WinWaitActive("Welcome to WinAce-Archiver")WinActivate("Welcome to WinAce-Archiver")Send("{Enter}")Send("{Tab}") then Send("{Enter}")Send("{Tab 1}") then Send("{Enter}")ControlClick("Welcome to WinAce-Archiver","OK","TCorelButton1","")ControlClick("Welcome to WinAce-Archiver","Ok","TCorelButton1","")ControlClick("Welcome to WinAce-Archiver","ok","TCorelButton1","")ControlClick("Welcome to WinAce-Archiver","","TCorelButton1","")ControlClick("Welcome to WinAce-Archiver","","TCorelButton1")I also tried several variations on the button text and I forget all the ControlFocus options I triedI am trying to get away from the Opt and the MouseMov section I listed below because it seems to hang thats why I initially didnt think it was working, It hangs alotOpt("WinWaitDelay",100)Opt("WinTitleMatchMode",4)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)WinWait("Welcome to WinAce-Archiver","")If Not WinActive("Welcome to WinAce-Archiver","") Then WinActivate("Welcome to WinAce-Archiver","")WinWaitActive("Welcome to WinAce-Archiver","")MouseMove(229,219)MouseDown("left")MouseUp("left")Sleep(1000)
master_mtz Posted August 15, 2005 Posted August 15, 2005 (edited) Edited August 15, 2005 by master_mtz
Corn~Julio Posted August 15, 2005 Author Posted August 15, 2005 YW master_mtz, but I'm not sure 4 what
Corn~Julio Posted August 15, 2005 Author Posted August 15, 2005 Ok got past the 1st hurdleThe language selection screen is picky it seems 2 require all fields on the ControlClick option, I tried it 5 times success each time, heres what works for meWinWaitActive("Welcome to WinAce-Archiver","")Send("{Down}")ControlClick("Welcome to WinAce-Archiver","Ok","TCorelButton1","Left")I was just missing "Left"My next hurdle is to get past the HTML style window once its installed
Corn~Julio Posted September 4, 2005 Author Posted September 4, 2005 I ended up using mouse move option 2 get past the HTML style windows once WinAce is installedI have also figured out why the mouse move option hung up so often, while tweaking the scripts depending on how u ran the script and the progie location u r trying to automate, the name of the active windows changes.I did not catch this @ first, then once u compile the script and run it from RunOnceEx it changes again, once I got this figured out and also made some changes on the WinWaitActive times many of the scripts run without a problem, I still have a few that r bein a painOh and nologic thx 4 the reply, if you ever figure out how to work around the mouse move option on the winace html window plz let me kno & I will let u kno if I do
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