notta Posted January 30, 2007 Share Posted January 30, 2007 (edited) Do you have to put the entire window title name in the WinWaitActive command? The title of the Window is going to have a variable that is going to be different on every machine. Can you put the first couple words? WinWaitActive ("Intellisync - Palm OS - c Configuration") -------------------------------------------------^"c" above is going to change to the name the user has setup on their Palm Could I use WinWaitActive ("Intellisync - Palm OS - ") Also, how do you deal with popups? This application, after install and right at the same time the next window in the script is going to run, pops up and IE window checking for updates. This changes my active window. If you don't mind, just point me to the right command and I'll search for it. Thanks. notta Edited January 30, 2007 by notta Link to comment Share on other sites More sharing options...
/dev/null Posted January 30, 2007 Share Posted January 30, 2007 Do you have to put the entire window title name in the WinWaitActive command? The title of the Window is going to have a variable that is going to be different on every machine. Can you put the first couple words?see option WinTitleMatchMode. __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 30, 2007 Moderators Share Posted January 30, 2007 see option WinTitleMatchMode.Maybe even something like: Opt('WinTitleMatchMode', 4) WinWaitActive("regexp=Intellisync\s-\sPalm\sOS\s-\s.*Configuration") Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
notta Posted January 30, 2007 Author Share Posted January 30, 2007 I think that will work, but the IE pop is killing me. How can I close the IE window or set the Intellisync window to the active window?WinWaitActive("regexp=Intellisync\s-\sPalm\sOS\s-\s.*Configuration")I understand what most of that means, but what does .*Configuration mean? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 30, 2007 Moderators Share Posted January 30, 2007 I think that will work, but the IE pop is killing me. How can I close the IE window or set the Intellisync window to the active window?I understand what most of that means, but what does .*Configuration mean?Um... WinWaitActive ("Intellisync - Palm OS - c Configuration")I got that out of what you had posted .WinSetOnTop() is probably what you want to place intellisync on top. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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