|
|
@ -348,27 +348,27 @@ TooltipXPosition := Round((A_ScreenWidth / 2) - (A_ScreenWidth / 10)) ; Center T
|
|
|
|
GuiWidth := 1366
|
|
|
|
GuiWidth := 1366
|
|
|
|
GuiFontSize := 10
|
|
|
|
GuiFontSize := 10
|
|
|
|
TemplatesGroupBoxWidth := 700
|
|
|
|
TemplatesGroupBoxWidth := 700
|
|
|
|
MarginSpace = 10
|
|
|
|
MarginSize = 10
|
|
|
|
MarginSpaceDoubled := MarginSpace * 2
|
|
|
|
MarginSizeDoubled := MarginSize * 2
|
|
|
|
EditBoxWidth := 700
|
|
|
|
EditBoxWidth := 700
|
|
|
|
EditBoxHalfWidths := EditBoxWidth / 2 - (MarginSpace * 1.7)
|
|
|
|
EditBoxHalfWidths := EditBoxWidth / 2 - (MarginSize * 1.7)
|
|
|
|
EditBoxThirdsWidth := EditBoxWidth / 3 - (MarginSpace * 1.5)
|
|
|
|
EditBoxThirdsWidth := EditBoxWidth / 3 - (MarginSize * 1.5)
|
|
|
|
GroupBox_PlatformsWidth := 180
|
|
|
|
GroupBox_PlatformsWidth := 180
|
|
|
|
ImageSelectionButtonWidth := 100
|
|
|
|
ImageSelectionButtonWidth := 100
|
|
|
|
ImageFilepathEditBoxWidth := EditBoxWidth - ImageSelectionButtonWidth - MarginSpace
|
|
|
|
ImageFilepathEditBoxWidth := EditBoxWidth - ImageSelectionButtonWidth - MarginSize
|
|
|
|
SelectFileButtonWidth := 50
|
|
|
|
SelectFileButtonWidth := 50
|
|
|
|
SelectFileButtonXPos := EditBoxWidth - SelectFileButtonWidth - MarginSpace
|
|
|
|
SelectFileButtonXPos := EditBoxWidth - SelectFileButtonWidth - MarginSize
|
|
|
|
CharCountXPos := EditBoxWidth - 20
|
|
|
|
CharCountXPos := EditBoxWidth - 20
|
|
|
|
; FilePathEditBoxWidth := EditBoxWidth - SelectFileButtonWidth - MarginSpace
|
|
|
|
; FilePathEditBoxWidth := EditBoxWidth - SelectFileButtonWidth - MarginSize
|
|
|
|
|
|
|
|
|
|
|
|
PlatformsGroupBoxXLocation := EditBoxWidth + (MarginSpace * 3)
|
|
|
|
PlatformsGroupBoxXLocation := EditBoxWidth + (MarginSize * 3)
|
|
|
|
; SettingsGroupBoxXLocation := PlatformsGroupBoxXLocation + ActionButtonWidths
|
|
|
|
; SettingsGroupBoxXLocation := PlatformsGroupBoxXLocation + ActionButtonWidths
|
|
|
|
SettingsGroupBoxXLocation := PlatformsGroupBoxXLocation + GroupBox_PlatformsWidth
|
|
|
|
SettingsGroupBoxXLocation := PlatformsGroupBoxXLocation + GroupBox_PlatformsWidth
|
|
|
|
ActionButtonWidths := 355
|
|
|
|
ActionButtonWidths := 355
|
|
|
|
|
|
|
|
|
|
|
|
ActionButtonHalfWidths := (ActionButtonWidths / 2) - (MarginSpace / 2)
|
|
|
|
ActionButtonHalfWidths := (ActionButtonWidths / 2) - (MarginSize / 2)
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Margin, %MarginSpace%, %MarginSpace%
|
|
|
|
Gui, Margin, %MarginSize%, %MarginSize%
|
|
|
|
GUINormalFontSize := 15
|
|
|
|
GUINormalFontSize := 15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -380,7 +380,7 @@ GUINormalFontSize := 15
|
|
|
|
Gui, Font, s10
|
|
|
|
Gui, Font, s10
|
|
|
|
; Gui, Font, s8
|
|
|
|
; Gui, Font, s8
|
|
|
|
if(TestingMode){
|
|
|
|
if(TestingMode){
|
|
|
|
Gui, Add, Text,cRed yp+0 x%MarginSpace% ,TESTING MODE
|
|
|
|
Gui, Add, Text,cRed yp+0 x%MarginSize% ,TESTING MODE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(DevMode){
|
|
|
|
if(DevMode){
|
|
|
|
Gui, Add, Text,cRed yp+0 x+30 ,DEV MODE
|
|
|
|
Gui, Add, Text,cRed yp+0 x+30 ,DEV MODE
|
|
|
@ -389,32 +389,32 @@ if(DevMode){
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Add, Text, x%Marginspace% y+5, Post Title
|
|
|
|
Gui, Add, Text, x%MarginSize% y+5, Post Title
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Add, Button, x+%MarginSpace% gPasteClipboardToEditBox vPasteClipboardToSMPTitle, Paste Clipboard
|
|
|
|
Gui, Add, Button, x+%MarginSize% gPasteClipboardToEditBox vPasteClipboardToSMPTitle, Paste Clipboard
|
|
|
|
Gui, Add, Checkbox, xp+120 vBoldTitleWAPI Checked%BoldTitleCheckStatus% gUpdateVars,Bold Title on Discord/Telegram
|
|
|
|
Gui, Add, Checkbox, xp+120 vBoldTitleWAPI Checked%BoldTitleCheckStatus% gUpdateVars,Bold Title on Discord/Telegram
|
|
|
|
Gui, Add, Checkbox, xp+220 vNewLineBetweenTitle Checked%SpaceBetweenTitleBodyCheckStatus% gUpdateVars,Blank Line Between Title+Body
|
|
|
|
Gui, Add, Checkbox, xp+220 vNewLineBetweenTitle Checked%SpaceBetweenTitleBodyCheckStatus% gUpdateVars,Blank Line Between Title+Body
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Add, Edit, x%MarginSpace% y+%marginspace% w%EditBoxWidth% vPostTitle gUpdateCharCount h50, %PostTitle%
|
|
|
|
Gui, Add, Edit, x%MarginSize% y+%MarginSize% w%EditBoxWidth% vPostTitle gUpdateCharCount h50, %PostTitle%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Add, Text,, Post Body
|
|
|
|
Gui, Add, Text,, Post Body
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Add, Button, x+%MarginSpace% gPasteClipboardToEditBox vPasteClipboardToSMPBody, Paste Clipboard
|
|
|
|
Gui, Add, Button, x+%MarginSize% gPasteClipboardToEditBox vPasteClipboardToSMPBody, Paste Clipboard
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Add, Edit, x%MarginSpace% y+2 w%EditBoxWidth% h200 vPostBody gUpdateCharCount, %PostBody%
|
|
|
|
Gui, Add, Edit, x%MarginSize% y+2 w%EditBoxWidth% h200 vPostBody gUpdateCharCount, %PostBody%
|
|
|
|
|
|
|
|
|
|
|
|
; Gui, font, color, cblack
|
|
|
|
; Gui, font, color, cblack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Add, Text, x%marginspace% y+%MarginSpace% w%EditBoxWidth% ,Tags
|
|
|
|
Gui, Add, Text, x%MarginSize% y+%MarginSize% w%EditBoxWidth% ,Tags
|
|
|
|
Gui, Font, s7
|
|
|
|
Gui, Font, s7
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Add, Text, x65 yp+7, (Required by Steemit, Bastyon, )
|
|
|
|
Gui, Add, Text, x65 yp+7, (Required by Steemit, Bastyon, )
|
|
|
@ -425,37 +425,39 @@ Gui, Add, Edit,yp-5 x%CharCountXPos% w30 vCharCount,
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Add, Edit, x%MarginSpace% y+10 vPostTags gUpdateVars h33 w%EditBoxWidth%, %PostTags%
|
|
|
|
Gui, Add, Edit, x%MarginSize% y+10 vPostTags gUpdateVars h33 w%EditBoxWidth%, %PostTags%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Add, Text,x%marginspace% w%EditBoxWidth%, Image Attachment Filepath
|
|
|
|
Gui, Add, Text,x%MarginSize% w%EditBoxWidth%, Image Attachment Filepath
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Add, Edit, x%MarginSpace% y+2 vImageAttachmentFilepath gUpdateVars h33 w%ImageFilepathEditBoxWidth%, %ImageAttachmentFilepath%
|
|
|
|
Gui, Add, Edit, x%MarginSize% y+2 vImageAttachmentFilepath gUpdateVars h33 w%ImageFilepathEditBoxWidth%, %ImageAttachmentFilepath%
|
|
|
|
Gui, Add, Button, gSelectFilepath w%ImageSelectionButtonWidth% x+M yp+0 h33, Select
|
|
|
|
Gui, Add, Button, gSelectFilepath w%ImageSelectionButtonWidth% x+M yp+0 h33, Select
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Add, GroupBox,r2.5 x%MarginSpace% y+20 Center w%TemplatesGroupBoxWidth%, Other
|
|
|
|
Gui, Add, GroupBox,r2.5 x%MarginSize% y+20 Center w%TemplatesGroupBoxWidth%, Other
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Add, Button,xp+%Marginspace% yp+35 w%EditBoxThirdsWidth% h30 gSaveAsTemplate, Save As Template
|
|
|
|
Gui, Add, Button,xp+%MarginSize% yp+35 w%EditBoxThirdsWidth% h30 gSaveAsTemplate, Save As Template
|
|
|
|
Gui, Add, Button,x+%MarginSpace% w%EditBoxThirdsWidth% h30 gLoadTemplate, Load Template
|
|
|
|
Gui, Add, Button,x+%MarginSize% w%EditBoxThirdsWidth% h30 gLoadTemplate, Load Template
|
|
|
|
Gui, Add, Button, x+%MarginSpace% w%EditBoxThirdsWidth% h30 gLoadLastPost, Load Last Post
|
|
|
|
Gui, Add, Button, x+%MarginSize% w%EditBoxThirdsWidth% h30 gLoadLastPost, Load Last Post
|
|
|
|
|
|
|
|
|
|
|
|
if(UpdateAvailable)
|
|
|
|
/*if(UpdateAvailable)
|
|
|
|
Gui, Add, Button, x%MarginSpaceDoubled% y+%MarginSpace% w%EditBoxHalfWidths% h30 gUpdateScript vUpdateAvailable, Update Available: %UpdateVersionNumber%
|
|
|
|
Gui, Add, Button, x%MarginSizeDoubled% y+%MarginSize% w%EditBoxHalfWidths% h30 gUpdateScript vUpdateAvailable, Update Available: %UpdateVersionNumber%
|
|
|
|
else,
|
|
|
|
else,
|
|
|
|
Gui, Add, Button, x%MarginSpaceDoubled% y+%MarginSpace% w%EditBoxHalfWidths% h30 gUpdateScript vUpdateAvailable, Poster Up-to-Date
|
|
|
|
*/
|
|
|
|
|
|
|
|
Gui, Add, Button, x%MarginSizeDoubled% y+%MarginSize% w%EditBoxHalfWidths% h30 gUpdateScript vUpdateAvailable, %ScriptAbbreviatedName% Up-to-Date
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
if(ChromeUpdateAvailable)
|
|
|
|
if(ChromeUpdateAvailable)
|
|
|
|
Gui, Add, Button,x+%MarginSpace% yp+0 w%EditBoxHalfWidths% h30 vChromeUpdateAvailable gUpdateChrome, Chrome Update Available!
|
|
|
|
Gui, Add, Button,x+%MarginSize% yp+0 w%EditBoxHalfWidths% h30 vChromeUpdateAvailable gUpdateChrome, Chrome Update Available!
|
|
|
|
else,
|
|
|
|
else,
|
|
|
|
Gui, Add, Button,x+%MarginSpace% yp+0 w%EditBoxHalfWidths% h30 vChromeUpdateAvailable gUpdateChrome , Chrome Up-to-Date
|
|
|
|
*/
|
|
|
|
|
|
|
|
Gui, Add, Button,x+%MarginSize% yp+0 w%EditBoxHalfWidths% h30 vChromeUpdateAvailable gUpdateChrome , Chrome Up-to-Date
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(DevMode){
|
|
|
|
if(DevMode){
|
|
|
|
Gui, Add, Button, x%MarginSpace% y+10 w%EditBoxThirdsWidth% h30 gOpenErrorLog, OpenErrorLog
|
|
|
|
Gui, Add, Button, x%MarginSize% y+10 w%EditBoxThirdsWidth% h30 gOpenErrorLog, OpenErrorLog
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -608,31 +610,6 @@ UpdateScript()
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UpdateChrome:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(CheckForChromeUpdates = "")
|
|
|
|
|
|
|
|
Status := CheckForChromeUpdates(ChromeFilepath)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!status){
|
|
|
|
|
|
|
|
OnMessage(0x44, "OnMsgBoxConfirmChromiumOverwrite")
|
|
|
|
|
|
|
|
MsgBox 0x41, Already Up-to-Date, Yor current Chromium version is already up to date. `nDo you want to download and overwrite it?
|
|
|
|
|
|
|
|
OnMessage(0x44, "")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IfMsgBox OK, {
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
} Else IfMsgBox Cancel, {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Status := DownloadLatestChromium()
|
|
|
|
|
|
|
|
if(Status)
|
|
|
|
|
|
|
|
GuiControl,,ChromeUpdateAvailable, Chrome Up-to-Dat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
@ -642,9 +619,6 @@ GuiClose:
|
|
|
|
Gui, Submit,
|
|
|
|
Gui, Submit,
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
OpenErrorLog:
|
|
|
|
|
|
|
|
run, %ErrorLoggingDirectory%
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ToggleTestingMode:
|
|
|
|
ToggleTestingMode:
|
|
|
|
ToggleTestingMode()
|
|
|
|
ToggleTestingMode()
|
|
|
@ -661,9 +635,6 @@ ToggleDevMode()
|
|
|
|
run, "%A_ScriptFullPath%" "LastPost"
|
|
|
|
run, "%A_ScriptFullPath%" "LastPost"
|
|
|
|
Return
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
OpenGiteaPage:
|
|
|
|
|
|
|
|
run, https://freedomain.dev/yuriy/social-media-poster
|
|
|
|
|
|
|
|
Return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CompileScript:
|
|
|
|
CompileScript:
|
|
|
|
; msgbox, compiling
|
|
|
|
; msgbox, compiling
|
|
|
@ -711,8 +682,8 @@ Gui, Destroy
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, s20
|
|
|
|
Gui, Font, s20
|
|
|
|
Gui, Add, Text, Center w350 x%marginspace%,Time to Post At
|
|
|
|
Gui, Add, Text, Center w350 x%MarginSize%,Time to Post At
|
|
|
|
Gui, Add, DateTime, x%marginspace% vScheduledTime gUpdateVars w350, hh:mm tt
|
|
|
|
Gui, Add, DateTime, x%MarginSize% vScheduledTime gUpdateVars w350, hh:mm tt
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Add, Checkbox, vDisplayCountdownTooltip gUpdateVars checked, Display Tooltip with Countdown
|
|
|
|
Gui, Add, Checkbox, vDisplayCountdownTooltip gUpdateVars checked, Display Tooltip with Countdown
|
|
|
|
Gui, Font, s20
|
|
|
|
Gui, Font, s20
|
|
|
@ -759,7 +730,6 @@ if(InStr(ErrorLoggingDirectory, "\Templates\") OR ErrorLoggingDirectory = "" OR
|
|
|
|
|
|
|
|
|
|
|
|
; Save Script Settings to File
|
|
|
|
; Save Script Settings to File
|
|
|
|
; ------------------------------------------------
|
|
|
|
; ------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
IniWrite, %XPosition%, %SettingsIniFilepath%, %ScriptSettingsSection%, XPosition
|
|
|
|
IniWrite, %XPosition%, %SettingsIniFilepath%, %ScriptSettingsSection%, XPosition
|
|
|
|
IniWrite, %YPosition%, %SettingsIniFilepath%, %ScriptSettingsSection%, YPosition
|
|
|
|
IniWrite, %YPosition%, %SettingsIniFilepath%, %ScriptSettingsSection%, YPosition
|
|
|
|
|
|
|
|
|
|
|
@ -775,7 +745,7 @@ IniWrite, %ErrorLoggingDirectory%, %SettingsIniFilepath%, %ScriptSettingsSection
|
|
|
|
IniWrite, %ConfirmBeforeSubmit%, %SettingsIniFilepath%, %ScriptSettingsSection%, ConfirmBeforeSubmit
|
|
|
|
IniWrite, %ConfirmBeforeSubmit%, %SettingsIniFilepath%, %ScriptSettingsSection%, ConfirmBeforeSubmit
|
|
|
|
; IniWrite, %SaveGUIPosition%, %SettingsIniFilepath%, %ScriptSettingsSection%, SaveGUIPosition
|
|
|
|
; IniWrite, %SaveGUIPosition%, %SettingsIniFilepath%, %ScriptSettingsSection%, SaveGUIPosition
|
|
|
|
|
|
|
|
|
|
|
|
; Used by Post Scheduler, filepath changes between script updates
|
|
|
|
; Used by Post Scheduler, VU, Livestream Scheduler. Filepath changes between script updates
|
|
|
|
IniWrite, %A_ScriptFullPath%, %SettingsIniFilepath%, Filepaths, SocialMediaPosterFilepath
|
|
|
|
IniWrite, %A_ScriptFullPath%, %SettingsIniFilepath%, Filepaths, SocialMediaPosterFilepath
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -825,11 +795,8 @@ 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 = 0)?(PostedWebsites .= "ThinkSpot|") : ()
|
|
|
|
|
|
|
|
; (Flote = 1)?(PostedWebsites .= "Flote|") : ()
|
|
|
|
|
|
|
|
(PocketNet = 1)?(PostedWebsites .= "PocketNet|") : ()
|
|
|
|
(PocketNet = 1)?(PostedWebsites .= "PocketNet|") : ()
|
|
|
|
(Gettr = 1)?(PostedWebsites .= "Gettr|") : ()
|
|
|
|
(Gettr = 1)?(PostedWebsites .= "Gettr|") : ()
|
|
|
|
; (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|") : ()
|
|
|
@ -838,16 +805,11 @@ Message = Starting SMP with: **V%ScriptVersion%** `nTo sites: %PostedWebsites% `
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(InStr(PostBody, "www.dlive.tv") AND !InStr(PostBody, "https://www.dlive.tv")){ ; if posting Dlive link, turn it into hyperlink
|
|
|
|
if(InStr(PostBody, "www.dlive.tv") AND !InStr(PostBody, "https://www.dlive.tv")){ ; if posting Dlive link, turn it into hyperlink
|
|
|
|
PostBody := StrReplace(PostBody, "www.dlive.tv", "https://www.dlive.tv")
|
|
|
|
PostBody := StrReplace(PostBody, "www.dlive.tv", "https://www.dlive.tv")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Msgbox % "PostTitleAndBody: " PostTitleAndBody
|
|
|
|
|
|
|
|
; 20211023060415
|
|
|
|
|
|
|
|
if(ScheduledPost){
|
|
|
|
if(ScheduledPost){
|
|
|
|
; CheckSeleniumDriver()
|
|
|
|
; CheckSeleniumDriver()
|
|
|
|
; Menu, Tray, Icon, %A_ScriptDir%\Lib\FreedomainShare_Scheduled.ico
|
|
|
|
; Menu, Tray, Icon, %A_ScriptDir%\Lib\FreedomainShare_Scheduled.ico
|
|
|
@ -944,9 +906,9 @@ WebsiteButtonWidths = 115
|
|
|
|
WebsiteStatusEditWidths = 150
|
|
|
|
WebsiteStatusEditWidths = 150
|
|
|
|
|
|
|
|
|
|
|
|
StatusTextWidth := (WebsiteButtonWidths + WebsiteStatusEditWidths) * 2
|
|
|
|
StatusTextWidth := (WebsiteButtonWidths + WebsiteStatusEditWidths) * 2
|
|
|
|
StatusTextSecondRowXPos := WebsiteStatusEditWidths + WebsiteButtonWidths + (MarginSpace * 4)
|
|
|
|
StatusTextSecondRowXPos := WebsiteStatusEditWidths + WebsiteButtonWidths + (MarginSize * 4)
|
|
|
|
ErrorSummaryLogXPos := StatusTextSecondRowXPos + WebsiteStatusEditWidths + WebsiteButtonWidths + (MarginSpace * 2)
|
|
|
|
ErrorSummaryLogXPos := StatusTextSecondRowXPos + WebsiteStatusEditWidths + WebsiteButtonWidths + (MarginSize * 2)
|
|
|
|
ErrorSummaryLogSplitLineXPos := ErrorSummaryLogXPos - (MarginSpace)
|
|
|
|
ErrorSummaryLogSplitLineXPos := ErrorSummaryLogXPos - (MarginSize)
|
|
|
|
ErrorLogSummaryWidth := 385
|
|
|
|
ErrorLogSummaryWidth := 385
|
|
|
|
ErrorLogSummaryHeight := 480
|
|
|
|
ErrorLogSummaryHeight := 480
|
|
|
|
ButtonHeights := 30
|
|
|
|
ButtonHeights := 30
|
|
|
@ -956,40 +918,40 @@ ButtonHeights := 30
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Add, Text,w%StatusTextWidth% y%MarginSpace% Center, Status
|
|
|
|
Gui, Add, Text,w%StatusTextWidth% y%MarginSize% Center, Status
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% y40 w%WebsiteButtonWidths% Center h%ButtonHeights%, Discord
|
|
|
|
Gui, Add, Button,x%MarginSize% y40 w%WebsiteButtonWidths% Center h%ButtonHeights%, Discord
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Discord%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Discord%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% Center h%ButtonHeights%, Telegram
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% Center h%ButtonHeights%, Telegram
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Telegram%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Telegram%
|
|
|
|
|
|
|
|
|
|
|
|
gui, font, s8
|
|
|
|
gui, font, s8
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% Center h%ButtonHeights%, SubScribeStar
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% Center h%ButtonHeights%, SubScribeStar
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %SubscribeStar%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %SubscribeStar%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Minds
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Minds
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Minds%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Minds%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Gab
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Gab
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Gab%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Gab%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Locals
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Locals
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Locals%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Locals%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Gettr
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Gettr
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Gettr%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Gettr%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths%Center h%ButtonHeights%, Twetch
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths%Center h%ButtonHeights%, Twetch
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Twetch%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Twetch%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, LinkedIn
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, LinkedIn
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %LinkedIn%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %LinkedIn%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, MeWe
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, MeWe
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %MeWe%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %MeWe%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1002,51 +964,53 @@ Gui, Font, s%GUINormalFontSize%
|
|
|
|
|
|
|
|
|
|
|
|
; 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+%MarginSize% 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+%MarginSize% 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%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Steemit
|
|
|
|
Gui, Add, Button,x%MarginSize% 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%
|
|
|
|
|
|
|
|
|
|
|
|
; Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Pintrest
|
|
|
|
; Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Pintrest
|
|
|
|
; Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Pintrest%
|
|
|
|
; Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Pintrest%
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Bastyon
|
|
|
|
Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Bastyon
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %PocketNet%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %PocketNet%
|
|
|
|
|
|
|
|
|
|
|
|
; Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, Tumblr
|
|
|
|
; Gui, Add, Button,x%StatusTextSecondRowXPos% y+%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Tumblr
|
|
|
|
; Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Tumblr%
|
|
|
|
; Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Tumblr%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Gui, Font, s9
|
|
|
|
; Gui, Font, s9
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
Gui, Add, Button, x%MarginSpace% y+20 w165 h50 gCancelPost, Close
|
|
|
|
Gui, Add, Button, x%MarginSize% y+20 w165 h50 gCancelPost, Close
|
|
|
|
Gui, Add, Button, x+%Marginspace% w215 h50 gSendErrorLoggingThroughTelegram, Telegram Detailed Errorlog
|
|
|
|
Gui, Add, Button, x+%MarginSize% w215 h50 gSendErrorLoggingThroughTelegram, Telegram Detailed Errorlog
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, s8
|
|
|
|
Gui, Font, s10
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y40 w270 h40 Center gCopyPostToClipboard, Copy Post To Clipboard `nFor Easy Pasting to Other Sites
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y40 w270 h40 Center gCopyPostToClipboard, Copy Post To Clipboard
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y+%marginspace% w270 h40 Center gCopyImageFilepathToClipboard, Copy Image Filepath To Clipboard
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y+%MarginSize% w270 h40 Center gCopyImageFilepathToClipboard, Copy Image Filepath To Clipboard
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y+%marginspace% h50 w270 h80 gTryFailedAgain, Try Failed Again
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y+%MarginSize% w270 h40 gOpenGiteaPage, Report Bug
|
|
|
|
|
|
|
|
Gui, Add, Button, x%StatusTextSecondRowXPos% y+%MarginSize% w270 h80 gTryFailedAgain, Try Failed Again
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*Gui, Add, Button,x%MarginSpace% w%WebsiteButtonWidths% h%ButtonHeights% Center, PocketNet
|
|
|
|
/*Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, PocketNet
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %PocketNet%
|
|
|
|
Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %PocketNet%
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, Bold
|
|
|
|
Gui, Font, Bold
|
|
|
|
; gui, add, text, x%ErrorSummaryLogSplitLineXPos% y20 h200 0x11 ; 0x11 is a "line" ; refer to here: https://autohotkey.com/board/topic/50910-draw-line-gui/
|
|
|
|
; gui, add, text, x%ErrorSummaryLogSplitLineXPos% y20 h200 0x11 ; 0x11 is a "line" ; refer to here: https://autohotkey.com/board/topic/50910-draw-line-gui/
|
|
|
|
Gui, Add, Text, x%ErrorSummaryLogXPos% y%MarginSpace% w%ErrorLogSummaryWidth% Center, Error Log Summary
|
|
|
|
Gui, Add, Text, x%ErrorSummaryLogXPos% y%MarginSize% w%ErrorLogSummaryWidth% Center, Error Log Summary
|
|
|
|
|
|
|
|
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, Normal
|
|
|
|
Gui, Font, s10
|
|
|
|
Gui, Font, s10
|
|
|
|
Gui, Add, Edit, x%ErrorSummaryLogXPos% y+%MarginSpace% w%ErrorLogSummaryWidth% h%ErrorLogSummaryHeight%, %ErrorLogVar%
|
|
|
|
Gui, Add, Edit, x%ErrorSummaryLogXPos% y+%MarginSize% w%ErrorLogSummaryWidth% h%ErrorLogSummaryHeight%, %ErrorLogVar%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
Gui, Font, s%GUINormalFontSize%
|
|
|
|
|
|
|
|
|
|
|
|
gui, font, s6
|
|
|
|
gui, font, s6
|
|
|
|