VOGONS


First post, by marcin_cylke

User metadata
Rank Newbie
Rank
Newbie

Hi

Is it possible to attach external programs (scripts, etc) to an event? I specifically mean screen capture event. I'd like to have an action executed when a screenshot is taken, so it would require dosbox to pass at least screenshot filename to the hook.

If this is not possible now, would it be desirable to add such a change to dosbox?

Regards
Marcin

Reply 1 of 3, by Harekiet

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Create a program that watches for new files in the capture directory and does it's magic when a new one appears

Reply 2 of 3, by marcin_cylke

User metadata
Rank Newbie
Rank
Newbie

Great suggestion. Although a bit of a hack 😀

Reply 3 of 3, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Sounds complicated to implement across all supported platforms, and would probably only appeal to a smallish segment of users.

So, I think Harekiet's suggestion is an excellent one. You can find a fair number of threads in this area of the forum about using AutoIt to do various automation tasks.