This article shows you how to create a macro that launches an application and runs an argument (typically a file path) to open a file associated with the app.
NOTE: If you want to run the app without an argument, you’ll need to create a separate macro, as each launcher that has an argument associated with it is locked into that argument.
- Open G HUB, and in the left pane, click the Assignments tab.
- In the right pane, select MACROS. Then, click CREATE NEW MACRO.
- Give the new macro a name and then press Enter.
- Under SELECT A TYPE OF MACRO YOU WANT TO CREATE, select NO REPEAT.
- Click the plus sign + next to START NOW and then select Launch Application.
- Select a current app from the list (for example, WINWORD), or create new Launch Application options to add.
NOTE: You can find more information about Launch Application options under the Advanced settings section in the G HUB manual.
For example, the path for WINWORD is
C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE. - Click Launch WINWORD — it turns blue and displays an EDIT option.
- Click EDIT. The Launch Application settings should appear. Click ADD ARGUMENTS.
- The argument should be the full path and filename and extension for the file.
For example, the argument for a file named test.doc on your desktop would be:
C:\Users\[USERNAME]\Desktop\Test.doc where [USERNAME] is specific to your PC.
Frequently Asked Questions
Show All Downloads