AlmarM Posted February 12, 2008 Share Posted February 12, 2008 I made _Wait() Its the same as Sleep() _Wait(2000) Func _Wait($nTime) Sleep($nTime) EndFunc MY FIRST SELFMADE COMMAND Im to happy for something small ? Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
TomZ Posted February 12, 2008 Share Posted February 12, 2008 [sarcasm]You're truly an autoit god.[/sarcasm] Well, congratulations on learning autoit. Link to comment Share on other sites More sharing options...
weaponx Posted February 12, 2008 Share Posted February 12, 2008 Is this a prank? Did we just get Punk'D? Where is Ashton Kutcher? Link to comment Share on other sites More sharing options...
Zedna Posted February 12, 2008 Share Posted February 12, 2008 (edited) Is your excelent function free of charge or must we pay? EDIT: Wait a moment, isn't 1 April today? No, it's too early. Edited February 12, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AlmarM Posted February 12, 2008 Author Share Posted February 12, 2008 Haha, I just realized I can do this at every command I just tought I made my own Command Thx for the funny comments Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
Toady Posted February 12, 2008 Share Posted February 12, 2008 Very nice! Keep up the good work. www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
James Posted February 12, 2008 Share Posted February 12, 2008 Haha brilliant! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
AlmarM Posted February 12, 2008 Author Share Posted February 12, 2008 Im trying to make another one called _MouseInfo() but it wont work!! Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
James Posted February 12, 2008 Share Posted February 12, 2008 What is it you want it to do? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
AlmarM Posted February 12, 2008 Author Share Posted February 12, 2008 _MouseInfo() need to collect XY pos & Hex Color So if u do: MsgBox(0, "Test", _MouseInfo()) It will pop-up the MsgBox and say: Title: Test Msg: X: 234 Y: 546 Hex Color: 0x533453 For example Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
LIMITER Posted February 12, 2008 Share Posted February 12, 2008 _MouseInfo() need to collect XY pos & Hex Color So if u do: MsgBox(0, "Test", _MouseInfo()) It will pop-up the MsgBox and say: Title: Test Msg: X: 234 Y: 546 Hex Color: 0x533453 For example I made the X and Y part of the command Func _MouseInfo() $a = MouseGetPos() $b = "X : " & $a[0] & @CRLF & "Y : " & $a[1] Return $b EndFunc Link to comment Share on other sites More sharing options...
weaponx Posted February 12, 2008 Share Posted February 12, 2008 You mean MouseGetPos() + PixelGetColor()? Link to comment Share on other sites More sharing options...
AlmarM Posted February 12, 2008 Author Share Posted February 12, 2008 (edited) @LIMITER Thx EDIT: I had the same script, only I didnt had the Return @weaponx Yes Edited February 12, 2008 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
LIMITER Posted February 12, 2008 Share Posted February 12, 2008 @LIMITER Thx EDIT: I had the same script, only I didnt had the Return @weaponx Yes Here's with HEX color Func _MouseInfo() $a = MouseGetPos() $b1 = PixelGetColor($a[0],$a[1]) $b = '0x' & StringTrimLeft(Hex($b1),2) $c = "X : " & $a[0] & @CRLF & "Y : " & $a[1] & @CRLF & "Color : " & $b Return $c EndFunc Link to comment Share on other sites More sharing options...
AlmarM Posted February 12, 2008 Author Share Posted February 12, 2008 I made a release BEFORE u gave me the code http://www.autoitscript.com/forum/index.php?showtopic=64156 Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
jvanegmond Posted February 12, 2008 Share Posted February 12, 2008 Crash, burn, die. github.com/jvanegmond Link to comment Share on other sites More sharing options...
GaryFrost Posted February 12, 2008 Share Posted February 12, 2008 *Click* SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts