Jump to content

Revo

Members
  • Posts

    5
  • Joined

  • Last visited

Revo's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. The main thing is could I update the info bieng drawn? Thanks for all the help so far you guys have been great edit: is there a loop that I can create that would run for x amount of seconds? that should be enough to solve me problems [edit2] $x = 700 $y = 80 $a = 1 $b = 30000 $text = "Test the shittie" While $a < $b $a = $a + 1 TextOut($x,$y,$text) WEnd Func TextOut($x,$y,$text) $hdc = DllCall("user32.dll","int","GetDC","hwnd",0) $hdc = $hdc[0] DllCall("gdi32.dll","int","TextOut","int",$hdc,"int",$x,"int",$y,"str",$text,"int",StringLen($text)) DllCall("user32.dll","int","ReleaseDC","hwnd",0,"int",$hdc) EndFunc This is an ok solution for now. If anyone could tell me how to make the backround of the text transparant and change the color of the font I'd love you for ever! [/edit2]
  2. It works to an extent the main problem I see is updating text. It works in game although it flickers alot. Since its an infinite loop I dont see I way I could do this. Hmmm I can probally figure out a way to write it for 30secs then stop. Thanks for this
  3. Thanks for the code but it doesnt go ontop of the game screen also when I test it out using textpad it works over textpad but when I minimize textpad the script just stops. But thanks for the help! Mr CL... uh Larry Ill play around with it I called the function like 6 times in game and nothing.
  4. No sir dont know what it is I am new to autoit i picked it up pretty easy sine I know C++, Java and Batch script and VB. I dont know them 100% but I know enough about each one to keep it as a simple hobby and pass it in school. Any help would GREATLY be apreciated. Ill look at the function list to see if theres a function that can help me out
  5. Hi im sorry for bringing up a pretty old post but I need to do something really similar actually write status text over the game window so I have an idea of what my script is doing instead of using msgboxes and bieng forced out of full screen in a alt-tab fasion. this is what i gathered from the topic #include <GUIConstants.au3> $Msg_Gui = GUICreate("Test", 11, 11, -1, -1, $WS_POPUP, $WS_EX_TOPMOST) $pic= GUICtrlCreateLabel ("Text", 1, 0, 10, 10) GuiSetState () While 1 PixelDrawConstructor($PixelDrawhwnd) TextDraw($PixelDrawhwnd, 15, 15, "OMFG", 0xFFFFFF) Sleep ( 1 ) WEnd The PixelDrawConstructor is an unknown function for me im running on latest beta. If you guys could give me any help Id greatly apreciate it thanks!
×
×
  • Create New...