I am trying to get discord to launch but the shortcut requires this argument
--processstart Discord.exe
The entire line is C:\Users\misled\AppData\Local\Discord\Update.exe --processStart Discord.exe
I tried this [[C:\\Users\\misled\\AppData\\Local\\Discord\\Update.exe -processStart Discord.exe"]]
but it fails. What can i do?
Thank you,
Launching App with Arguments? (LuaMacros)
-
- Posts: 14
- Joined: 06 Feb 2018, 05:23
Re: Launching App with Arguments? (LuaMacros)
You may try this.
program = "C:\Users\misled\AppData\Local\Discord\Update.exe"
command = "--processStart"
arg = "Discord.exe"
c = program.." \""..command.."\" \""..arg
lmc_spawn(c)
I have shared the explanation in:
viewtopic.php?f=3&t=595&sid=9e34a92edfe ... c869e46cfb
Hope it helps.
program = "C:\Users\misled\AppData\Local\Discord\Update.exe"
command = "--processStart"
arg = "Discord.exe"
c = program.." \""..command.."\" \""..arg
lmc_spawn(c)
I have shared the explanation in:
viewtopic.php?f=3&t=595&sid=9e34a92edfe ... c869e46cfb
Hope it helps.
Re: Launching App with Arguments? (LuaMacros)
Thank you it works