VOGONS


First post, by brunobliss

User metadata
Rank Newbie
Rank
Newbie

Hey guys!

I wanted to know if it is possible to start auto-record as soon as dosbox is started. Is there such command?

cheers!
Bruno

Reply 1 of 2, by brunobliss

User metadata
Rank Newbie
Rank
Newbie

no replies? 🙁 is there a way of adding keys to the auto run or sumt?

Reply 2 of 2, by brunobliss

User metadata
Rank Newbie
Rank
Newbie

found a solution, for those looking to start video recording when dosbox is launched you'll need to create a vbscript to launch dosbox and then input the key combination for the recording session to start, here's what it looks like:

create a myscript.vbs file and edit it, copy paste the following code:

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "dosbox"
WScript.Sleep 500
WshShell.SendKeys "^j"

To explain the sequence of events, this is what happens,

WshShell.Run "dosbox" This runs dosbox
WScript.Sleep 2000 waits 2 seconds for the program to load properly
WshShell.SendKeys "^j" inputs the key sequence CTRL (^) and J (j) which starts the recording

being an IT guy myself i don't understand why i didn't think of this earlier 🤣 i guess i needed to find a dosbox funcionality for this and it didn't exist, it's the so called tunnel vision.

hope this turns out to be helpful for someone else
😀 cheers!
Bruno