diff --git a/Whisper-AHK.ahk b/Whisper-AHK.ahk index 41c0ed2..ead90ae 100644 --- a/Whisper-AHK.ahk +++ b/Whisper-AHK.ahk @@ -96,7 +96,7 @@ GUIMargin := 5 GUIRowTwoXPos := 300 GUIRowTwoVerticalLineXPos := GUIRowTwoXPos - 10 -GUIRowThreeXPos := 550 +GUIRowThreeXPos := 650 GUIRowThreeVerticalLineXPos := GUIRowThreeXPos - 10 @@ -104,7 +104,7 @@ GUIButtonWidths := 50 GUIEditBoxWidth := GUIRowTwoXPos - (GUIMargin * 4) -GuiWidth := 800 +GuiWidth := 1000 GuiStartButtonXPos := GUIRowTwoXPos + %GUIMargin% GUISelectButtonWidths := 70 @@ -114,7 +114,7 @@ TranscribeButtonWidth := GuiWidth - GUIRowThreeXPos - (GUIMargin * 2) ;------------------------------------------------ - +gui, font, s12 Gui, font, Bold ; Gui, Add, Text,x%GUIMargin% y%GUIMargin% w%GUIRowTwoXPos% center, Transcription Settings Gui, font, normal @@ -152,7 +152,7 @@ Gui, Add, Button, y+1 w%GUIEditBoxWidth% gSelectDirectory , Select gui, add, text, y%GUIMargin% x%GUIRowTwoVerticalLineXPos% 0x11 h270 ; 0x11 is a "line" ; refer to here: https://autohotkey.com/board/topic/50910-draw-line-gui/ Gui, font, Bold -Gui, Add, Text,x%GUIRowTwoXPos% y%GUIMargin% w200 center,Transcription Model +Gui, Add, Text,x%GUIRowTwoXPos% y%GUIMargin% w%GUIRowTwoXPos% center,Transcription Model Gui, font, normal ; , Param2, Param3, Param4] ; Gui, Add, Radio @@ -163,8 +163,12 @@ Gui, Add, Checkbox, vMediumM checked%MediumM%, Medium (1.5 GB Disk, ~1.7 GB RAM) Gui, Add, Checkbox, vLargeM checked%LargeM% ,Large (2.9 GB Disk, ~3.3 GB RAM) Gui, Add, Checkbox, vAllMQualities, ALL (One by One) +; Gui, Add, Slider, w200 h20 Range1-5, test, one, two ; Creates a horizontal slider + + Gui, Font, Bold -Gui, Add, Text,x%GUIRowTwoXPos% y+15 w200 center,Length of Podcasts to Transcribe +Gui, Font, underline +Gui, Add, Text,x%GUIRowTwoXPos% y+15 w%GUIRowTwoXPos% center,Length of Podcasts to Transcribe Gui, font, normal Gui, Add, Checkbox, vAnyLengthMediaFile gUpdateGUI checked%AnyLengthMediaFileCheckStatus%, ANY Length Gui, Add, Checkbox,y+%GUIMargin% gUpdateGUI vShortPodcasts checked%ShortPodcastsCheckStatus%, Short ( < 30 Mins) @@ -184,13 +188,13 @@ Gui, Add, Checkbox, vContinueAfterCMDClose checked%ContinueAfterCMDCloseCheckSta -gui, add, text, y%GUIMargin% x%GUIRowThreeVerticalLineXPos% 0x11 h270 ; 0x11 is a "line" ; refer to here: https://autohotkey.com/board/topic/50910-draw-line-gui/ +gui, add, text, y20 x%GUIRowThreeVerticalLineXPos% 0x11 h400 ; 0x11 is a "line" ; refer to here: https://autohotkey.com/board/topic/50910-draw-line-gui/ Gui, font, Bold gui, font, s12 Gui, Add, text,y%GUIMargin% w%TranscribeButtonWidth% x%GUIRowThreeXPos% h20 Center, Status Log gui, font, normal gui, font, s7 -Gui, Add, Edit, y+%GUIMargin% w%TranscribeButtonWidth% x%GUIRowThreeXPos% h200 vStatusLog +Gui, Add, Edit, y+%GUIMargin% w%TranscribeButtonWidth% x%GUIRowThreeXPos% h300 vStatusLog Gui, font, Bold Gui, Font, s12 @@ -421,6 +425,11 @@ IniWrite, %TranscriptionLengthsSelected%, Settings.ini, %ScriptName%, Transcript text = Creating Required Directories ShowTooltipText(Text) FileCreateDir, %AudioFilesDIR%\Transcriptions +FileCreateDir, %AudioFilesDIR%\Transcriptions\Logs +FileCreateDir, %AudioFilesDIR%\Transcriptions\Large +FileCreateDir, %AudioFilesDIR%\Transcriptions\Medium +FileCreateDir, %AudioFilesDIR%\Transcriptions\Small +FileCreateDir, %AudioFilesDIR%\Transcriptions\Base FileCreateDir, %AudioFilesDIR%\WAVFiles @@ -465,10 +474,9 @@ loop % SelectedAudioFilesArray.Length() { ; create filepaths where outputs will be saved to - OutputPath = %AudioFilesDIR%\Transcriptions\%OutNameNoExt%_%ModelName% - OutputModelTxtFile = %AudioFilesDIR%\Transcriptions\%OutNameNoExt%_%ModelName%.txt - OutputTxtFP = %OutputPath%.txt - LogFileFP = %OutputPath%.log + OutputPath = %AudioFilesDIR%\Transcriptions\%ModelName%\%OutNameNoExt% + OutputModelTxtFile = %OutputPath%.txt ; the filepath of one of the outputs + LogFileFP = %AudioFilesDIR%\Transcriptions\Logs\%OutNameNoExt%_%ModelName%.log Text = Checking for Previous Transcription diff --git a/Whisper-AHK.exe b/Whisper-AHK.exe new file mode 100644 index 0000000..3b39028 Binary files /dev/null and b/Whisper-AHK.exe differ