Achilles Posted July 24, 2006 Share Posted July 24, 2006 (edited) Does anyone know why this doesn't work? Also if I try something like "Winwaitactive("Mozilla - Gmail")" (to check Gmail...) it won't work. I'd appreciate knowing if I'm doing something wrong or if Autoit won't do it for some reason. Pianoman Edited July 24, 2006 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
nfwu Posted July 24, 2006 Share Posted July 24, 2006 (edited) Try WinActivate("Run") WinWaitActive("Run") #) Edited July 24, 2006 by nfwu TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 24, 2006 Share Posted July 24, 2006 HI, you may also have a look at Opt('WinTitleMatchMode', X) x = 1,2,3,4 and to get the Title may use Autoit Window Info. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
/dev/null Posted July 24, 2006 Share Posted July 24, 2006 see also Option WinTitleMatchMode. Maybe the title you use with WinwaitActive() does not match! Otherwise post your script, so we can see what's going wrong. Also, do a very simple test. Run the following script and then start notepad.exe. You should then see a message box. WinWaitActive("Untitled") MsgBox(4096,"Info","Notepad now running ...") If this works, re-check your code and the window titles. If this does not work, you've got a serious problem. Cheers Kurt __________________________________________________________(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...
Achilles Posted July 26, 2006 Author Share Posted July 26, 2006 Thanks for all those that helped. I used Kurt - /dev/null/'s to test it and it worked great. I know I was doing something like that before but I had a small typo somewhere... Michael My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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