How to do a strikethrough text in a GUI text component
Posted: 05 Feb 2023, 03:43
there are some methods out there on how to do a strike through text in a GUI text component, some methods I have seen
first make sure that's your ahk script is saved with utf-8 with BOM
then you'll be able to use "—" character that creates a - like line just without the additional spaces to the left and right of that line
Working exampl
- replace the letters with the equivalent pre-strike through unicode letters
- use an image with the text already strike through
first make sure that's your ahk script is saved with utf-8 with BOM
then you'll be able to use "—" character that creates a - like line just without the additional spaces to the left and right of that line
Working exampl
Code: Select all
#SingleInstance, force
Gui, margin, 40 40
Gui, Add, text, , Some text
Gui, Add, text, xp-1 yp+1 BackgroundTrans , ————————
Gui, show