Sign in to follow this  
Followers 0
cueclub

Tooltip Help

4 posts in this topic

#1 ·  Posted (edited)

Hi, seems i cant go more then 24 hrs without posting lol

Here is what I have

local $srs, $x = 1
While x=1
ToolTip("Click on box ' a 1 ' ")
sleep(2000)
if _IsPressed("01") then 
$srs = MousegetPos() 
$x = 0 
EndIf

And it works great. The tooltip follows the mouse which is what I like. Now the problem.

After the box is selected the tooltip stays in the same spot until I exit the program.

Any Ideas?

I have tried adding sleep(2000) right after the tooltip command but it still stays there.

Any ideas?

Thanks

Cue

Edited by cueclub

Share this post


Link to post
Share on other sites



A Tooltip will appear until the script terminates or ToolTip("") is called.

:(


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Ah ok snow,I didnt understand it really, but that makes sense. I thought I had to end the script some way and then reload it in the same spot to get rid of it. :) But, All I did was add ToolTip("") right before the next function call and it took care of that pesky tool tip.

Thanks lol :(

Cue

Edited by cueclub

Share this post


Link to post
Share on other sites

You bet!


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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