AutoHotkey Community

It is currently May 27th, 2012, 12:01 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: July 17th, 2007, 2:22 am 
Offline

Joined: January 18th, 2006, 5:51 pm
Posts: 13
Quote:
The original wish is a good one but I have trouble imagine uses for it beyond writing HTML tags by hand. Can anyone think of other common uses?


Well, there are multiple ways to do this, but I would welcome something that allows wildcard-matched text to be accessible from the subroutine.

Something like

"mail alan\n"

launches a scripted action where the mail subroutine performs an action on the argument "alan". Perhaps it looks up the email address in a file or something (basically can't use a simple hotstring replace because "alan"'s address isn't know at the point the script is written).

So the hotstring is something like:

:`n:mail *::
MsgBox, looking up email for %A_hotstring_match%

return

-Alan


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 19th, 2007, 12:44 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I can see that it would be useful; so it might happen someday. In the meantime, I think something like this can be done by having a hotstring invoke the Input command to capture the person's name.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 30 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