[WDX] Autorun Plugin: Run commands/set envvars on TC start
Moderators: white, Hacker, petermad, Stefan2
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
Unfortunately, none of these options work.
regards
dmocha
dmocha
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
Prefixed by "ShellExec"!
Code: Select all
ShellExec TASKKILL.EXE /IM program.exe /T /F
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
2dmocha, Gral, don't be lazy to use the help.
Overquoting is evil! 👎
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
Actually, I don't use Autorun plugin.
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
Do you think it makes sense to help without knowledge of the subject?
P. S.: For me, this is the №1 plugin!
Overquoting is evil! 👎
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
ShellExec method should works anyway, isn't it?
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
Believe me, before I posted a question here on the forum for the first time, I tried to use the information about ProcessTerminate, but all attempts to create a line failed, maybe I was doing something wrong.
I did it differently and it works. I am passing this on to other interested parties, not everyone can read the help file skillfully (unfortunately it didn't help me).
I did it differently and it works. I am passing this on to other interested parties, not everyone can read the help file skillfully (unfortunately it didn't help me).
Code: Select all
ShellExec /EV /SW_HIDE '%COMSPEC%' '/c taskkill /F /IM TotalMouseEX.exe'
regards
dmocha
dmocha
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
It's impractical to use a console utility, calling an extra process when it can be done by a function built into a child plugin.
Have you loaded the appropriate library for calling the function?
Code: Select all
LoadLibrary Plugins\Autorun_Process.dll
Pragma AutorunFinalizeSection
ProcessTerminate /A /W TotalMouseEX.exe
Overquoting is evil! 👎
Re: [WDX] Autorun Plugin: Run commands/set envvars on TC start
You're right, I didn't load the library.Fla$her wrote: ↑2023-11-07, 00:50 UTC Have you loaded the appropriate library for calling the function?Code: Select all
LoadLibrary Plugins\Autorun_Process.dll Pragma AutorunFinalizeSection ProcessTerminate /A /W TotalMouseEX.exe
I corrected the cfg file, it works as it should, thanks
regards
dmocha
dmocha