AutoHotkey Community

It is currently May 26th, 2012, 7:45 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: May 12th, 2009, 3:12 pm 
As the title says, lazy as I am, I intend to set up a long list of hotstring for replacing. Obviously, it'll be hard to recall all of them. So I'm in search of a hot key which causes a pop-up list of all my hotstrings as a reminder.

Is it possible? I don't know if AHK can put tooltip-like text box next to where you type (cursor position), but at least the pop-up reminder should not grab focus from input area.

Thanks in advance for your help.

kmc


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2009, 3:33 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
A ToolTip might be kind of wieldy depending on how many hotstrings you have but here's an idea:

Code:
HSList =
(
hlo = hello
gbye = goodbye
stpit = stop it
bqut = be quiet
dntwry = don't worry
bhpy = be happy
)

!q::
MouseGetPos, Px, Py
ToolTip, %HSList%, % Px - 125, % Py - 125
SetTimer, RemoveToolTip, 3000
return

RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2009, 9:27 am 
Thanks for the idea. It works (except that I move the HSList declaration after ^q:: line and then it's OK).


Gonna try to make it to some function which on one hand, create hotstrings, on the other hand, put them into the reminder tooltip.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2009, 5:48 pm 
Offline

Joined: April 17th, 2007, 1:37 pm
Posts: 761
Location: Florida
How about a hotstring helper menu?
http://www.autohotkey.com/forum/viewtopic.php?t=25783
This might fail your requirement about focus though...

_________________
[Join IRC!]
Image


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Azevedo, Bing [Bot], Google [Bot], over21, perlsmith and 68 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