yangmo Posted November 2, 2006 Share Posted November 2, 2006 This is the pic...when installing illustrator ,this window poped up......I wrote the following script to kill it,but the way didn't work...Please help me!!! this is my script to kill the window:(but the window wasn't killed)WinWaitActive("Adobe Illustrator CS 安装程序","QuickTime 6")sleep(1000)send("{enter}") 地球人都知道走人要厚道!---Human being all know that it is important to be a generous man... Link to comment Share on other sites More sharing options...
Xenobiologist Posted November 2, 2006 Share Posted November 2, 2006 Hi, test it with a loop If Winactive(..) Then MsgBox(..) Play a little bit with opt("WinTitleMatchMode", 2 or 4) Good luck! 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...
yangmo Posted November 3, 2006 Author Share Posted November 3, 2006 Hi,test it with a loop If Winactive(..) Then MsgBox(..)Play a little bit with opt("WinTitleMatchMode", 2 or 4) Good luck!So long,Megawould you please give me a example?I have read the instruments,but i couldn't understand what it mean... 地球人都知道走人要厚道!---Human being all know that it is important to be a generous man... Link to comment Share on other sites More sharing options...
Xenobiologist Posted November 5, 2006 Share Posted November 5, 2006 would you please give me a example?I have read the instruments,but i couldn't understand what it mean...HI,use Autoit Window Info to get the title of your window. Then try to reacte on it like:opt("WinTitleMatchMode", 2) while 1If WinActive("The Title") Then MsgBox(0,"","Yes")Sleep(100)wendSo 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...
yangmo Posted November 8, 2006 Author Share Posted November 8, 2006 HI,use Autoit Window Info to get the title of your window. Then try to reacte on it like:opt("WinTitleMatchMode", 2) while 1If WinActive("The Title") Then MsgBox(0,"","Yes")Sleep(100)wendSo long,MegaHey,big brother...problem solved,great thanks to you!!!happy!!! 地球人都知道走人要厚道!---Human being all know that it is important to be a generous man... Link to comment Share on other sites More sharing options...
Xenobiologist Posted November 8, 2006 Share Posted November 8, 2006 Hey,big brother...problem solved,great thanks to you!!!happy!!!Hi,thanks. Glad that I could help you out.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...
PaulIA Posted November 10, 2006 Share Posted November 10, 2006 This little problem demonstrates why it would be desireable to have AutoIt thread support.Threads do not, a good programmer make. Auto3Lib: A library of over 1200 functions for AutoIt 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