Page 1 of 1

Space bar produce string output

Posted: 16 Apr 2024, 08:48
by wpulford
Hi,

Is it possible to write a script for when a user hits the space key, the word SPACE appears instead? for example, the user will write: WhatSPACEtheSPACEhellSPACEisSPACEhappening

Regards,

Re: Space bar produce string output

Posted: 16 Apr 2024, 10:47
by mikeyww
Welcome to this AutoHotkey forum!

Code: Select all

#Requires AutoHotkey v2.0
Space::SendText 'SPACE'

Re: Space bar produce string output

Posted: 17 Apr 2024, 03:27
by wpulford
Perfect! thank you very much.