From 89478b3ded8598839e52da8c40c0314253f37ece Mon Sep 17 00:00:00 2001 From: Yuriy Date: Sun, 10 Nov 2024 16:38:34 -0500 Subject: [PATCH] added substack status to results window --- Freedomain Social Media Poster.ahk | 14 ++++++++++++++ Version.ini | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Freedomain Social Media Poster.ahk b/Freedomain Social Media Poster.ahk index d982750..325155b 100644 --- a/Freedomain Social Media Poster.ahk +++ b/Freedomain Social Media Poster.ahk @@ -508,6 +508,7 @@ Gui, Add, Checkbox, y+7 vPocketNet Checked%PocketNetCheckStatus% , Bastyon Gui, Add, Checkbox, y+7 vGettr Checked%GettrCheckStatus% gUpdateVars, Gettr Gui, Add, Checkbox, y+7 vMeWe Checked%MeWeCheckStatus% gUpdateVars, MeWe Gui, Add, Checkbox, y+7 vTumblr Checked%Tumblr% gUpdateVars, Tumblr +Gui, Add, Checkbox, y+7 vSubstack Checked%Substack% gUpdateVars, SubStack Gui, Font, Bold @@ -653,6 +654,7 @@ GuiControl,,Bastyon, 0 GuiControl,,Gettr, 0 GuiControl,,MeWe, 0 GuiControl,,Tumblr, 0 +GuiControl,,Substack, 0 Return UpdateVars: @@ -799,6 +801,7 @@ IniWrite, %ShowTooltipProgress%, %SettingsIniFilepath%, SocialMediaPoster, ShowT (Gettr = 1)?(PostedWebsites .= "Gettr|") : () (Steemit = 1)?(PostedWebsites .= "Steemit|") : () (Tumblr = 1)?(PostedWebsites .= "Tumblr|") : () +(SubStack = 1)?(PostedWebsites .= "SubStack|") : () Message = Starting SMP with: **V%ScriptVersion%** `nTo sites: %PostedWebsites% `nWith Title: **%PostTitle%** `nWith Body:%PostBody% `nWith Tags: %PostTags% SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordErrorLogging") @@ -876,6 +879,10 @@ Gosub, PostToPocketNet if(Gettr) Gosub, PostToGettr +if(SubStack) +Gosub, PostToSubStack + + CurrentSite := Message = Social Media Posting Complete SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging") @@ -981,6 +988,9 @@ Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Bastyon% Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, Tumblr Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %Tumblr% +Gui, Add, Button,x%MarginSize% w%WebsiteButtonWidths% h%ButtonHeights% Center, SubStack +Gui, Add, Edit, x+5 w%WebsiteStatusEditWidths% h%ButtonHeights%, %SubStack% + ; Gui, Font, s9 /* @@ -1075,6 +1085,10 @@ Return ;------------------------------------------------ #include %A_ScriptDir%\Modules\Post-To-Tumblr.ahk +; SubStack +;------------------------------------------------ +#include %A_ScriptDir%\Modules\Post-To-Substack.ahk + ; Minds ;------------------------------------------------ diff --git a/Version.ini b/Version.ini index 4a64933..ca44bc2 100644 --- a/Version.ini +++ b/Version.ini @@ -1,2 +1,2 @@ [Social-Media-Poster] -Version=2.96 +Version=2.99