AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: October 10th, 2011, 11:00 pm 
hello AHK community!

I'm trying to use spacebar as a hotkey trigger, and the approach I'm taking doesn't seem to work. I'm essentially trying to have the spacebar pressed twice replace the spaces with a "." (like on the iphone).

I've tried two approaches:
code
::*space*space::.
/code

also
code
*space*space::
send .
/code

neither seems to work. any ideas on how to make this happen?

thanks!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2011, 1:10 am 
Offline

Joined: May 20th, 2009, 6:18 pm
Posts: 129
Try
Code:
:*:  ::.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2011, 1:33 am 
comvox,

thanks for your suggestion! it works when I haven't finished typing a word, as in if I start a new line and just hit space twice. However, if I finish typing a word and then immediately hit space twice, it doesn't do anything (unless I hit space three times).

perhaps this isn't really possible, since the hotkey would need to be programmed for pretty much every single letter of the alphabet, I'm guessing.

any other thoughts?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2011, 1:44 am 
Offline

Joined: May 20th, 2009, 6:18 pm
Posts: 129
Well, let's try an additional hotstring option:

Code:
:*?:  ::.


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: migz99, sjc1000 and 72 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