reworked output directory
This commit is contained in:
parent
0798c09d8b
commit
a31b688332
@ -96,7 +96,7 @@ GUIMargin := 5
|
|||||||
GUIRowTwoXPos := 300
|
GUIRowTwoXPos := 300
|
||||||
GUIRowTwoVerticalLineXPos := GUIRowTwoXPos - 10
|
GUIRowTwoVerticalLineXPos := GUIRowTwoXPos - 10
|
||||||
|
|
||||||
GUIRowThreeXPos := 550
|
GUIRowThreeXPos := 650
|
||||||
GUIRowThreeVerticalLineXPos := GUIRowThreeXPos - 10
|
GUIRowThreeVerticalLineXPos := GUIRowThreeXPos - 10
|
||||||
|
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ GUIButtonWidths := 50
|
|||||||
|
|
||||||
GUIEditBoxWidth := GUIRowTwoXPos - (GUIMargin * 4)
|
GUIEditBoxWidth := GUIRowTwoXPos - (GUIMargin * 4)
|
||||||
|
|
||||||
GuiWidth := 800
|
GuiWidth := 1000
|
||||||
GuiStartButtonXPos := GUIRowTwoXPos + %GUIMargin%
|
GuiStartButtonXPos := GUIRowTwoXPos + %GUIMargin%
|
||||||
GUISelectButtonWidths := 70
|
GUISelectButtonWidths := 70
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ TranscribeButtonWidth := GuiWidth - GUIRowThreeXPos - (GUIMargin * 2)
|
|||||||
;------------------------------------------------
|
;------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
gui, font, s12
|
||||||
Gui, font, Bold
|
Gui, font, Bold
|
||||||
; Gui, Add, Text,x%GUIMargin% y%GUIMargin% w%GUIRowTwoXPos% center, Transcription Settings
|
; Gui, Add, Text,x%GUIMargin% y%GUIMargin% w%GUIRowTwoXPos% center, Transcription Settings
|
||||||
Gui, font, normal
|
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, 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, 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, font, normal ; , Param2, Param3, Param4]
|
||||||
|
|
||||||
; Gui, Add, Radio
|
; 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, vLargeM checked%LargeM% ,Large (2.9 GB Disk, ~3.3 GB RAM)
|
||||||
Gui, Add, Checkbox, vAllMQualities, ALL (One by One)
|
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, 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, font, normal
|
||||||
Gui, Add, Checkbox, vAnyLengthMediaFile gUpdateGUI checked%AnyLengthMediaFileCheckStatus%, ANY Length
|
Gui, Add, Checkbox, vAnyLengthMediaFile gUpdateGUI checked%AnyLengthMediaFileCheckStatus%, ANY Length
|
||||||
Gui, Add, Checkbox,y+%GUIMargin% gUpdateGUI vShortPodcasts checked%ShortPodcastsCheckStatus%, Short ( < 30 Mins)
|
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, Bold
|
||||||
gui, font, s12
|
gui, font, s12
|
||||||
Gui, Add, text,y%GUIMargin% w%TranscribeButtonWidth% x%GUIRowThreeXPos% h20 Center, Status Log
|
Gui, Add, text,y%GUIMargin% w%TranscribeButtonWidth% x%GUIRowThreeXPos% h20 Center, Status Log
|
||||||
gui, font, normal
|
gui, font, normal
|
||||||
gui, font, s7
|
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, Bold
|
||||||
Gui, Font, s12
|
Gui, Font, s12
|
||||||
@ -421,6 +425,11 @@ IniWrite, %TranscriptionLengthsSelected%, Settings.ini, %ScriptName%, Transcript
|
|||||||
text = Creating Required Directories
|
text = Creating Required Directories
|
||||||
ShowTooltipText(Text)
|
ShowTooltipText(Text)
|
||||||
FileCreateDir, %AudioFilesDIR%\Transcriptions
|
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
|
FileCreateDir, %AudioFilesDIR%\WAVFiles
|
||||||
|
|
||||||
|
|
||||||
@ -465,10 +474,9 @@ loop % SelectedAudioFilesArray.Length() {
|
|||||||
|
|
||||||
|
|
||||||
; create filepaths where outputs will be saved to
|
; create filepaths where outputs will be saved to
|
||||||
OutputPath = %AudioFilesDIR%\Transcriptions\%OutNameNoExt%_%ModelName%
|
OutputPath = %AudioFilesDIR%\Transcriptions\%ModelName%\%OutNameNoExt%
|
||||||
OutputModelTxtFile = %AudioFilesDIR%\Transcriptions\%OutNameNoExt%_%ModelName%.txt
|
OutputModelTxtFile = %OutputPath%.txt ; the filepath of one of the outputs
|
||||||
OutputTxtFP = %OutputPath%.txt
|
LogFileFP = %AudioFilesDIR%\Transcriptions\Logs\%OutNameNoExt%_%ModelName%.log
|
||||||
LogFileFP = %OutputPath%.log
|
|
||||||
|
|
||||||
|
|
||||||
Text = Checking for Previous Transcription
|
Text = Checking for Previous Transcription
|
||||||
|
BIN
Whisper-AHK.exe
Normal file
BIN
Whisper-AHK.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user