Can you set up a pause a certain distance from destination (as you used to be able to do with add-one like Cargo Pilot)?
It would be nice to have that feature in the app.
For now I am using an AutoHotKey to automatically send the Esc key to Flight Simulator at a specific time. I am still testing the script and will share it soon.
Here’s a working AutoHotkey script to pause Flight Simulator at a specific time. How to use this:
- Install AutoHotkey
- Create a script named pauseFlightSimulator.ahk (with code below… remember to change the time to what you need)
- Right click on script and choose “Compile Script”. This should create a pauseFlightSimulator.exe.
- Right click on pauseFlightSimulator.exe and choose “Run as Administrator”
Code for pauseFlightSimulator.ahk:
SendMode Input
SetWorkingDir %A_ScriptDir%
#Persistent
SetTimer, Chronos, 500
Return
Chronos:
FormatTime, TimeToPause,,HHmm
If TimeToPause = 1850 ; If you wanted the script to start at 7 am put change 1006 to 700
{
goto PauseFS
}
Return
PauseFS:
Sleep 250
if WinExist("Microsoft Flight Simulator")
WinActivate ; use the window found above
WinWaitActive, Microsoft Flight Simulator
SoundBeep, [ 1000, 25]
Sleep 500
Send {Esc down}
Sleep 250
Send {Esc up}
Sleep 250
Sleep 500
ExitApp
return
I’m using my code, what a little different, and works fine:
It starts FS and executes the button press. I turning on my FS-computer blindly press the keyboard shortcut assigned to this program, then after 2 minutes I turn on the TV.
sleep, 1000
run, steam://rungameid/1250410 ; use your own run start code!
sleep, 70000 ; 1000 = 1 sec
WinActivate, Microsoft Flight Simulator
WinWaitActive, Microsoft Flight Simulator
Send {Space down}
Sleep 250
Send {Space up}
Sleep 1000
ExitApp