|
|
@ -42,7 +42,7 @@ global UpdateVersionNumber
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ScriptName = Freedomain Social Media Poster
|
|
|
|
ScriptName = Freedomain Social Media Poster
|
|
|
|
ScriptVersion = 2.84
|
|
|
|
ScriptVersion = 2.85
|
|
|
|
FullScriptName := ScriptName . " " . ScriptVersion
|
|
|
|
FullScriptName := ScriptName . " " . ScriptVersion
|
|
|
|
|
|
|
|
|
|
|
|
;---ToDo---
|
|
|
|
;---ToDo---
|
|
|
@ -299,7 +299,7 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|
|
|
(Locals != "")?(LocalsCheckStatus := 0) : (LocalsCheckStatus := 1)
|
|
|
|
(Locals != "")?(LocalsCheckStatus := 0) : (LocalsCheckStatus := 1)
|
|
|
|
(LinkedIN != "")?(LinkedINCheckStatus := 0) : (LinkedINCheckStatus := 1)
|
|
|
|
(LinkedIN != "")?(LinkedINCheckStatus := 0) : (LinkedINCheckStatus := 1)
|
|
|
|
(Twetch != "")?(TwetchCheckStatus := 0) : (TwetchCheckStatus := 1)
|
|
|
|
(Twetch != "")?(TwetchCheckStatus := 0) : (TwetchCheckStatus := 1)
|
|
|
|
(ThinkSpot != "")?(ThinkSpotCheckStatus := 0) : (ThinkSpotCheckStatus := 1)
|
|
|
|
(ThinkSpot != "")?(ThinkSpotCheckStatus := 0) : (ThinkSpotCheckStatus := 0)
|
|
|
|
; (Flote != "")?(FloteCheckStatus := 0) : (FloteCheckStatus := 0)
|
|
|
|
; (Flote != "")?(FloteCheckStatus := 0) : (FloteCheckStatus := 0)
|
|
|
|
; (Pintrest != "")?(PintrestCheckStatus := 0) : (PintrestCheckStatus := 1)
|
|
|
|
; (Pintrest != "")?(PintrestCheckStatus := 0) : (PintrestCheckStatus := 1)
|
|
|
|
; (Parler != "")?(ParlerCheckStatus := 0) : (ParlerCheckStatus := 0)
|
|
|
|
; (Parler != "")?(ParlerCheckStatus := 0) : (ParlerCheckStatus := 0)
|
|
|
@ -512,14 +512,23 @@ ControlFocus, Edit1, %FullScriptName%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; check for updates if the setting is enabled
|
|
|
|
; check for updates if the setting is enabled
|
|
|
|
if(AutoUpdateCheck AND !SkipUpdateCheckThisRun){
|
|
|
|
if(AutoUpdateCheck AND !UpdateAvailable){
|
|
|
|
CheckForUpdates(GitReleasesAPIURL)
|
|
|
|
Message = Checking for Updates
|
|
|
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
; DevModeMsgBox("checking for updates")
|
|
|
|
|
|
|
|
; msgbox, checkin for update
|
|
|
|
|
|
|
|
; DevModeMsgBox(GitReleasesAPIURL)
|
|
|
|
|
|
|
|
; UpdateAvailable :=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(CheckForUpdates(GitReleasesAPIURL))
|
|
|
|
GuiControl,,UpdateAvailable, Uploader Update Available!
|
|
|
|
GuiControl,,UpdateAvailable, Uploader Update Available!
|
|
|
|
|
|
|
|
|
|
|
|
; if(CheckForChromeUpdates(ChromeFilepath))
|
|
|
|
if(CheckForChromeUpdates(ChromeFilepath)){
|
|
|
|
; GuiControl,,ChromeUpdateAvailable, Chrome Update Available!
|
|
|
|
GuiControl,,ChromeUpdateAvailable, Chrome Update Available!
|
|
|
|
|
|
|
|
ChromeUpdateAvailable := 1
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---Check for Update---
|
|
|
|
;---Check for Update---
|
|
|
@ -615,7 +624,9 @@ if(!status){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DownloadLatestChromium()
|
|
|
|
Status := DownloadLatestChromium()
|
|
|
|
|
|
|
|
if(Status)
|
|
|
|
|
|
|
|
GuiControl,,ChromeUpdateAvailable, Chrome Up-to-Dat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
Return
|
|
|
@ -808,7 +819,7 @@ IniWrite, %ShowTooltipProgress%, %SettingsIniFilepath%, SocialMediaPoster, ShowT
|
|
|
|
(Locals = 1)?(PostedWebsites .= "Locals|") : ()
|
|
|
|
(Locals = 1)?(PostedWebsites .= "Locals|") : ()
|
|
|
|
(LinkedIn = 1)?(PostedWebsites .= "LinkedIn|") : ()
|
|
|
|
(LinkedIn = 1)?(PostedWebsites .= "LinkedIn|") : ()
|
|
|
|
(Twetch = 1)?(PostedWebsites .= "Twetch|") : ()
|
|
|
|
(Twetch = 1)?(PostedWebsites .= "Twetch|") : ()
|
|
|
|
(ThinkSpot = 1)?(PostedWebsites .= "ThinkSpot|") : ()
|
|
|
|
(ThinkSpot = 0)?(PostedWebsites .= "ThinkSpot|") : ()
|
|
|
|
; (Flote = 1)?(PostedWebsites .= "Flote|") : ()
|
|
|
|
; (Flote = 1)?(PostedWebsites .= "Flote|") : ()
|
|
|
|
(PocketNet = 1)?(PostedWebsites .= "PocketNet|") : ()
|
|
|
|
(PocketNet = 1)?(PostedWebsites .= "PocketNet|") : ()
|
|
|
|
(Gettr = 1)?(PostedWebsites .= "Gettr|") : ()
|
|
|
|
(Gettr = 1)?(PostedWebsites .= "Gettr|") : ()
|
|
|
|