TopMacro
EN

Video · 2:24

How to install a macro in Logitech G HUB: video

Audio: English

Install a Lua macro in Logitech G HUB: disable onboard memory mode, set a persistent Desktop profile, import, save, and enable the script.

Read the text version

What the video shows

Abridged transcript and video walkthrough

The main spoken explanations are condensed below, with scene descriptions to help you follow the video without sound.

Prepare G HUB

The speaker first asks you to disable the mouse's onboard memory mode. The demonstrated Lua script uses the running G HUB application. Open profile management, choose Desktop — Default, and make that profile persistent.

Prepare the file

The macro file must use the .lua format. If it is inside an archive, extract it to a convenient folder such as the desktop. In the selected profile, choose Create a Lua Script and give it a recognizable name so you can distinguish it from other scripts.

Import and save

Open Import in the script editor, select the prepared Lua file, and save it. To add another macro, create a new script, repeat the import, and save again. The recording shows these actions directly in the editor window.

Check activation

The narrated example uses the side button G5 to enable the macro. Execution then uses LMB or LMB + RMB, depending on the selected file. Check your script's description for its exact button and trigger mode. The closing explanation returns to the profile: this method uses the Lua editor rather than the ordinary macro-recording section.