You can create a batch file, that starts Expedition, waits for a second or two, and presses enter.
@if (@CodeSection == @Batch) @then
@echo off
set SendKeys=CScript //nologo //E:JScript "%~F0"
start /d "C:\Program Files (x86)\Expedition\Expedition4D" Expedition.exe
timeout 1
%SendKeys% {Enter}
@end
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.SendKeys(WScript.Arguments(0));
Last edited by Navigator (5/26/2024 11:31 pm)