Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
845af386c0 | ||
|
d5edbc058c
|
|||
|
f70498afce
|
|||
|
|
a3f16aa6f2 | ||
|
982f857640
|
|||
|
|
0597c90144 |
@@ -39,7 +39,7 @@ global UpdateVersionNumber
|
|||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Zip.ahk
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Zip.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\URLDownloadToVar.ahk
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ ScriptSettingsSection := "SocialMediaPoster"
|
|||||||
|
|
||||||
|
|
||||||
FileInstall, Version.ini, %A_ScriptDir%\Lib\Version.ini, 1
|
FileInstall, Version.ini, %A_ScriptDir%\Lib\Version.ini, 1
|
||||||
IniRead, ScriptVersion, %A_ScriptDir%\Lib\Version.ini,Social-Media-Poster, Version, 0.0 ; , Key [, Default]
|
IniRead, ScriptVersion, %A_ScriptDir%\Lib\Version.ini,Social-Media-Poster, Version, 0.0
|
||||||
ScriptName = Freedomain Social Media Poster
|
ScriptName = Freedomain Social Media Poster
|
||||||
FullScriptName := ScriptName . " " . ScriptVersion
|
FullScriptName := ScriptName . " " . ScriptVersion
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ IniRead, TelegramBotToken, %SettingsIniFilepath%, SocialMediaPoster, TelegramBot
|
|||||||
IniRead, TelegramBotChatID, %SettingsIniFilepath%, SocialMediaPoster, TelegramBotChatID, %A_Space%
|
IniRead, TelegramBotChatID, %SettingsIniFilepath%, SocialMediaPoster, TelegramBotChatID, %A_Space%
|
||||||
IniRead, DiscordErrorLoggingWebhookBotURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordErrorLoggingWebhookBotURL, %A_Space%
|
IniRead, DiscordErrorLoggingWebhookBotURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordErrorLoggingWebhookBotURL, %A_Space%
|
||||||
IniRead, DiscordParlerWebhookURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordParlerWebhookURL, %A_Space%
|
IniRead, DiscordParlerWebhookURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordParlerWebhookURL, %A_Space%
|
||||||
; IniRead, ChromeFilepath, %SettingsIniFilepath%, SocialMediaPoster, ChromeFilepath, %A_Space%
|
IniRead, ChromeFilepath, %SettingsIniFilepath%, SocialMediaPoster, ChromeFilepath, %A_Space%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -272,7 +272,7 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|||||||
VideoURL := BitChuteURL
|
VideoURL := BitChuteURL
|
||||||
|
|
||||||
if(PodcastNumber != ""){
|
if(PodcastNumber != ""){
|
||||||
PodcastURL := "https://fdrpodcasts.com/" . PodcastNumber . "`n"
|
PodcastURL := "https://fdrpodcasts.com/" . PodcastNumber . "`n`n"
|
||||||
}
|
}
|
||||||
|
|
||||||
; Append bitchute url to bottom of description
|
; Append bitchute url to bottom of description
|
||||||
@@ -306,7 +306,7 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
|
|||||||
(Telegram != "")?(TelegramCheckStatus := 0) : (TelegramCheckStatus := 1)
|
(Telegram != "")?(TelegramCheckStatus := 0) : (TelegramCheckStatus := 1)
|
||||||
(Minds != "")?(MindsCheckStatus := 0) : (MindsCheckStatus := 1)
|
(Minds != "")?(MindsCheckStatus := 0) : (MindsCheckStatus := 1)
|
||||||
(Gab != "")?(GabCheckStatus := 0) : (GabCheckStatus := 1)
|
(Gab != "")?(GabCheckStatus := 0) : (GabCheckStatus := 1)
|
||||||
(MeWe != "")?(MeWeCheckStatus := 0) : (MeWeCheckStatus := 0) ; UNCHECKED ALWAYS as of 2022/04/08
|
(MeWe != "")?(MeWeCheckStatus := 0) : (MeWeCheckStatus := 1)
|
||||||
(Gettr != "")?(GettrCheckStatus := 0) : (GettrCheckStatus := 0)
|
(Gettr != "")?(GettrCheckStatus := 0) : (GettrCheckStatus := 0)
|
||||||
(Steemit != "")?(SteemitCheckStatus := 0) : (SteemitCheckStatus := 1)
|
(Steemit != "")?(SteemitCheckStatus := 0) : (SteemitCheckStatus := 1)
|
||||||
(Locals != "")?(LocalsCheckStatus := 0) : (LocalsCheckStatus := 1)
|
(Locals != "")?(LocalsCheckStatus := 0) : (LocalsCheckStatus := 1)
|
||||||
|
|||||||
Submodule Lib/Freedomain-Posters-Shared-Functions updated: f15d3ed2f0...e32fe026e9
@@ -2,18 +2,21 @@
|
|||||||
; -------------------------------Locals-------------------------------
|
; -------------------------------Locals-------------------------------
|
||||||
PostToLocals:
|
PostToLocals:
|
||||||
CurrentSite := "Locals"
|
CurrentSite := "Locals"
|
||||||
; DevModeMsgBox("clik ok to continue")
|
|
||||||
; @todo: Add auto-login to locals
|
; @todo: Add auto-login to locals
|
||||||
SaveOrPostProgress(Message:="Navigating to Post Creation Page",PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
SaveOrPostProgress(Message:="Navigating to Post Creation Page",PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||||
|
|
||||||
|
|
||||||
IniRead, LocalsURL, %SettingsIniFilepath%, %ScriptSettingsSection%, LocalsURL, %A_Space%
|
IniRead, LocalsURL, %SettingsIniFilepath%, %ScriptSettingsSection%, LocalsURL, %A_Space%
|
||||||
if(LocalsURL = "" OR !InStr(LocalsURL, "/share/post")){
|
|
||||||
Message = Please add your Locals Profile URL to the settings.ini file under`n`n[General]`nLocalsURL=`n`nURL Needs to end in: /share/post
|
if(LocalsURL = ""){
|
||||||
|
Message = Please add your Locals Profile URL to the settings.ini file under`n`n[General]`nLocalsURL=
|
||||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
||||||
Return
|
Return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; /share/post is the legacy new post page.
|
||||||
|
; Starting in 2024 all posts are published through the home page now.
|
||||||
|
LocalsURL := StrReplace(LocalsURL, "/share/post")
|
||||||
|
|
||||||
Status := NavigateFromBaseURLTo(LocalsURL)
|
Status := NavigateFromBaseURLTo(LocalsURL)
|
||||||
if(Status = "Failed")
|
if(Status = "Failed")
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
[Social-Media-Poster]
|
[Social-Media-Poster]
|
||||||
Version=2.89
|
Version=2.90
|
||||||
|
|||||||
Reference in New Issue
Block a user