Search found 10 matches
- 13 Apr 2021, 14:40
- Forum: Ask for Help (v1)
- Topic: Embed weblink within a hotstring script
- Replies: 1
- Views: 496
Embed weblink within a hotstring script
Hello, How do I embed the URL within the hotstrings script? I'd like the text output to have a clickable text and does not necessarily to display the full URL. For example, ::helloworld:: ( See AutoHotkey website here ) Note: "here" is clickable to visit the website www.autohotkey.com The output sho...
- 08 Oct 2019, 10:42
- Forum: Ask for Help (v1)
- Topic: Hotstrings suddenly not working for special characters
- Replies: 3
- Views: 1798
Re: Hotstrings suddenly not working for special characters
Thanks that works. Thanks @gregster! That worked like a charm. For anybody else on the same boat: On Notepad++, I converted my AHK file to UTF-8-BOM. No need to save, but had to reload the script. This might have happened because I installed AHK into a brand new PC. Its encoding defaults might be di...
- 09 Aug 2019, 15:31
- Forum: Ask for Help (v1)
- Topic: Autohotkey for Mac
- Replies: 28
- Views: 164553
Re: Autohotkey for Mac
Sounds complicate. AHK is Windows centric so will leave it at that.
- 08 Aug 2019, 21:15
- Forum: Ask for Help (v1)
- Topic: Relocating web browser windows
- Replies: 1
- Views: 1135
Relocating web browser windows
Hello, This is a consultation question to see if AHK is able to do the tasks required. I'm using multiple monitor setup, three in this case. With script binded to a hotkey on keyboard, is AHK able to locate and analyze all current web browser windows (e.g. Chrome) and send each window to its destina...
- 07 Apr 2019, 10:36
- Forum: Ask for Help (v1)
- Topic: Autohotkey for Mac
- Replies: 28
- Views: 164553
Re: Autohotkey for Mac
Is it possible to run the same AHK code written for Windows on a Mac by using a different software (e.g. Karabiner)?
- 17 Jan 2018, 17:28
- Forum: Ask for Help (v1)
- Topic: Relocate cursor position after hotstring replacement
- Replies: 1
- Views: 510
Relocate cursor position after hotstring replacement
Hello, I have created the hotstring : :*oR:fromto::{from: to:} When using the hotstring "fromto", it would replace as expected with cursor at end of string. Is it possible to re-define where the cursor should be after string replacement? For example, I'd the cursor to be relocated to start typing at...
- 14 Mar 2017, 15:32
- Forum: Ask for Help (v1)
- Topic: Telephone number parser
- Replies: 7
- Views: 2670
Re: Telephone number parser
Thanks kon. I've updated the code to:
f12::
;CurrentClip := ClipboardAll
Clipboard =
Send ^c
ClipWait
Clipboard := Trim(Clipboard)
Clipboard := RegExReplace(Clipboard, "^.*(\d{3})[^\d]*(\d{3})[^\d]*(\d{4})$", "$1.$2.$3", 1)
Sleep 25
Send ^v
Sleep 250
Clipboard := CurrentClip
Return
f12::
;CurrentClip := ClipboardAll
Clipboard =
Send ^c
ClipWait
Clipboard := Trim(Clipboard)
Clipboard := RegExReplace(Clipboard, "^.*(\d{3})[^\d]*(\d{3})[^\d]*(\d{4})$", "$1.$2.$3", 1)
Sleep 25
Send ^v
Sleep 250
Clipboard := CurrentClip
Return
- 14 Mar 2017, 15:03
- Forum: Ask for Help (v1)
- Topic: Telephone number parser
- Replies: 7
- Views: 2670
Re: Telephone number parser
Thanks shadowpheonix for sharing. How can we improve the code to strip any leading and trailing space(s)? AHK can definitely do that... f12:: CurrentClip := ClipboardAll Clipboard = Send ^c ClipWait Clipboard := RegExReplace(Clipboard, "^.*(\d{3})[^\d]*(\d{3})[^\d]*(\d{4})$", "$1.$2.$3", 1) Sleep 25...
- 05 Sep 2016, 14:25
- Forum: Ask for Help (v1)
- Topic: Telephone number parser
- Replies: 7
- Views: 2670
Re: Telephone number parser
Thank you guys!
- 01 Sep 2016, 16:11
- Forum: Ask for Help (v1)
- Topic: Telephone number parser
- Replies: 7
- Views: 2670
Telephone number parser
Hello, There are many possible 10-digits phone number formats for North America. 1. +1 111 111 1111 2. +1-111-111-1111 3. +1 (111) 111-1111 4. 1 111 111 1111 5. 1-111-111-1111 6. 1-(111) 111-1111 7. 1111111111 8. 111.111.1111 9. 111-111-1111 etc. I'm looking for code that will parse the phone number...