Jump to content

Basic source code question!


Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...