Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/19/2012 in all areas

  1. Variables While... MouseGetPos ; Do other stuff here.. Comments MouseMove Sleep ...WEnd
    1 point
  2. Hello nusaki, There is simple step around using PixelGetColor(). However, it will lose the ability to use shade-variations for searching. If you need the shade-varietions. then try defining 4 seperate PixelSearch() controls searching 0,0,100,9 and 0,10,9,20 and 21,10,100,20 and 0,21,100,100. However there is another more simple way if you need to find a specific pixel color using loops: For $row = 0 To 100 For $col = 0 To 100 If $row >= 10 And $row <= 20 And $col >= 10 And $col <= 20 Then ContinueLoop $search = PixelGetColor( $row, $col ) If $search = $color_to_find Then ;do something here EndIf Next Next
    1 point
  3. Dgameman1, Q: What do you think happens when your HotKey tries to Send the very key combination you have set as the HotKey? A: It fires the HotKey again! The solution is to unset the HotKey as you enter the function and reset it as you leave. HotKeySet("a", "a") HotKeySet("{ESC}", "On_Exit") While 1 Sleep(10) WEnd Func a() HotKeySet("a") Send("; ") Send("a") ; This "a" will be sent as the HotKey is inactive Send(" sent by the Hot Key" & @CRLF) HotKeySet("a", "a") EndFunc Func On_Exit() Exit EndFuncAll clear? M23
    1 point
  4. ProgAndy

    Latest Beta

    Null is a true NULL stored as a keyword just like Default, True and False. It differs from Nullpointer, Integer 0, Empty String. In a COM_VARIANT it should be represented as VT_NULL, maybe VT_EMPTY. If you convert Null to Integer, a zero should be the result
    1 point
  5. Yes. Now give me a lollipop or I'll cry.
    1 point
×
×
  • Create New...