Sign in to follow this  
Followers 0
dazzyreil

Need Help With Simple Script >.<

4 posts in this topic

Hi,

how do i make a script that shows he mouseposition when I leftclick somewhere ??

some1 pz help :huh2:

thx :D


Share this post


Link to post
Share on other sites



Hi,

how do i make a script that shows he mouseposition when I leftclick somewhere ??

some1 pz help :)

thx :D

no function can be synchronize on a Leftclick. :huh2:

The only possibility is to use an hotkey after moving the mouse where you want to leftclick.

You can leftclick with mouseclick, you can get the mouse postion with MouseGetPos

I hope that help

Share this post


Link to post
Share on other sites

yeah thx :D ill get it to work :)

i thought there were no functions that could be synchronized on a Leftclick.

but you never know :lol:

ill make it work with a hotkey :huh2:


Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

hotkeyset("^a", "pos")

hotkeyset("{ESC}", "end")

$1 = 0

SplashTextOn ( "Help", "Press ctrl+A to get the position and esc to stop", 100, 100)

sleep(2000)

splashoff()

while $1 = 0

Wend

func pos()

$pos = MouseGetPos()

MsgBox(0, "Mouse x,y:", $pos[0]& "," & $pos[1])

endfunc

func end()

exit

endfunc

done :D works fine ^^

:edit

changed script a little :huh2:

Edited by dazzyreil

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  
Followers 0