Jorik Posted August 31, 2007 Share Posted August 31, 2007 (edited) Hi everyone, I have just started "working" with Autoit and I enjoy it very much. I'm working on a small script for a game and so far I'm succeeding quite well. I've been able to create a TrayTip wich shows itself when the game isn't active. Now, I would like to do something with that TrayTip when I click on the balloon. Is that possible? Could anyone give me a direction to search in? I forgot, this is my simple code Dim $T1 = 5; Na hoeveel seconden hij moet buffen. Dim $T2 = $T1 While 1 Sleep( 1000 ) $T1 = $T1 - 1 ToolTip( $T1, 405, 910, "De buffs starten:", 1 ) Buff() WEnd Func Buff() If $T1 = 0 And WinActive( "SRO_Client") Then Send( "{F2}" ) Sleep( 100 ) Send( "1" ) Sleep( 1500 ) Send( "2" ) Sleep( 4500 ) Send( "3" ) Sleep( 4500 ) Send( "4" ) Sleep( 3000 ) Send( "5" ) Send( "{F1}" ) $T1 = $T2 ElseIf $T1 = 0 And Not WinActive( "SRO_Client" ) Then TrayTip( "Silkroad is niet actief.", "Klik hier voor je opties.", 1, 1 ) $T1 = $T2 EndIf EndFunc Edited August 31, 2007 by Jorik Link to comment Share on other sites More sharing options...
MadBoy Posted August 31, 2007 Share Posted August 31, 2007 (edited) From what I've seen it's not possible to do that yet. If i remember correctly Valik said something about this being hard to implement. However I've seen the code that kinda simulates Baloon Tip by creating GUI look like Baloon Tip. You could also maybe try to create that on your own. GUI that behaves like baloon tips. Edited August 31, 2007 by MadBoy My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
Jorik Posted August 31, 2007 Author Share Posted August 31, 2007 (edited) Ahh, that's too bad. I really like those TrayTips. Well, I'll try to fix it with a MsgBox then, or something. Or perhaps I can see if I've clicked the TrayTool by checking the color or so. There's always another day. Thank you for your help! Edited August 31, 2007 by Jorik Link to comment Share on other sites More sharing options...
JustinReno Posted August 31, 2007 Share Posted August 31, 2007 look at testingtesting's fake virus, he figured out a way that if you click the traytip it will do something. i think... Link to comment Share on other sites More sharing options...
BAM5 Posted September 8, 2007 Share Posted September 8, 2007 look at testingtesting's fake virus, he figured out a way that if you click the traytip it will do something. i think...Nope thats if you click on the auto-it icon itself not the tray tip unfortunately. [center]JSON Encoding UDF[/center] 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