| View previous topic :: View next topic |
| Author |
Message |
System Monitor
Joined: 09 Mar 2007 Posts: 383 Location: Unknown
|
Posted: Wed May 07, 2008 2:56 am Post subject: Insite Links go to topic title |
|
|
When you use [url][/url] , if it is an link inside autohotkey, the text for the link magically turns into the title of the topic. _________________
 |
|
| Back to top |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 459 Location: MN, USA
|
|
| Back to top |
|
 |
sinkfaze
Joined: 19 Mar 2008 Posts: 113
|
Posted: Mon May 12, 2008 7:20 am Post subject: |
|
|
That's interesting jaco, I use something similar as a hotkey for Firefox in my script (granted I greatly lack your knowledge of scripting):
| Code: | ^g::
clipboard =
WinGetActiveTitle, Page
StringTrimRight, Title, Page, 18 ; trims the " - Mozilla Firefox"
Send ^l^c ; sends the "Open Location" command and copies the current URL
ClipWait
URL = %clipboard%
return |
Then in the post box:
| Code: | ^u::
Send [url=%URL%][b]%Title%[/b][/url]
return |
I'm going to give yours a try though, if nothing else it will help me think about scripting in those terms. Thanks! _________________ Have trouble searching the site for information? Try Quick Search for Autohotkey. |
|
| Back to top |
|
 |
|