It is fair criticism, but there are examples in this post... start at the end and work backwards to find them. Also see the post just prior to yours... this is not a script you execute stand-alone, but you must include it in another and calls its functions.
Dale
<{POST_SNAPBACK}>
right you are, i should have known to read this whole thread from back to front.
ok, i put it in C:\Program Files\AutoIt3\Include (wish i knew to put it there from the start)
i added this into to my script:
#include <ANYGUI.au3>
_TargetaddButton("WTF?","10","10","120","120","","","Edit1")
and i still get the same syntax error:
C:\Program Files\AutoIt3\Include\ANYGUI.au3(332,70) : ERROR: GUICtrlCreateGraphic(): undefined function.
$a[0] = GUICtrlCreateGraphic ($PosX, $PosY, $SizeX, $SizeY, $style)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
what am i missing now?
no, i am not reading this whole thread from back to front due to lack of instructions.
not to be rude but i have spent enough time trying to figure out how to use this, that i have forgot what the original problem with my script was that brought me here in the first place.
It is really sad to see a family torn apart by something as simple as a pack of wolves.