AutoHotkey Community

It is currently May 27th, 2012, 11:27 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: August 5th, 2005, 8:12 am 
Offline

Joined: July 20th, 2005, 4:10 pm
Posts: 5
Location: Luxembourg
I've been using Rajat's IntelliSense script for a little while now. I noticed, that sometimes the tooltips didn't go away. So I tried to change the script to ensure this. But somehow the ultimate solution kept on eluding me.

So I wonder, if it wouldn't be nice to add a parameter to the tooltip command to specify the amount of time the tooltip is visible before it automatically disappears again. :?:

But let me also say, that I'm very impressed, with all the things you can do with AHK and the speed with which you people respond in this forum.

:D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 5th, 2005, 8:16 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
You may have a look at the manual. If you look up ToolTip, you'll find an example on how to remove the tooltip after a specific time.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 5th, 2005, 2:43 pm 
Offline

Joined: July 20th, 2005, 4:10 pm
Posts: 5
Location: Luxembourg
Thanks for the tip. Works like a charm.

Nevertheless I think it would be nice to have this feature packed into the ToolTip command itself, maybe as an optional parameter.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 24th, 2005, 9:24 pm 
Offline

Joined: October 23rd, 2005, 9:14 pm
Posts: 18
Location: Germany, Stuttgart
MG wrote:
Nevertheless I think it would be nice to have this feature packed into the ToolTip command itself, maybe as an optional parameter.


Good idea! :idea: :D

ToolTip, This will be displayed for 5 seconds.,,,,5000

is much shorter than:

ToolTip, This will be displayed for 5 seconds.
SetTimer, RemoveToolTip, 5000
return

RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return

_________________
regards km


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 25th, 2005, 1:58 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
In many cases, you could put the Sleep directly after the ToolTip without having to use SetTimer:

ToolTip Text
Sleep 5000
ToolTip ; Turn off the tip.

I realize there are times when you want the script to continue executing while the tip is displayed. But I wonder if the percentage of those times is high enough to justify a built-in feature. In any case, I'll put it on the to-do list.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 25th, 2005, 2:07 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
I often need this kind of timed ToolTip, and realized its limitations. Now I use TrayTip,,Text in the development phase, which disappears by itself after a while, and replace it at the very end with a GUI, where I have control over the font, the size, etc.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 25th, 2005, 5:11 pm 
Offline

Joined: October 23rd, 2005, 9:14 pm
Posts: 18
Location: Germany, Stuttgart
Chris wrote:
high enough to justify a built-in feature. In any case, I'll put it on the to-do list.


Thanks, but it's only a "nice to have" feature, not really very important. So move it at the bottom of your list...

So we could postpone the day when your list will be empty :)

_________________
regards km


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group