AutoHotkey Community

It is currently May 27th, 2012, 12:04 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 6th, 2009, 5:05 pm 
Offline

Joined: July 5th, 2007, 6:30 pm
Posts: 65
Location: www.newfreethinker.com
Code:
;example text:
text =
(
If any capturing subpatterns are present inside NeedleRegEx, their matches are stored in an array whose base name is `n OutputVar. For example, if the variable's name is Match, the substring that matches the first subpattern would be `n  stored in Match1, the second would be
)
Gui, Add, Text, ,%text%
Gui, Show
Return


Attempting to create an overlay for specific words/phrases in whatever text I choose to display.

For instance, if I wanted to create a clickable version of "NeedleRegEx" via an overlay, how might I get the position (x,y) of "NeedleRegEx"?

I went through a few different commands, but could not think of anything that would work. Thanks for any help =)

[/quote]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 6th, 2009, 8:16 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Not sure if this is possible, check out HiEdit, Function to get word under the cursor

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 6th, 2009, 9:12 pm 
Offline

Joined: August 22nd, 2009, 11:23 pm
Posts: 294
Here is a solution using Google.

Google+highlighted+text

Just substute your lookup.

http://www.autohotkey.com/forum/topic14656.html

_________________
Image
"Man's quest for knowledge is an expanding series whose limit is infinity"


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Leef_me, Pulover, XstatyK, Yahoo [Bot] and 13 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