ph34r Posted July 13, 2008 Share Posted July 13, 2008 Heres my code ;ToolTip features: Text=Yes, X Coordinate=Yes, Y Coordinate=Yes, Title=Yes, Info icon, Balloon Tip If Not IsDeclared("sToolTipAnswer") Then Local $sToolTipAnswer $sToolTipAnswer = ToolTip("Waiting for Warrock to start, Please let Warbot start Warrock.",850,850,"WarBot",1,1) #EndRegion --- CodeWizard generated code End --- Run(c:/program files/warrock/wrlauncher.exe) How do i make the Tooltip appear until warrock is started? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 13, 2008 Share Posted July 13, 2008 Try WinWaitActive() + a few seconds Sleep() to make your script exit later. (your tooltip disappear when you exit the script!) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
picaxe Posted July 13, 2008 Share Posted July 13, 2008 Maybe something like this, drop the line ToolTip("") if that is the last line of your script.ToolTip("Waiting for Warrock to start, Please let Warbot start Warrock.",850,850,"WarBot",1,1) Run("wrlauncher.exe", "c:/program files/warrock") WinWaitActive("window name of your program", "", 20) ToolTip("") Link to comment Share on other sites More sharing options...
ph34r Posted July 13, 2008 Author Share Posted July 13, 2008 worked picaxe, hey do you have xfire? if so add me: wuhtehguru Link to comment Share on other sites More sharing options...
picaxe Posted July 13, 2008 Share Posted July 13, 2008 Sorry no, whats xfire Link to comment Share on other sites More sharing options...
ph34r Posted July 13, 2008 Author Share Posted July 13, 2008 (edited) Sorry no, whats xfire It is a chat program like AIM Do you have msn messenger? if so can you please add me: mrconner123123@hotmail.com I just have some questions about autoit BTW Got it working ToolTip("Waiting for Warrock to start, Please let Warbot start Warrock.",850,850,"WarBot",1,1) sleep(5000) Run(@ProgramFilesDIR & '\Warrock\WrLauncher.exe') WinWaitActive("Warrock", "", 20) ToolTip("Warrock Has Successfully Loaded!") sleep(1500) ToolTip("") FIddled around with it. Thanks guys! Edited July 13, 2008 by ph34r Link to comment Share on other sites More sharing options...
picaxe Posted July 13, 2008 Share Posted July 13, 2008 Sorry, I'm not into that muttley Link to comment Share on other sites More sharing options...
ph34r Posted July 13, 2008 Author Share Posted July 13, 2008 muttley thanks anyway Link to comment Share on other sites More sharing options...
picaxe Posted July 13, 2008 Share Posted July 13, 2008 Good to see you got it working. If you haven't already, install the full version of Scite. The AutoIt help file examples are very good and you always post your AutoIt questions in this forum. 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