From ecae6ab98e65efcddfb13d734560599a81cb919b Mon Sep 17 00:00:00 2001 From: yuriy Date: Sat, 18 Feb 2023 13:12:18 -0500 Subject: [PATCH] gui updates --- Freedomain Video Uploader.ahk | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index d669840..75abb53 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -87,7 +87,7 @@ global ErrorLoggingFilePath ; global TotalTabLoops global ErrorLogVar -ErrorLogVar := "Upload Errors:" . "`n" +ErrorLogVar := global ReuseTabs ; reuse tabs variable global DevMode @@ -477,6 +477,8 @@ GuiHeight = 800 GuiWidth = 1366 GuiFontSize = 10 +ButtonHeights := 30 + MarginSpace := 10 MarginSpaceDoubled := MarginSpace * 2 @@ -518,7 +520,7 @@ ResultEditBoxThirdsWidths := (ResultEditBoxWidths / 3) - (MarginSpace /3) ResultLBRYThumbEditBoxWidth := ResultLBRYURLEditBoxWidthPieces - 5 ErrorLogEditBoxXPos := ResultEditBoxWidths + CopyButtonWidths + 30 -ErrorLogEditBoxHeight := GuiHeight - (MarginSpace * 20) +ErrorLogEditBoxHeight := GuiHeight - (MarginSpace * 20) - (ButtonHeights * 2) ErrorLogEditBoxWidth := GuiWidth - ErrorLogEditBoxXPos - (MarginSpace * 12) @@ -1326,7 +1328,6 @@ if(PodcastNumber = "") { } } -ButtonHeights := 30 Gui, Font, s%GuiFontSize% Gui, Font, Bold @@ -1348,8 +1349,8 @@ Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% w%ResultEditBoxWidths% gUpdateVars vPo Gui, Font, Bold Gui, Add, Button, x10 y+%Marginspace% h%ButtonHeights% w%CopyButtonWidths% gCopyBitChuteURL, Bitchute Gui, Font, Normal -Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vBitChuteURL w%ResultLBRYURLEditBoxWidths% gUpdateVars , %BitChuteURL% -Gui, Add, Edit, x+5 yp+0 w%ResultLBRYThumbEditBoxWidth% gUpdateVars, Facebook: %FacebookURL% +Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vBitChuteURL w%ResultEditBoxWidths% gUpdateVars , %BitChuteURL% +; Gui, Add, Edit, x+5 yp+0 w%ResultLBRYThumbEditBoxWidth% gUpdateVars, Facebook: %FacebookURL% ; Gui, Add, Button, x+1 w20, Copy BitChute @@ -1369,16 +1370,16 @@ Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vDailyMotionURL w%ResultEditBoxWidths Gui, Font, Bold Gui, Add, Button, x10 y+10 h%ButtonHeights% w%CopyButtonWidths% gCopyOdyseeVideoURL, Odysee Video Gui, Font, Normal -Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vOdyseeVideoURL w%ResultLBRYURLEditBoxWidths% gUpdateVars, %OdyseeVideoURL% +Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vOdyseeVideoURL w%ResultEditBoxWidths% gUpdateVars, %OdyseeVideoURL% ; Gui, Add, Button, x+5 yp+0, Thumb -Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vOdyseeVideoThumb w%ResultLBRYThumbEditBoxWidth% gUpdateVars, Thumb: %OdyseeVideoThumb% +; Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vOdyseeVideoThumb w%ResultLBRYThumbEditBoxWidth% gUpdateVars, Thumb: %OdyseeVideoThumb% Gui, Font, Bold Gui, Add, Button, x10 y+10 h%ButtonHeights% w%CopyButtonWidths% gCopyOdyseeAudioURL, Odysee Audio Gui, Font, Normal -Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vOdyseeAudioURL w%ResultLBRYURLEditBoxWidths% gUpdateVars , %OdyseeAudioURL% +Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vOdyseeAudioURL w%ResultEditBoxWidths% gUpdateVars , %OdyseeAudioURL% ; Gui, Add, Button, x+5 yp+0, Thumb -Gui, Add, Edit, x+5 yp+0 vOdyseeAudioThumb w%ResultLBRYThumbEditBoxWidth% gUpdateVars, Thumb: %OdyseeAudioThumb% +; Gui, Add, Edit, x+5 yp+0 vOdyseeAudioThumb w%ResultLBRYThumbEditBoxWidth% gUpdateVars, Thumb: %OdyseeAudioThumb% Gui, Font, Bold Gui, Add, Button, x10 y+10 h%ButtonHeights% w%CopyButtonWidths% gCopyRumbleURL, Rumble @@ -1397,7 +1398,7 @@ Gui, Font, Normal Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vLocalsURL w%ResultEditBoxWidths% gUpdateVars, %LocalsURL% Gui, Font, Bold -Gui, Add, Button, x10 y+10 h%ButtonHeights% w%CopyButtonWidths% gCopyVideoTags, Video Tags) +Gui, Add, Button, x10 y+10 h%ButtonHeights% w%CopyButtonWidths% gCopyVideoTags, Video Tags Gui, Font, Normal Gui, Add, Edit, x+5 yp+0 h%ButtonHeights% vVideoTags w%ResultEditBoxWidths% gUpdateVars , %VideoTags% @@ -1431,7 +1432,8 @@ Gui, Add, Button, x+%MarginSpace% w%ResultEditBoxHalfWidths% gCancelPost %Button ; gui, Add, Text, y+10 Gui, Font, s%GuiFontSize% -Gui, Add, Edit,x%ErrorLogEditBoxXPos% y%MarginSpace% h%ErrorLogEditBoxHeight% w%ErrorLogEditBoxWidth%, %ErrorLogVar% +Gui, Add, Button, x%ErrorLogEditBoxXPos% w%ErrorLogEditBoxWidth% y%MarginSpace% h%ButtonHeights%, Error Log +Gui, Add, Edit,x%ErrorLogEditBoxXPos% h%ErrorLogEditBoxHeight% w%ErrorLogEditBoxWidth% y+10, %ErrorLogVar% gui, font, Normal gui, font, s7