Here's script a YouTuber shared with me, the only change I made was to the path to my game install: I run the script, but the border still shows up.
Code: Select all
Path_B17 := "C:\Program Files (x86)\Microprose\B17"
Sleep 3000
Run, %Path_B17%\Game.exe, %Path_B17%
Sleep, 4000
WinSet, Style, -0xC00000, B-17 - Some Funny Text
Return
Code: Select all
WinSet, Style, -0xC00000
WinSet, Style, -0x800000
So, the script launches the game, but does not apply the Style I've set, nor does it change the text that shows up in the caption at the top (I'm assuming that's what
is supposed to do.) So the script is failing to reach past the Run line?B-17 - Some Funny Text