|
|
@ -49,9 +49,12 @@ FullScriptName := ScriptName . " " . ScriptVersion
|
|
|
|
; @todo: Errorlog not getting appended to on > 1 run (ErrorLoggingFilePath) variable is missing somehwere
|
|
|
|
; @todo: Errorlog not getting appended to on > 1 run (ErrorLoggingFilePath) variable is missing somehwere
|
|
|
|
; @todo: Add tags support on all sites that support it - ask stef is useful
|
|
|
|
; @todo: Add tags support on all sites that support it - ask stef is useful
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Misc info
|
|
|
|
; Misc info
|
|
|
|
;------------------------------------------------
|
|
|
|
;------------------------------------------------
|
|
|
|
; Parler has a 1k char limit
|
|
|
|
; Parler has a 1k char limit
|
|
|
|
|
|
|
|
; All post submits: mark with "Post Submit Successful" OR "Post Submit Failed" for easier reading of errorlogs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---Global Variables---
|
|
|
|
;---Global Variables---
|
|
|
@ -1253,7 +1256,7 @@ if(ImageAttachmentFilepath != ""){
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, Discord
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, Discord
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1362,7 +1365,7 @@ TelegramBody := ASCIISTRReplace(PostBody)
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, Telegram
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, Telegram
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1552,9 +1555,10 @@ if(Status){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, Facebook
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, Facebook
|
|
|
|
|
|
|
|
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Message = Post Publish Successful
|
|
|
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
@ -1886,7 +1890,7 @@ if(ImageAttachmentFilepath != ""){
|
|
|
|
|
|
|
|
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
Return
|
|
|
@ -2117,7 +2121,7 @@ loop, 3 {
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2364,7 +2368,7 @@ loop, 3 {
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2493,13 +2497,14 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
try driver.executeScript(js)
|
|
|
|
try driver.executeScript(js)
|
|
|
|
|
|
|
|
|
|
|
|
Message = Double checking that post got submitted
|
|
|
|
Message = Double checking that post got submitted
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
; SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
sleep, 5000
|
|
|
|
sleep, 5000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try CurrentTabURL := driver.Url
|
|
|
|
try CurrentTabURL := driver.Url
|
|
|
|
if(InStr(CurrentTabURL, "share/post")) { ; post failed to submit if it's still on the create new post page
|
|
|
|
if(InStr(CurrentTabURL, "share/post")) { ; post failed to submit if it's still on the create new post page
|
|
|
|
Message = Error: Post Failed to Submit. Please check tab for reason.
|
|
|
|
Message = Error: Post Was Input but Failed to Submit.
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
|
|
|
SaveDriverURLOFErrorPage()
|
|
|
|
SaveDriverURLOFErrorPage()
|
|
|
|
Return
|
|
|
|
Return
|
|
|
@ -2527,7 +2532,7 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2535,6 +2540,8 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
; -------------------------------/Locals-------------------------------
|
|
|
|
; -------------------------------/Locals-------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
; -------------------------------Gab-------------------------------
|
|
|
|
; -------------------------------Gab-------------------------------
|
|
|
|
PostToGab:
|
|
|
|
PostToGab:
|
|
|
@ -2643,7 +2650,7 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
Return
|
|
|
@ -2904,7 +2911,7 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3099,7 +3106,7 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3223,6 +3230,9 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Message = Post Publish Successful
|
|
|
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, gettr
|
|
|
|
IniWrite, Successful, %StatusFileFilePath%, Status, gettr
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
AddToTotalPostsPostedCount()
|
|
|
|
|
|
|
|
|
|
|
@ -3363,7 +3373,7 @@ PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3516,7 +3526,7 @@ AddToTotalPostsPostedCount()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3671,7 +3681,7 @@ PauseBetweenPosts()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3868,7 +3878,7 @@ PauseBetweenPosts()
|
|
|
|
; try driver.switchToalert().accept()
|
|
|
|
; try driver.switchToalert().accept()
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
DevModeMsgBox("done!")
|
|
|
|
|
|
|
|
|
|
|
|
Message = Submitted Successfully
|
|
|
|
Message = Post Publish Successful
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|