logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
bacu89  
#1 Posted : Saturday, May 15, 2021 9:38:51 PM(UTC)
bacu89

Rank: Member

Groups: Registered
Joined: 9/16/2020(UTC)
Posts: 10
Netherlands
Location: Limburg

Was thanked: 1 time(s) in 1 post(s)
I created some executables using AutoHotkey which can be scheduled using Windows Task Scheduler to execute some basic tasks.

Take me to those tools!



AMtools vMix restarter v1.exe
Used to (re)start or quit vMix, for unmanned vMix systems for instance.

CMD arguments:
true/false - Disable restart. When set to 'true' vMix will only quit and not restart.
path to .vMix script - This script will be started after vMix shut down. If the user entered 'last' or nothing at all, it will open 'last.vmix'.

Examples:
"AMtools vMix restarter v1.exe" false "C:\Data\template.vmix"
"AMtools vMix restarter v1.exe" true



AMtools vMix error scanner v1.exe
Will check for 'vMix Error' windows and automatically close them.
Also 'Input select', 'Recording settings', and 'Streaming settings' will be closed. To temporarily pause the script while running, right click the gear icon in the system tray and 'Pause script'.

CMD arguments:
true/false - Loop. When set to 'true' the script will run infinite. Otherwise the scan will run only once.
delay in seconds - If loop mode is 'true', specify how many seconds to wait between scans.
true/false - Autoexit. When set to 'true' the scanner will stop as soon as vMix is shut down.

Examples:
"AMtools vMix error scanner v1.exe" true 5 false
"AMtools vMix error scanner v1.exe" false



AMtools vMix API sender v1.exe
Send API commands to vMix. For all available commands see this page; vMix API Help

CMD arguments:
function - The API command to send to vMix.
server - IP address of the system running vMix. Default when omitted is '127.0.0.1'.
port - The port the vMix API is set to. Default when omitted is '8088'.
response/noresponse - Show or hide the API result. Default when omitted is 'response'.
username - If the API is protected enter the username.
password - If the API is protected enter the password.

Examples:
"AMtools vMix API sender v1.exe" "AudioAutoOn&Input=5" 192.168.0.123 8088 response Admin 1234
"AMtools vMix API sender v1.exe" "StartStreaming"



AMtools folder cleanup v1.exe
Used to cleanup folder, example logging folders of capture folders. Usage at own risk.

CMD arguments:
folder - Path to the folder.
days to keep - Specify how many days files should be kept. Based on 'date modified'. '0' will delete all. Default when omitted is '14'.
true/false - Recursive mode. When set to 'true' also files in subfolders will be scanned. Default when omitted is 'false'.
true/false - Recycle mode. When set to 'true' files will be sent to the trash first when possible. Default when omitted is 'false'.

Examples:
"AMtools folder cleanup v1.exe" "C:\Data\vMix Captures\recorder 1" 4 false true
"AMtools folder cleanup v1.exe" "C:\Data\vMix logging" 2 true



AMtool CasparCG restarter v1.exe
Used to (re)start or quit CasparCG Server and Scanner.

CMD arguments:
folder - Path to the CasparCG executables. Can be omitted if placed within the CasparCG folder itself.
true/false - Disable restart. When set to 'true' CasparCG will only quit and not restart.
casparcg executable - Specify other name than casparcg.exe for the executable.
scanner executable - Specify other name than scanner.exe for the executable.

Examples:
"AMtools CasparCG restarter v1.exe" "C:\Apps\CasparCG" false casparcgcustom.exe scanner.exe
"AMtools CasparCG restarter v1.exe" "C:\Apps\CasparCG" true



AMtools general restarter V1.exe
Use to (re)start general apps.

CMD arguments:
path - Full path to the app to be (re)started.
true/false - Disable restart. When set to 'true' the app will only quit and not restart.
1/2 - Shutdown method. 1 = using ALT+F4 on process window, 2 = WinClose command. Default when omitted is '1'.
true/false - Confirm with 'enter' after shutdown command. When set to 'true' an enter keypress will be send 0.5 seconds after the shutdown command.
path - To open another file during restart than the executable itself.

Examples:
"AMtools general restarter V1.exe" "C:\Windows\system32\notepad.exe" false 2 true "C:\Apps\text.txt"
"AMtools general restarter V1.exe" "D:\Data\Apps\VMixBridgeV1.2.exe"



notes:
- All message boxes do have an automatic time-out.
- Some virusscanners will see them as a thread, you may have to whitelist the tools.
- If you want the original AutoHotkey scripts, please contact me.
- Make sure you select 'Configure for: Windows 7, Windows Server 2008 R2' in the settings for a task in Windows Task Scheduler.
bacu89  
#2 Posted : Sunday, May 16, 2021 9:44:02 PM(UTC)
bacu89

Rank: Member

Groups: Registered
Joined: 9/16/2020(UTC)
Posts: 10
Netherlands
Location: Limburg

Was thanked: 1 time(s) in 1 post(s)
I just fixed an issue in the API Sender, it didn't execute properly when no user and pass was entered.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.