AutoHotkey Community

It is currently May 27th, 2012, 6:06 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: November 26th, 2005, 11:54 am 
Offline

Joined: June 1st, 2005, 12:36 pm
Posts: 174
Hi,

I'm using lots of text triggers to produce longer texts and URLs to help other in a few IRC channels. Sometimes those simply don't work. I have to go to a different IRC channel (another tab in the IRC client) and then back to the other channel to make it work again.

This doesn't happen that often but often enough to find it a bit annoying and wondering why it isn't working EVERY single time :)

Any ideas?

_________________
DonationCoder.com brings AHK to the newbies!
Fan of AutoHotkey? Consider an occasional donation to its developer, Chris Mallett.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 26th, 2005, 10:35 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
This is probably due to the fact that by default, hotstrings must not be preceded by an alphanumeric character. Thus, if you type a letter or digit then click the mouse to focus some other control (or child window), then type a hotstring, the hotstring will not fire.

Assuming that's the problem, one possible work-around is to give your hotstrings the ? option if they're unique enough to tolerate allowing the preceding character to be a letter or digit. For example, if :?:al::airline is a hotstring, typing "practical " would produce "practicairline ".


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 27th, 2005, 10:13 am 
Offline

Joined: June 1st, 2005, 12:36 pm
Posts: 174
Hmm, not sure if I understand that correctly, but I doubt that is the problem here. My hotstrings all look like .text and .bla and .xyz

I remember I sometimes was typing only .bla in a fresh line - nothing happened. I used backspace to delete it and typed .bla again - again, nothing happened. I then used Ctrl-TAB to move to another tab and Ctrl-Shift-TAB to return to the tab I was in before and when I now typed .bla again it worked as it should.

_________________
DonationCoder.com brings AHK to the newbies!
Fan of AutoHotkey? Consider an occasional donation to its developer, Chris Mallett.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 27th, 2005, 4:58 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Well, that's the only thing I can think of for now. If a way can be found to produce unexpected behavior on other PCs, I'll look into it further.


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: No registered users and 2 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