|
|
@ -329,6 +329,11 @@ Return
|
|
|
|
|
|
|
|
|
|
|
|
; Functions
|
|
|
|
; Functions
|
|
|
|
;------------------------------------------------
|
|
|
|
;------------------------------------------------
|
|
|
|
|
|
|
|
GUIUpdateVars:
|
|
|
|
|
|
|
|
Gui, Submit, NoHide
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
SaveAsTemplate:
|
|
|
|
SaveAsTemplate:
|
|
|
|
Gui, submit, NoHide ; Update variables for all modified fields
|
|
|
|
Gui, submit, NoHide ; Update variables for all modified fields
|
|
|
|
|
|
|
|
|
|
|
@ -472,19 +477,20 @@ Gui, Add, Button,x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth%
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vLocalsRTMPURL center, %LocalsRTMPURL%
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vLocalsRTMPURL center, %LocalsRTMPURL%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Locals RTMP Key
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Locals RTMP Key
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vLocalsRTMPKey center, %LocalsRTMPKey%
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vLocalsRTMPKey gGUIUpdateVars center, %LocalsRTMPKey%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Locals URL
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Locals URL
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vLocalsLivestreamURL center, %LocalsLivestreamURL%
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vLocalsLivestreamURL gGUIUpdateVars center, %LocalsLivestreamURL%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Odysee URL
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Odysee URL
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vOdyseeLivestreamURL center, %OdyseeLivestreamURL%
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vOdyseeLivestreamURL gGUIUpdateVars center, %OdyseeLivestreamURL%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Rumble URL
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 h%ResultButtonHeights% w%ResultButtonWidth% gResultsGUIAction, Rumble URL
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vRumbleLivestreamURL center, %RumbleLivestreamURL%
|
|
|
|
Gui, Add, Edit, x+5 yp+0 h%ResultButtonHeights% w%ResultButtonEditWidth% vRumbleLivestreamURL gGUIUpdateVars center, %RumbleLivestreamURL%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSize% y+%marginsizeDoubled% gResultsGUIAction h%ResultButtonHeights% w%ResultButtonEditWidth%, Open Post Folder
|
|
|
|
Gui, Add, Button, x%MarginSize% y+50 gResultsGUIAction h%ResultButtonHeights% w%ResultButtonEditWidth%,Copy Title
|
|
|
|
Gui, Add, Button, x+%marginsize% gResultsGUIAction h%ResultButtonHeights% w%ResultButtonEditWidth%,Save Changes
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSize% gResultsGUIAction h%ResultButtonHeights% w%ResultButtonEditWidth%,Copy Title
|
|
|
|
Gui, Add, Button, x+%marginsize% gResultsGUIAction h%ResultButtonHeights% w%ResultButtonEditWidth%,Copy Description
|
|
|
|
Gui, Add, Button, x+%marginsize% gResultsGUIAction h%ResultButtonHeights% w%ResultButtonEditWidth%,Copy Description
|
|
|
|
Gui, Add, Button, x%MarginSize% h%ResultButtonHeights% w%ResultButtonEditWidth% gStartSMP, Start SMP
|
|
|
|
Gui, Add, Button, x%MarginSize% h%ResultButtonHeights% w%ResultButtonEditWidth% gStartSMP, Start SMP
|
|
|
|
Gui, Add, Button, x+%marginsize% h%ResultButtonHeights% w%ResultButtonEditWidth% gRetryUpload ,Try Failed Again
|
|
|
|
Gui, Add, Button, x+%marginsize% h%ResultButtonHeights% w%ResultButtonEditWidth% gRetryUpload ,Try Failed Again
|
|
|
@ -505,13 +511,54 @@ Return
|
|
|
|
; GoSubs
|
|
|
|
; GoSubs
|
|
|
|
; ------------------------------------------------
|
|
|
|
; ------------------------------------------------
|
|
|
|
StartSMP:
|
|
|
|
StartSMP:
|
|
|
|
msgbox, coming in next release.
|
|
|
|
; IniWrite, %A_ScriptFullPath%, %SettingsIniFilepath%, Filepaths, SMPFilepath
|
|
|
|
Return
|
|
|
|
IniRead, SocialMediaPosterFilepath, %SettingsIniFilepath%, Filepaths, SocialMediaPosterFilepath, %A_Space%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(SocialMediaPosterFilepath = "" or !FileExist(SocialMediaPosterFilepath)){
|
|
|
|
|
|
|
|
OnMessage(0x44, "OnMsgBoxSocialMediaPoster")
|
|
|
|
|
|
|
|
MsgBox 0x21, Filepath Not Found, Unable to find filepath for Social Media Poster`nWould you like to add it?
|
|
|
|
|
|
|
|
OnMessage(0x44, "")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IfMsgBox OK, {
|
|
|
|
|
|
|
|
FileSelectFile, SocialMediaPosterFilepath,,, Please Select Social Media Poster Filepath
|
|
|
|
|
|
|
|
if(ErrorLevel)
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!InStr(SocialMediaPosterFilepath, ".exe"))
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} Else IfMsgBox Cancel, {
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IniWrite, %SocialMediaPosterFilepath%, %SettingsIniFilepath%, Filepaths, SocialMediaPosterFilepath
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
run, %SocialMediaPosterFilepath% %StatusFileFilePath%
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
ResultsGUIAction:
|
|
|
|
ResultsGUIAction:
|
|
|
|
; Msgbox % "A_GuiControl: " A_GuiControl
|
|
|
|
; Msgbox % "A_GuiControl: " A_GuiControl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(A_GuiControl = "Open Post Folder"){
|
|
|
|
|
|
|
|
run, %ErrorLoggingDirectory%
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(A_GuiControl = "Save Changes"){
|
|
|
|
|
|
|
|
IniWrite, %LocalsRTMPURL%, %PostStatusesFilepath%, Livestream,LocalsRTMPURL
|
|
|
|
|
|
|
|
IniWrite, %LocalsRTMPKey%, %PostStatusesFilepath%, Livestream,LocalsRTMPKey
|
|
|
|
|
|
|
|
IniWrite, %LivestreamURL%, %PostStatusesFilepath%, Livestream,LivestreamURL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IniWrite, %RumbleLivestreamURL%, %PostStatusesFilepath%, Livestream,RumbleLivestreamURL
|
|
|
|
|
|
|
|
IniWrite, %OdyseeLivestreamURL%, %PostStatusesFilepath%, Livestream,OdyseeLivestreamURL
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Message = Copying %A_GuiControl% to Clipboard
|
|
|
|
Message = Copying %A_GuiControl% to Clipboard
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip")
|
|
|
|
|
|
|
|
|
|
|
@ -543,6 +590,8 @@ if(A_GuiControl = "Locals RTMP Key"){
|
|
|
|
Clipboard := LocalsRTMPKey
|
|
|
|
Clipboard := LocalsRTMPKey
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sleep, 1000
|
|
|
|
sleep, 1000
|
|
|
|
ToolTip
|
|
|
|
ToolTip
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|