User Manual

Editing scripts
editing_scripts.htm[9/10/2014 11:03:39 AM]
Editing scripts
The Logitech
®
Gaming Software contains a script editor that enables advanced users to create scripts using the Lua programming
language. Lua is a free programming language specifically designed for extending applications. For information on Lua, visit
www.lua.org
. Scripts created using Lua can be shared by the gaming community, so advanced users can not only create scripts for
themselves but can export and import them.
When you have selected a profile in The Gaming Software window, you can create, import, and edit a script for that profile. Each
profile can have one script attached to it. You can access the script editor in order to maintain scripts from the main Gaming
Software window. To do so:
1. Within the Logitech Gaming Software, if you have more than one gaming device, choose the relevant one using the Device
Selector on the Device bar.
2. Display the Profiles View (by clicking the Customize G-keys/buttons icon on the Device bar).
3. Right-click the correct profile in the Profiles area or click its
arrow, and select Scripting.
The Script window is displayed. You can use its menus and features to perform a range of tasks, including the creation and
saving of new scripts, and the importing and exporting of scripts.
All profile scripts are activated when the profile is activated and deactivated when the profile is deactivated.
There is Lua support material available, describing how scripting works, the functions available, and so on, as well as some samples
and other documentation. This documentation is accessible from the Help menu of the Script window.