Jump to content
Sign in to follow this  
qwee

Basic source code question!

Recommended Posts

qwee

Hey!

Gonna re-code a bot so it works totally minimized. Just got one question, I've downloaded this source code: http://www.autoitscript.com/forum/index.php?showtopic=7112

If you press the link and scroll down you'll see this:

EDIT: To get D2 offsets use this code:

$winsize = WinGetPos("Diablo II")
$borderwidth = ($winsize[2] - 800) / 2
$titleheight = $winsize[3] - 600 - (2 * $borderwidth)

msgbox("", "", $borderwidth & " " & $titleheight)

And my question is, should I write that in the minimize.au3 or the bot.au3?

Thanks in advance!

Edited by qwee

Share this post


Link to post
Share on other sites
oMBRa

lol what a question, you are free to put it anywhere, however you could put it in your bot script and just include that UDF

Share this post


Link to post
Share on other sites
qwee

lol what a question, you are free to put it anywhere, however you could put it in your bot script and just include that UDF

Okay, ty :D

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×