|
|
|
@ -67,7 +67,6 @@ global VideoFilepath
|
|
|
|
|
global VideoThumbFilepath
|
|
|
|
|
global VideoTags
|
|
|
|
|
global VideoDescription
|
|
|
|
|
global SocialMediaDescription
|
|
|
|
|
global DiscordErrorLoggingWebhookBotURL
|
|
|
|
|
global DiscordVideosWebhookURL
|
|
|
|
|
global VideoFolderDir
|
|
|
|
@ -464,7 +463,8 @@ if(PassedInArgument2_Action = "Scheduled"){
|
|
|
|
|
; }
|
|
|
|
|
goto, StartScheduledPost
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
;---/Read Info From Previous Run And Set Upload Options---
|
|
|
|
|
;--------------------------------------------------------
|
|
|
|
@ -477,12 +477,10 @@ if(PassedInArgument2_Action = "Scheduled"){
|
|
|
|
|
|
|
|
|
|
; Main GUI Window
|
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
gosub, SetAndShowMainGUI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Write current project to ini file for easy reloading
|
|
|
|
|
IniWrite, %BodyTextFilePath%, %SettingsIniFilepath%, %ScriptSettingsSection%, LastPost
|
|
|
|
|
|
|
|
|
|
gosub, SetAndShowMainGUI
|
|
|
|
|
|
|
|
|
|
RunTimeToShowGui := round(((A_TickCount - UStartTime) / 1000), 2)
|
|
|
|
|
|
|
|
|
@ -525,7 +523,10 @@ if(PassedInArgument2_Action = "Scheduled"){
|
|
|
|
|
|
|
|
|
|
; Open folder of the project
|
|
|
|
|
OpenProjectFolder:
|
|
|
|
|
if(FileExist(VideoFolderDir))
|
|
|
|
|
run, %VideoFolderDir%
|
|
|
|
|
else,
|
|
|
|
|
msgbox, Cannot Open Folder as it no longer exists at:`n%VideoFolderDir%
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
ClearVideoLinks:
|
|
|
|
@ -1177,6 +1178,10 @@ Return
|
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Shared-GoTos.ahk
|
|
|
|
|
|
|
|
|
|
; Special Website Functions
|
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Locals-Functions.ahk
|
|
|
|
|
|
|
|
|
|
; GUI Windows
|
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
#include C:\Users\%A_Username%\Syncthing\Git\Freedomain-Video-Uploader\Modules\GUI-Main-Window.ahk
|
|
|
|
|