From b378de8106a19e9b674fe26d146a2fc645da4a93 Mon Sep 17 00:00:00 2001 From: yuriy Date: Fri, 17 May 2024 19:36:18 -0400 Subject: [PATCH] function add and expansion --- General-Functions.ahk | 11 +++++++++++ Shared-GoTos.ahk | 13 +++++++++++++ 2 files changed, 24 insertions(+) diff --git a/General-Functions.ahk b/General-Functions.ahk index 09b7913..f9e0f75 100644 --- a/General-Functions.ahk +++ b/General-Functions.ahk @@ -609,6 +609,17 @@ GetDateOrdinalSuffix(D) { ; OnMsgbox - Custom Msgbox Screens ;------------------------------------------------ +ConfirmBeforeSubmitMsgboxFunc(){ + OnMessage(0x44, "OnMsgBoxUserConfirmation") + MsgBox 0x21, User Confirmation, Please check that all data was input correctly and fix any mistakes and then click PROCEED to finalize the Upload.`n`nClick STOP to cancel the rest of this Upload and move on to the next website. + OnMessage(0x44, "") + IfMsgBox OK, { + } Else IfMsgBox Cancel, { + Message = User Selected STOP button when asked for confirmation. Cancelling Rest of Site Upload. + Return %Message% + } + } + OnMsgBoxUpdateAvailable() { DetectHiddenWindows, On Process, Exist diff --git a/Shared-GoTos.ahk b/Shared-GoTos.ahk index 94f1b3f..143fdbe 100644 --- a/Shared-GoTos.ahk +++ b/Shared-GoTos.ahk @@ -26,3 +26,16 @@ Return +PasteClipboardToEditBox: +if(A_GuiControl = "PasteClipboardToSMPBody"){ + GuiControl,,PostBody, %Clipboard% +} + +if(A_GuiControl = "PasteClipboardToSMPTitle"){ + GuiControl,,PostTitle, %Clipboard% +} + + + + +Return \ No newline at end of file