commented out all references to flote and parler in the GUI

main
Yuriy 1 year ago
parent d35e5db4ab
commit 761076e0e3

@ -99,9 +99,9 @@ global LinkedIn
global MeWe global MeWe
global Twetch global Twetch
global ThinkSpot global ThinkSpot
global Flote ; global Flote
global PocketNet global PocketNet
global parler ; global parler
global Gettr global Gettr
global steemit global steemit
; global Pintrest ; global Pintrest
@ -312,9 +312,9 @@ if(StrLen(ErrorLoggingDirectory) > 5 and !InStr(ErrorLoggingDirectory, ".exe")){
(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 := 1)
(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)
(PocketNet != "")?(PocketNetCheckStatus := 0) : (PocketNetCheckStatus := 1) (PocketNet != "")?(PocketNetCheckStatus := 0) : (PocketNetCheckStatus := 1)
; (Tumblr != "")?(TumblrCheckStatus := 0) : (TumblrCheckStatus := 1) ; (Tumblr != "")?(TumblrCheckStatus := 0) : (TumblrCheckStatus := 1)
@ -333,9 +333,9 @@ if(TestingMode){ ; Easy testing for Yuriy
MeWeCheckStatus := 0 MeWeCheckStatus := 0
TwetchCheckStatus := 0 TwetchCheckStatus := 0
ThinkSpotCheckStatus := 0 ThinkSpotCheckStatus := 0
FloteCheckStatus := 0 ; FloteCheckStatus := 0
; PintrestCheckStatus := 0 ; PintrestCheckStatus := 0
ParlerCheckStatus := 0 ; ParlerCheckStatus := 0
PocketNetCheckStatus := 0 PocketNetCheckStatus := 0
; TumblrCheckStatus := 0 ; TumblrCheckStatus := 0
; PocketNetCheckStatus := 0 ; PocketNetCheckStatus := 0
@ -355,6 +355,7 @@ if(AutoUpdateCheck AND !SkipUpdateCheckThisRun){
TooltipXPosition := Round((A_ScreenWidth / 2) - (A_ScreenWidth / 10)) ; Center Tooltip on the screen and a bit to the left TooltipXPosition := Round((A_ScreenWidth / 2) - (A_ScreenWidth / 10)) ; Center Tooltip on the screen and a bit to the left
GuiWidth := 1366 GuiWidth := 1366
GuiFontSize := 10
TemplatesGroupBoxWidth := 700 TemplatesGroupBoxWidth := 700
MarginSpace = 10 MarginSpace = 10
MarginSpaceDoubled := MarginSpace * 2 MarginSpaceDoubled := MarginSpace * 2
@ -511,8 +512,8 @@ Gui, Add, Checkbox, y+7 vMeWe Checked%MeWeCheckStatus% gUpdateVars, MeWe
Gui, Add, Checkbox, x+75 yp-210 vLinkedIn Checked%LinkedINCheckStatus% gUpdateVars, LinkedIn Gui, Add, Checkbox, x+75 yp-210 vLinkedIn Checked%LinkedINCheckStatus% gUpdateVars, LinkedIn
; Gui, Add, Checkbox, y+7 vLinkedIn Checked%LinkedINCheckStatus% gUpdateVars, LinkedIn ; Gui, Add, Checkbox, y+7 vLinkedIn Checked%LinkedINCheckStatus% gUpdateVars, LinkedIn
Gui, Add, Checkbox, y+7 vThinkspot Checked%ThinkSpotCheckStatus% gUpdateVars, Thinkspot Gui, Add, Checkbox, y+7 vThinkspot Checked%ThinkSpotCheckStatus% gUpdateVars, Thinkspot
Gui, Add, Checkbox, y+7 vFlote Checked%FloteCheckStatus% gUpdateVars, Flote ; Gui, Add, Checkbox, y+7 vFlote Checked%FloteCheckStatus% gUpdateVars, Flote
Gui, Add, Checkbox, y+7 vParler Checked%ParlerCheckStatus% gUpdateVars, Parler ; Gui, Add, Checkbox, y+7 vParler Checked%ParlerCheckStatus% gUpdateVars, Parler
Gui, Add, Checkbox, y+7 vSteemit Checked%SteemitCheckStatus% gUpdateVars, Steemit Gui, Add, Checkbox, y+7 vSteemit Checked%SteemitCheckStatus% gUpdateVars, Steemit
; Gui, Add, Checkbox, y+7 vPintrest Checked%PintrestCheckStatus% gUpdateVars, Pintrest ; Gui, Add, Checkbox, y+7 vPintrest Checked%PintrestCheckStatus% gUpdateVars, Pintrest
Gui, Add, Checkbox, y+7 vPocketNet Checked%PocketNetCheckStatus% , Bastyon Gui, Add, Checkbox, y+7 vPocketNet Checked%PocketNetCheckStatus% , Bastyon
@ -531,9 +532,11 @@ Gui, Add, Button, x%PlatformsGroupBoxXLocation% y+20 w300 h30 gSchedulePost, Sch
; Gui, Font, s%GUINormalFontSize% ; Gui, Font, s%GUINormalFontSize%
gui, font, s6 gui, font, s6
gui, font, normal
Gui, Add, StatusBar,, Total Posts Posted: %TotalPostsPosted% | Total Run Time: %TotalRunTime% Seconds | Gui, Add, StatusBar,, Total Posts Posted: %TotalPostsPosted% | Total Run Time: %TotalRunTime% Seconds |
Gui, Show,,%FullScriptName% ; ,w%GuiWidth%, %ScriptName% ; easier to just let the gui size be as needed instead of trying to recalculate the size each time an element is added
Gui, Show,,%FullScriptName% ; , w%GuiWidth%, %ScriptName%
ControlFocus, Edit1, %FullScriptName% ControlFocus, Edit1, %FullScriptName%
;---Check for Update--- ;---Check for Update---
@ -804,10 +807,10 @@ IniWrite, %ShowTooltipProgress%, %SettingsIniFilepath%, SocialMediaPoster, ShowT
(LinkedIn = 1)?(PostedWebsites .= "LinkedIn|") : () (LinkedIn = 1)?(PostedWebsites .= "LinkedIn|") : ()
(Twetch = 1)?(PostedWebsites .= "Twetch|") : () (Twetch = 1)?(PostedWebsites .= "Twetch|") : ()
(ThinkSpot = 1)?(PostedWebsites .= "ThinkSpot|") : () (ThinkSpot = 1)?(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|") : ()
(Parler = 1)?(PostedWebsites .= "Parler|") : () ; (Parler = 1)?(PostedWebsites .= "Parler|") : ()
(Steemit = 1)?(PostedWebsites .= "Steemit|") : () (Steemit = 1)?(PostedWebsites .= "Steemit|") : ()
(Pintrest = 1)?(PostedWebsites .= "Pintrest|") : () (Pintrest = 1)?(PostedWebsites .= "Pintrest|") : ()
(Tumblr = 1)?(PostedWebsites .= "Tumblr|") : () (Tumblr = 1)?(PostedWebsites .= "Tumblr|") : ()
@ -858,8 +861,8 @@ if(Discord)
Gosub, PostToDiscord Gosub, PostToDiscord
if(Telegram) if(Telegram)
Gosub, PostToTelegram Gosub, PostToTelegram
if(Parler) ; if(Parler)
Gosub, PostToParler ; Gosub, PostToParler
if(SubscribeStar) if(SubscribeStar)
Gosub, PostToSubscribeStar Gosub, PostToSubscribeStar
if(Minds) if(Minds)
@ -874,8 +877,8 @@ if(Twetch)
Gosub, PostToTwetch Gosub, PostToTwetch
if(Thinkspot) if(Thinkspot)
Gosub, PostToThinkSpot Gosub, PostToThinkSpot
if(Flote) ; if(Flote)
Gosub, PostToFlote ; Gosub, PostToFlote
if(Locals) if(Locals)
Gosub, PostToLocals Gosub, PostToLocals
/*if(Parler) /*if(Parler)
@ -988,11 +991,11 @@ Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %ThinkSpot%
Gui, Font, s%GUINormalFontSize% Gui, Font, s%GUINormalFontSize%
Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Flote ; Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Flote
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Flote% ; Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Flote%
Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% gActivateParlerTab Center, Parler ; Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% gActivateParlerTab Center, Parler
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Parler% ; Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Parler%
Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Steemit Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Steemit
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Steemit% Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Steemit%
@ -3156,6 +3159,9 @@ if(InStr(CurrentTabURL, "/onboarding"))
; Xpath = ///div[@id='textarea-post'] ; Xpath = ///div[@id='textarea-post']
Xpath = //*[contains(text(),'What's new?')] Xpath = //*[contains(text(),'What's new?')]
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000) Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000)
; double click, first click fails sometimes
sleep, 500
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000)
; Input image ; Input image
if(ImageAttachmentFilepath != ""){ if(ImageAttachmentFilepath != ""){
@ -3205,7 +3211,7 @@ Loop % StrLengthOfPost{
; Gettr_Index_Of_Line_Post := GettrPostArray[A_index] ; Gettr_Index_Of_Line_Post := GettrPostArray[A_index]
; DevModeMsgBox(Gettr_Index_Of_Line_Post) ; DevModeMsgBox(Gettr_Index_Of_Line_Post)
Status := Selenium_LoopToSendValueToXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=100,StringTextContent:=Current_Char) Status := Selenium_LoopToSendValueToXpath(Xpath:=Xpath,NumOfLoops:=1,SleepLength:=100,StringTextContent:=Current_Char)
if(Status){ if(Status){
Message = Failed to Input Text Message = Failed to Input Text
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging") SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
@ -3909,7 +3915,7 @@ PauseBetweenPosts(){
ReadWebsiteStatuses(){ ReadWebsiteStatuses(){
; Read status of each website and save them to variables to be used in GUI ; Read status of each website and save them to variables to be used in GUI
IniRead, Gettr, %StatusFileFilePath%, Status, Gettr, %A_Space% IniRead, Gettr, %StatusFileFilePath%, Status, Gettr, %A_Space%
IniRead, Parler, %StatusFileFilePath%, Status, Parler, %A_Space% ; IniRead, Parler, %StatusFileFilePath%, Status, Parler, %A_Space%
IniRead, Steemit, %StatusFileFilePath%, Status, Steemit, %A_Space% IniRead, Steemit, %StatusFileFilePath%, Status, Steemit, %A_Space%
IniRead, Discord, %StatusFileFilePath%, Status, Discord, %A_Space% IniRead, Discord, %StatusFileFilePath%, Status, Discord, %A_Space%
IniRead, SubScribeStar, %StatusFileFilePath%, Status, SubScribeStar, %A_Space% IniRead, SubScribeStar, %StatusFileFilePath%, Status, SubScribeStar, %A_Space%
@ -3921,7 +3927,7 @@ ReadWebsiteStatuses(){
IniRead, MeWe, %StatusFileFilePath%, Status, MeWe, %A_Space% IniRead, MeWe, %StatusFileFilePath%, Status, MeWe, %A_Space%
IniRead, Twetch, %StatusFileFilePath%, Status, Twetch, %A_Space% IniRead, Twetch, %StatusFileFilePath%, Status, Twetch, %A_Space%
IniRead, ThinkSpot, %StatusFileFilePath%, Status, ThinkSpot, %A_Space% IniRead, ThinkSpot, %StatusFileFilePath%, Status, ThinkSpot, %A_Space%
IniRead, Flote, %StatusFileFilePath%, Status, Flote, %A_Space% ; IniRead, Flote, %StatusFileFilePath%, Status, Flote, %A_Space%
IniRead, PocketNet, %StatusFileFilePath%, Status, PocketNet, %A_Space% IniRead, PocketNet, %StatusFileFilePath%, Status, PocketNet, %A_Space%
; IniRead, Pintrest, %StatusFileFilePath%, Status, Pintrest, %A_Space% ; IniRead, Pintrest, %StatusFileFilePath%, Status, Pintrest, %A_Space%
; IniRead, Tumblr, %StatusFileFilePath%, Status, Tumblr, %A_Space% ; IniRead, Tumblr, %StatusFileFilePath%, Status, Tumblr, %A_Space%

Loading…
Cancel
Save