|
|
|
@ -6,6 +6,7 @@ SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
|
|
|
|
CoordMode, ToolTip, Screen
|
|
|
|
|
CoordMode, Mouse, Screen
|
|
|
|
|
FileEncoding, UTF-8-RAW ; Needed for special symbols that are used in video descritions
|
|
|
|
|
DetectHiddenWindows, ON ; used for finding Running .ahk scripts
|
|
|
|
|
|
|
|
|
|
; Only Set tool tray icon if this is the source .ahk script.
|
|
|
|
|
; The .exe has the icon compiled into it
|
|
|
|
@ -180,10 +181,21 @@ if(DiscordErrorLoggingWebhookBotURL = ""){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---Auto Updater Settings---
|
|
|
|
|
; Auto Updater Settings
|
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
global GitReleasesAPIURL
|
|
|
|
|
GitReleasesAPIURL = https://freedomain.dev/api/v1/repos/yuriy/Freedomain-Video-Uploader/releases
|
|
|
|
|
GitReleasesAPIURL = https://freedomain.dev/api/v1/repos/yuriy/video-uploader/releases
|
|
|
|
|
|
|
|
|
|
; Post Scheduler Settings
|
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
global PostSchedulerGitReleasesAPIURL
|
|
|
|
|
PostSchedulerGitReleasesAPIURL = https://freedomain.dev/api/v1/repos/yuriy/post-scheduler/releases
|
|
|
|
|
IniRead, PostSchedulerVersion, %SettingsIniFilepath%, Freedomain Post Scheduler, Version, 0.0
|
|
|
|
|
IniRead, PostSchedulerFilepath, %SettingsIniFilepath%, Filepaths, PostScheduler, %A_Space%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Msgbox % "PostSchedulerVersion: " PostSchedulerVersion
|
|
|
|
|
; IniRead, OutputVar, Filename, Section, Key [, Default]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---LBRY Settings---
|
|
|
|
@ -520,9 +532,7 @@ ClearVideoLinks:
|
|
|
|
|
FileDelete, %VideoLinksIniFile%
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
OpenErrorLog:
|
|
|
|
|
run, %ErrorLoggingFilePath%
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ToggleTestingMode:
|
|
|
|
|
ToggleTestingMode()
|
|
|
|
@ -534,11 +544,17 @@ ToggleDevMode()
|
|
|
|
|
run, "%A_ScriptFullPath%" "LastPost"
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
OpenGiteaPage:
|
|
|
|
|
run, https://freedomain.dev/yuriy/video-uploader
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
OpenErrorLog:
|
|
|
|
|
run, %ErrorLoggingFilePath%
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
UncheckAllPlatforms:
|
|
|
|
|
GuiControl,,Bitchute, 0
|
|
|
|
|
GuiControl,,Locals, 0
|
|
|
|
@ -941,8 +957,11 @@ IniWrite, %VideoTitle%, %ScheduleFileFilepath%, Schedule-Info, Title
|
|
|
|
|
|
|
|
|
|
IniWrite, %VideoSites%, %ScheduleFileFilepath%, Schedule-Info, Sites
|
|
|
|
|
|
|
|
|
|
IniRead, OutputVar, Filename, Section, Key [, Default]
|
|
|
|
|
|
|
|
|
|
if(!FileExist(PostSchedulerFilepath)){
|
|
|
|
|
gosub, UpdatePostScheduler
|
|
|
|
|
}
|
|
|
|
|
else,
|
|
|
|
|
run, %PostSchedulerFilepath%
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|