Messages - Twinbee [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 17next
1
It's easier than I expected! Maybe AHK v2 is helping over v1. Btw, the script can be simplified to even avoid the braces etc. Simply: "!4::£" will map from Alt+4 to £. Source: https://www.autohotkey.com/docs/v2/misc/Remap.htm

Love the way you can make it application dependent too. E.g:

Code: Autohotkey [Select]
  1. #HotIf WinActive("Chrome")
  2. F2::+F3  ; This allows you to use the F2 key to action the very common "Find previous" function in Google Chrome, rather than painfully using the default Shift+F3
  3. #HotIf  ; This puts subsequent remappings and hotkeys in effect for all windows.

EDIT: Also found out that ATMsoft's Key Manager also did the trick, in a nice easy to use interface, though it does cost $60 for a license.

2
Lol, I couldn't resist a quick try and......... it works!! Albeit uses the left Alt key (rather than the right), which I think I actually prefer. Found the right alt would be simply ">!".

Thank you! Maybe I'll just stick with this then. I have used AHK for other stuff before. Maybe I can make an exe out of it, and/or simply stick the ahk/exe in the startup folder.

I figured out the other missing keys too. For anyone who lives in the UK, but who has a US keyboard, this code should do the trick for the missing symbols: £ (Pound sign), ¬ (Negation or Not sign), ¦ (Broken Bar), and € (Euro sign).

Code: Autohotkey [Select]
  1. !4::£      ; Alt+4 prints £
  2. !`::¬      ; Alt+` prints ¬
  3. !\::¦      ; Alt+\ prints ¦
  4. >!4::€     ; AltGr+4 prints

EDITED: For even simpler syntax.

Docs here: https://www.autohotkey.com/docs/v2/howto/WriteHotkeys.htm

3
Thanks, I have looked at a few text expanders, but the ones I saw either didn't support shortcuts (like using Ctrl + another key) or were quite slow to action upon pressing the key.

AHK is a bit overkill, but I'll use that as a last resort.

I'll keep hunting!

4
Although I live in the UK, due to circumstances beyond my control, I am now using a US keyboard, and have therefore set the keyboard layout to US in Windows 11.

I don't want to faff around with the shortcut of "ALT key and type the number 0163" to obtain the £ symbol. Instead I just want to use something like Right Alt + 4 to obtain it. Microsoft Powertoys allows you to remap keys. However, it doesn't seem to allow a £ symbol in the "Mapped to" section (unless one of the special VK "Virtual Key" codes might do the trick).

I've tried pretty much all the keyboard remapping tools shown here, but unfortunately, none of them allow you to remap to a key outside the current keyboard character space. Since the £ symbol doesn't exist in the US keyboard layout, they therefore don't allow you to map to that character.

5
Cheers both. I'm particularly happy with the recent ability to break up Regex/Wildgem expressions into pieces, and operate on the text one step at a time (via the "Multiple line functions" checkbox). Example: removing whitespace with the first, and finding/replacing a word with the second. Older Wildgem versions had a limited version of that, but this newest is complete and allows you to view highlighted matches for each 'stage'.

Really helps to keep the Regex syntax small and simple to understand! I wonder if other Regex programs allow that. Certainly not from the online versions I've seen.

Pages: [1] 2 3 4 5 6 ... 17next
Go to full version