Cyote101 Posted March 26, 2008 Share Posted March 26, 2008 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,) Link to comment Share on other sites More sharing options...
zackrspv Posted March 26, 2008 Share Posted March 26, 2008 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ë ë§§ëñ§ë øƒ !ïƒë. Link to comment Share on other sites More sharing options...
Achilles Posted March 26, 2008 Share Posted March 26, 2008 What exactly isn't working? You might be getting a Syntax error from your last line, the comma after the two isn't needed and is probably messing something up. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Cyote101 Posted March 26, 2008 Author Share Posted March 26, 2008 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now