-
Notifications
You must be signed in to change notification settings - Fork 98
Command line interface
Wotever edited this page Jan 11, 2021
·
5 revisions
When SimHub is already running it's possible to control Simhub from command line (Feature available from Simhub 6.8.7)
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -minimize
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -restore
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -exit
Changes the active game :
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -switchgame GameCode
Examples :
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -switchgame AssettoCorsa
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -switchgame rfactor2
Triggers a simhub action by it's name :
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -triggeraction ActionName
Example :
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -triggeraction ShakeITBSV3Plugin.MainFeedbackLevelIncrement
Creates a new input in SimHub and triggers it (can be used to map actions) :
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -triggerinput MyInput
Creates a new input in SimHub and triggers it (can be used to map actions) : Warning ! You must call triggerinputrelease after using trigger triggerinputpress
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -triggerinputpress MyInput
Creates a new input in SimHub and triggers it (can be used to map actions) :
"C:\Program Files (x86)\SimHub\SimHubWPF.exe" -triggerinputrelease MyInput
Warning : To be able to map a CLI input, SimHub must be focused, to trigger the input you can use any "Shortcut manager" (mouse utility, Stream deck and similar tools ..)