Jump to content

Recommended Posts

Posted

Hello, I have this script here that does not work, I do not understand why. But I'm sure you do. anyhelp would be great!

WinActivate ( "My Endles coloring Book", "")

$pos = ControlGetPos ( "My Endles coloring Book","+","TBookBar1" )

Opt("MouseCoordMode", 0)

MouseMove($pos[0]) - 200, ($pos [1] - 100)

$mouse_x = MouseGetPos(0)

$mouse_y = MouseGetPos(1)

WinMove("Book Helper", "", ($mouse_x) -1, ($Movex) +2,)

Posted

Hello, I have this script here that does not work, I do not understand why. But I'm sure you do. anyhelp would be great!

WinActivate ( "My Endles coloring Book", "")

$pos = ControlGetPos ( "My Endles coloring Book","+","TBookBar1" )

Opt("MouseCoordMode", 0)

MouseMove($pos[0]) - 200, ($pos [1] - 100)

$mouse_x = MouseGetPos(0)

$mouse_y = MouseGetPos(1)

WinMove("Book Helper", "", ($mouse_x) -1, ($Movex) +2,)

You have a ton of unbalanced ('s there. Here's your code with balanced ('s:

WinActivate ( "My Endles coloring Book", "")
$pos = ControlGetPos ( "My Endles coloring Book","+","TBookBar1" )
Opt("MouseCoordMode", 0)
MouseMove(($pos[0] - 200), ($pos [1] - 100))
$mouse_x = MouseGetPos(0)
$mouse_y = MouseGetPos(1)
WinMove("Book Helper", "", ($mouse_x -1), ($mouse_y + 2))

As i don't use your program, I can't test it :_) Secondly, i'm no expert in this matter, just noted all the unbalanced stuff.

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë ë§§ëñ§ë øƒ !ïƒë.

Posted

You have a ton of unbalanced ('s there. Here's your code with balanced ('s:

WinActivate ( "My Endles coloring Book", "")
$pos = ControlGetPos ( "My Endles coloring Book","+","TBookBar1" )
Opt("MouseCoordMode", 0)
MouseMove(($pos[0] - 200), ($pos [1] - 100))
$mouse_x = MouseGetPos(0)
$mouse_y = MouseGetPos(1)
WinMove("Book Helper", "", ($mouse_x -1), ($mouse_y + 2))

As i don't use your program, I can't test it :_) Secondly, i'm no expert in this matter, just noted all the unbalanced stuff.

Thanks,

That's better. But it still does not do what I want. Basicly I'm trying to move book helper into the position of the mouse at the end of the script

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
  • Recently Browsing   0 members

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