|
|
@ -23,6 +23,8 @@ GetChromeFilepath(){
|
|
|
|
; ChromeFilepath is global variable
|
|
|
|
; ChromeFilepath is global variable
|
|
|
|
; Establish Variable with Filepath to be used throughout the script
|
|
|
|
; Establish Variable with Filepath to be used throughout the script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(ChromeFilepath = ""){
|
|
|
|
|
|
|
|
|
|
|
|
ChromePortableFilepath = %A_ScriptDir%\Lib\chrome-win64\chrome.exe
|
|
|
|
ChromePortableFilepath = %A_ScriptDir%\Lib\chrome-win64\chrome.exe
|
|
|
|
|
|
|
|
|
|
|
|
if(FileExist(ChromePortableFilepath)){
|
|
|
|
if(FileExist(ChromePortableFilepath)){
|
|
|
@ -39,6 +41,7 @@ GetChromeFilepath(){
|
|
|
|
ChromeFilepath = C:\Program Files\Google\Chrome\Application\chrome.exe
|
|
|
|
ChromeFilepath = C:\Program Files\Google\Chrome\Application\chrome.exe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GetChromeVersion(){
|
|
|
|
GetChromeVersion(){
|
|
|
|
; https://stackoverflow.com/questions/52457766/how-can-i-get-google-chromes-version-number
|
|
|
|
; https://stackoverflow.com/questions/52457766/how-can-i-get-google-chromes-version-number
|
|
|
|