|
|
@ -228,15 +228,6 @@ if(LBRYChannelID = ""){
|
|
|
|
|
|
|
|
|
|
|
|
;---Read Info From Project Files---
|
|
|
|
;---Read Info From Project Files---
|
|
|
|
;------------------------------------------------
|
|
|
|
;------------------------------------------------
|
|
|
|
; Ask user to select file within the production folder
|
|
|
|
|
|
|
|
if(PassedParameter = "LastPost"){
|
|
|
|
|
|
|
|
IniRead, PassedParameter, %SettingsIniFilepath%, %ScriptSettingsSection%, LastPost, %A_Space%
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(PassedParameter = "ShowResults"){
|
|
|
|
|
|
|
|
IniRead, PassedParameter, %SettingsIniFilepath%, %ScriptSettingsSection%, LastPost, %A_Space%
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; if passed argument is .exe file, then script has just been udpated and we need to move the old version
|
|
|
|
; if passed argument is .exe file, then script has just been udpated and we need to move the old version
|
|
|
|
if(InStr(PassedParameter,ScriptName) and InStr(PassedParameter,".exe")){
|
|
|
|
if(InStr(PassedParameter,ScriptName) and InStr(PassedParameter,".exe")){
|
|
|
@ -252,7 +243,7 @@ if(InStr(PassedParameter,ScriptName) and InStr(PassedParameter,".exe")){
|
|
|
|
; move old version to backups folder, overwrite if name conflict
|
|
|
|
; move old version to backups folder, overwrite if name conflict
|
|
|
|
FileMove, %PassedParameter%, %BackupsFolder%\*, 1
|
|
|
|
FileMove, %PassedParameter%, %BackupsFolder%\*, 1
|
|
|
|
if(ErrorLevel){ ; most likely because the old version hasn't finished exiting yet
|
|
|
|
if(ErrorLevel){ ; most likely because the old version hasn't finished exiting yet
|
|
|
|
SaveOrPostProgress(Message:="Starting Up: Moving Old Version",PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar")
|
|
|
|
SaveOrPostProgress(Message:="Moving Old Version to Backups",PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar")
|
|
|
|
sleep, 2000
|
|
|
|
sleep, 2000
|
|
|
|
FileMove, %PassedParameter%, %BackupsFolder%\*, 1
|
|
|
|
FileMove, %PassedParameter%, %BackupsFolder%\*, 1
|
|
|
|
if(ErrorLevel){
|
|
|
|
if(ErrorLevel){
|
|
|
@ -260,8 +251,19 @@ if(InStr(PassedParameter,ScriptName) and InStr(PassedParameter,".exe")){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ToolTip
|
|
|
|
ToolTip
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
; Change paramter to LastPost so last post gets automatically opened instead of user having to re-select the file again
|
|
|
|
|
|
|
|
PassedParameter = LastPost
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(PassedParameter = "LastPost"){
|
|
|
|
|
|
|
|
IniRead, PassedParameter, %SettingsIniFilepath%, %ScriptSettingsSection%, LastPost, %A_Space%
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(PassedParameter = "ShowResults"){
|
|
|
|
|
|
|
|
IniRead, PassedParameter, %SettingsIniFilepath%, %ScriptSettingsSection%, LastPost, %A_Space%
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PassedParameterLength := StrLen(PassedParameter)
|
|
|
|
PassedParameterLength := StrLen(PassedParameter)
|
|
|
|
if(PassedParameterLength < 5 and !InStr(PassedParameter, ".exe")){
|
|
|
|
if(PassedParameterLength < 5 and !InStr(PassedParameter, ".exe")){
|
|
|
@ -651,7 +653,7 @@ if(DescriptionCharCount > 3000){
|
|
|
|
else,
|
|
|
|
else,
|
|
|
|
Gui, Add, Edit, w50 h20 x%DescriptionCharCountXPos% y+1 vDescriptionCharCount, %DescriptionCharCount%
|
|
|
|
Gui, Add, Edit, w50 h20 x%DescriptionCharCountXPos% y+1 vDescriptionCharCount, %DescriptionCharCount%
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Add,Text, yp+3 xp-310, (Platform Char Limits: DM & Bitchute = 3K, Odysee,Brighteon = 5K)
|
|
|
|
Gui, Add,Text, yp+3 xp-310, (Platform Char. Limits: DM+Bitchute = 3K, Odysee,Brighteon = 5K)
|
|
|
|
Gui, Font, s%GuiFontSize%
|
|
|
|
Gui, Font, s%GuiFontSize%
|
|
|
|
Gui, font, Bold
|
|
|
|
Gui, font, Bold
|
|
|
|
Gui, Add, GroupBox,r8.5 x%MarginSpace% yp+10 w%EditBoxWidths% Center, Filepaths
|
|
|
|
Gui, Add, GroupBox,r8.5 x%MarginSpace% yp+10 w%EditBoxWidths% Center, Filepaths
|
|
|
@ -1170,7 +1172,7 @@ GetChromeFilepath()
|
|
|
|
|
|
|
|
|
|
|
|
if(Facebook){
|
|
|
|
if(Facebook){
|
|
|
|
UploadedToSites .= "Facebook,"
|
|
|
|
UploadedToSites .= "Facebook,"
|
|
|
|
gosub, FacebookUpload
|
|
|
|
; gosub, FacebookUpload
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(Telegram){
|
|
|
|
if(Telegram){
|
|
|
|