Jump to content

Recommended Posts

Posted

@DesktopHeight And @DesktopWidth are what you need

i think you could do an expression like this one

@desktopheight / 2 = $heightmid

@desktopwidth /2 =$withmid

then just do the iniwrite

Posted (edited)

Would this work?

$a=@desktopheight / 2 = $heightmid

$b=@desktopwidth /2 =$widthmid

$heightmid=()

$widthmid=()

Edited by backstabbed

tolle indicium

Posted

Whats the command, if any to find the middle pixel?

well... if you need the middle pixel, just calculate it

$a = @DesktopWidth/2
$b= @DesktopHeight/2
MsgBox(0,"","The midle is: " & $a & "," & $b)

hope this will help you :P

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
×
×
  • Create New...