Space bar produce string output

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
wpulford
Posts: 2
Joined: 16 Apr 2024, 08:41

Space bar produce string output

16 Apr 2024, 08:48

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,
User avatar
mikeyww
Posts: 27010
Joined: 09 Sep 2014, 18:38

Re: Space bar produce string output

16 Apr 2024, 10:47

Welcome to this AutoHotkey forum!

Code: Select all

#Requires AutoHotkey v2.0
Space::SendText 'SPACE'
wpulford
Posts: 2
Joined: 16 Apr 2024, 08:41

Re: Space bar produce string output

17 Apr 2024, 03:27

Perfect! thank you very much.

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: mikeyww and 70 guests