igorm Posted September 26, 2007 Share Posted September 26, 2007 Hi. I need help with windows. Here is a situation. I have a few archives (microsoft KB files) to extract in same folder. But all that archives have three same files and rest of a files are different. Now when I start extraction it always ask me to overwrite those three files. Now I need help to automate this, for example that autoit always answer with 'Yes at all'. And there is one more problem. Every archive have other name of window. Any suggestion how to solve this? Thanks in advance for any help! Cheers Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
Uten Posted September 26, 2007 Share Posted September 26, 2007 No offense but have you done the the tutorials in the help file? Then read up on WinWaitActive and ControlSend. Also there is (at least it used to be) a terrific tool called AU3Record.exe or scriptwriter.exe in the Scite4autoit3 installation. It records what you do and makes a script template for you so you can modify a bit and let the result do the magic.. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Uten Posted September 26, 2007 Share Posted September 26, 2007 And as a second thought search for 7-zip in the forum. You will find several scripts using that or zip (use advanced search and hook of titles only) to figure out XP and later. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
igorm Posted September 27, 2007 Author Share Posted September 27, 2007 Hi Thanks for reply. I know about WinWaitActive and ControlSend, but the problem is that I don't know the title of the windows, because it depends on user input. I looked for 7-zip but it seems that it's to complicated for me right now, but I'll still try to figure it out. In meantime, if you have any other suggestion please post. CHeers Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
Uten Posted September 27, 2007 Share Posted September 27, 2007 (edited) Do you know part of the title? If so the Win* function family supports regexp in the expression fields.ex:WinWaitActive("regexp=note.*", "")to get any window with a title starting with note followed by nothing or anything.Do you have some code as a starting point?EDIT: hmm, that regexp stuff is from the top of my head so consult the helpfile. Edited September 27, 2007 by Uten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
igorm Posted September 27, 2007 Author Share Posted September 27, 2007 Hi Thanks again for help. I managed to solve my problem using command version of 7zip. But to to this I must include with my application 7zip command version file. Can you tell me is this legally? Cheers Office 2000/XP/2003/2007 Slipstreamer Link to comment Share on other sites More sharing options...
Uten Posted September 27, 2007 Share Posted September 27, 2007 The last time I checked it was (it is documented and verified in a thread here somewhere). Obviously they can have changed the license. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling 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