|
|
|
@ -120,6 +120,7 @@ IniRead, DiscordErrorLoggingWebhookBotURL, %SettingsIniFilepath%, SocialMediaPos
|
|
|
|
|
IniRead, DiscordParlerWebhookURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordParlerWebhookURL, %A_Space%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---Checkbox Settings---
|
|
|
|
|
;------------------------------------------------
|
|
|
|
|
IniRead, BoldTitleWAPI, %SettingsIniFilepath%, SocialMediaPoster, BoldTitleWAPI, 1
|
|
|
|
@ -1100,7 +1101,7 @@ OpenScreenshotsFolder:
|
|
|
|
|
run, %ErrorLoggingDirectory%
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
PostScreenshotsToUploadStatus:
|
|
|
|
|
SaveOrPostProgress(Message:="Uploading screenshots of Errors:",PostType:=",ErrorLoggingTextFile,DiscordParler")
|
|
|
|
|
|
|
|
|
@ -1114,6 +1115,7 @@ Loop, %NumOfScreenshots% {
|
|
|
|
|
Tooltip
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
;---------------Facebook----------------------------------
|
|
|
|
|
PostToFacebook:
|
|
|
|
@ -1981,7 +1983,7 @@ if(InStr(CurrentTabURL, "/login")){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loop, 3 {
|
|
|
|
|
Xpath = //button[normalize-space()='Start a post'] ; start a post button
|
|
|
|
|
Xpath = (//span[normalize-space()='Start a post'])[1] ; start a post button
|
|
|
|
|
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000)
|
|
|
|
|
if(!Status)
|
|
|
|
|
Break
|
|
|
|
|