Jump to content
Sign in to follow this  
Cyote101

Help Debuging my Script

Recommended Posts

Cyote101

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,)

Share this post


Link to post
Share on other sites
zackrspv

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ë 맧ëñ§ë øƒ !ïƒë.

Share this post


Link to post
Share on other sites
Cyote101

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.