BladeZ Posted November 27, 2005 Posted November 27, 2005 i was wondering if autoit has a feature that can be used like Printf to put text on another window. well that or something like it -BladeZ
BladeZ Posted November 27, 2005 Author Posted November 27, 2005 (edited) sorry no i dont think thats what im looking for. i have a game (diablo ii) and i need to print a bool status to the screen. EDIT: What im looking for is something like ToolTip but without the backround color and able to change the texts size / color / font -BladeZ Edited November 27, 2005 by BladeZ
greenmachine Posted November 27, 2005 Posted November 27, 2005 (edited) Obviously, this isn't exactly what you're looking for, but I know you can do it this way if you want:Since Diablo II is going to be your active window (or at least, it would be if I did it), you can always press enter, and type in ! and your text to get an overhead message. Example:$YourText = "This is a message."Send ("{ENTER}") ; open chat thingy...Send ("!" & $YourText)Send ("{ENTER}") ; close chat, sending text to overhead bubbleThis would send "This is a message." to the overhead bubble in DII. Of course, you could simplify those statements into one, but I split it up to show the steps.EDIT -->Also, this is a standard Diablo II font/size/color, so that's not it. But it is something.You could also use Splash Text if your Diablo II is in window mode. SplashTextOn ( "title", "text" [, w [, h [, x pos [, y pos [, opt [, "fontname" [, "fontsz" [, "fontwt"]]]]]]]] )That allows you all sorts of options, but it's not inside Diablo II. Edited November 27, 2005 by greenmachine
BladeZ Posted November 27, 2005 Author Posted November 27, 2005 Obviously, this isn't exactly what you're looking for, but I know you can do it this way if you want:Since Diablo II is going to be your active window (or at least, it would be if I did it), you can always press enter, and type in ! and your text to get an overhead message. Example:$YourText = "This is a message."Send ("{ENTER}") ; open chat thingy...Send ("!" & $YourText)Send ("{ENTER}") ; close chat, sending text to overhead bubbleThis would send "This is a message." to the overhead bubble in DII. Of course, you could simplify those statements into one, but I split it up to show the steps.EDIT -->Also, this is a standard Diablo II font/size/color, so that's not it. But it is something.ya i was going to be doing that but i need this message to stay on screen and i dont want other people in the game to see it.
themax90 Posted November 27, 2005 Posted November 27, 2005 You need d2hackit. Let me see if I possibly have the files anymore...Sorry it seems I have lost them. Tryhttp://www.mewgood.com/Or search for D2Hackit. There is not much AutoIt can do for you in that respect. Unless you want to make a splash but that does not leak through a game window.AutoIt Smith
BladeZ Posted November 27, 2005 Author Posted November 27, 2005 so theres no possible way to just put some text on the screen?
greenmachine Posted November 27, 2005 Posted November 27, 2005 What's the purpose of this? You need text on screen that others shouldn't be able to see, but are other people going to be in the game? Or is this for a bot, where you should be the only one there?
BladeZ Posted November 27, 2005 Author Posted November 27, 2005 its a program im planning on releasing called HealthHelper it checks your current health and mana and then if it sees there below 50% it drinks a pot and i need to tell them that its running and print created by blablabla
themax90 Posted November 27, 2005 Posted November 27, 2005 This cannot be created in AUTOIT. It can however be created using d2hackit and Dlls. Try making a Dll with a call structure of D2WinWrite(Color, Text, Win) and have AutoIt call it using DllCall.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now