Jump to content
LaunchBox Community Forums

Video when close BigBox


Recommended Posts

Make use of the startup applications feature

You can select the file so it only launches if Big Box launches. This way it will not launch if LaunchBox is opened instead.

But the catch is the file needs to be an AHK script that will do these basic steps due to the action must take place when Big Box closes:

-Wait for Big Box to exist

-Wait for Big Box to exit

-Run the video file

 

Just an example - better to run it through VLC rather than opening the video file as it will not close automatically that way without some further scripting tricks. Running through VLC you can use vlc://quit param which will close the video player at end of the video playing. and fullscreen param obviously does just that.

WinWait, ahk_exe BigBox.exe
WinWaitClose, ahk_exe BigBox.exe
Run, \Path\To\VLC\VLC.exe "\path\to\video\file.ext" --fullscreen vlc://quit
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...