forked from me2d13/luamacros
-
Notifications
You must be signed in to change notification settings - Fork 0
basic functions
spiralofhope edited this page Aug 5, 2019
·
1 revision
- Via Prompt
lmc_assign_keyboard('MACROS') - Via Device ID
lmc_device_set_name('MACROS', '2BA672CB') - Listing Devices
lmc_print_devices()
This can be used to obtain the Device ID
lmc_send_keys('Hello world')
To minimize luamacros application execute command
lmc_minimize()
There's also internal flag (variable) controling whether luamacros is minimized to taskbar (default) or to the tray. When following flag is set to true
lmc.minimizeToTray = true then luamacros doesn't appear as application in taskbar (when minimized) but shows only tray icon.
lmc_spawn("calc")
lmc_spawn("notepad", "C:\\test.txt")
lmc_load('E:\\lmc.lua')
lmc_get_window_title()
lmc_say('Hello, World!')