Haseeb1 Posted June 3, 2008 Share Posted June 3, 2008 this is a code If WinExists("scandal") Then WinClose("scandal") MsgBox($2, $M1, $MB) ToolTip($TT2, 400, 300, $T5, 2, 2) sleep($1) ToolTip($T6, 400, 300, $T7, 2, 2) sleep($3) ToolTip("", 0, 0, "", 0) Sleep(0) EndIfoÝ÷ Ù©Ýq©eׯz¼g°éçyç^vX¤zØb±«¢+Ø%]¥¹á¥ÍÑÌ ÅÕ½Ðí͹°ÅÕ½Ðì¤Q¡¸(]¥¹ ±½Í ÅÕ½Ðí͹°ÅÕ½Ðì¤(5åչѥ½¹9µ!É thanks for the help in advance. waiting for reply.... Link to comment Share on other sites More sharing options...
d4rk Posted June 3, 2008 Share Posted June 3, 2008 While 1 If WinExists("scandal") Then WinClose("scandal") MsgBox($2, $M1, $MB) ToolTip($TT2, 400, 300, $T5, 2, 2) sleep($1) ToolTip($T6, 400, 300, $T7, 2, 2) sleep($3) ToolTip("", 0, 0, "", 0) Sleep(0) EndIf Wend [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
Andreik Posted June 3, 2008 Share Posted June 3, 2008 Func MyFunc() MsgBox($2, $M1, $MB) ToolTip($TT2, 400, 300, $T5, 2, 2) sleep($1) ToolTip($T6, 400, 300, $T7, 2, 2) sleep($3) ToolTip("", 0, 0, "", 0) Sleep(0) EndFunc Call the function like in this example: If WinExists("scandal") Then WinClose("scandal") MyFunc() The variables used in function should be declared Global. Hope that helps! When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 3, 2008 Developers Share Posted June 3, 2008 (edited) Bhutta, When will it dawn to you that you are not wanted in these forums anymore? Stop sending PM's to forum members and Jon asking for support of moaning about being banned. You have been given enough opportunities here and it was decided to Ban your ass permanent so butt off. Hope I am being clear and getting through your thick scull. Jos Edited June 3, 2008 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts