@@ -435,9 +435,11 @@ ButtonSubmit:
435435 } else if (UsrIn ~ = " i)^export>cat.{0,5}" ) {
436436 GoSub , ExportCat
437437 GoSub , DestroyGui
438+ GoSub , openSource
438439 } else if (UsrIn ~ = " i)^export>repo.{0,6}" ) {
439440 GoSub , ExportRepo
440441 GoSub , DestroyGui
442+ GoSub , openSource
441443 } else if (UsrIn ~ = " .*\+.*" ){
442444 GuiControl , - redraw , Link
443445 GoSub , AppendLinks
@@ -492,7 +494,9 @@ LoadMenu:
492494 }
493495 Menu , Exit, Add , Close Window, DestroyGui
494496 Menu , Exit, Add , Exit App, ExitApp
495- Menu , MainMenu, Add , [& ?], Help, + right
497+ Menu , Help, Add , Check for update, openGit
498+ Menu , Help, Add , Open source folder, openSource
499+ Menu , MainMenu, Add , [& ?], :Help, + right
496500 Menu , MainMenu, Add , [& X], :Exit, + right
497501 Gui , Menu , MainMenu
498502return
@@ -768,7 +772,8 @@ ExportCat:
768772 addLink .= " `n"
769773 }
770774 ; MsgBox % index . "`n" . addLink
771- newFile := index . " .csv"
775+ FormatTime , todayQuick,, yyMMdd
776+ newFile := index . " _" . todayQuick . " .csv"
772777 If FileExist (newFile) {
773778 FileDelete , %newFile%
774779 }
@@ -779,7 +784,8 @@ ExportRepo:
779784 Gui , Submit , noHide
780785 exportCell=
781786 repoTrim := SubStr (repo,1 ,- 4 )
782- exportFile := repoTrim . " _Export.csv"
787+ FormatTime , todayQuick,, yyMMdd
788+ exportFile := repoTrim . " _Export_" . todayQuick . " .csv"
783789 If FileExist (exportFile) {
784790 FileDelete , %exportFile%
785791 }
@@ -1280,11 +1286,15 @@ GenerateHSR:
12801286 ), HSR_Master.csv
12811287 return
12821288
1283- Help :
1289+ openGit :
12841290 Run , % " https://github.com/JSSatchell/HyperSearch"
12851291 GoSub , DestroyGui
12861292return
12871293
1294+ openSource :
1295+ Run % A_WorkingDir
1296+ return
1297+
12881298DestroyGui :
12891299 Hotkey , %GUIHotkey%, LoadGUI
12901300 GoSub , LocalHotkeysOff
0 commit comments