fixed chrome filepath not registering as global variable
This commit is contained in:
@@ -28,6 +28,8 @@ global ScriptName
|
|||||||
global ScriptVersion
|
global ScriptVersion
|
||||||
global FullScriptName
|
global FullScriptName
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ScriptName = Freedomain Video Uploader
|
ScriptName = Freedomain Video Uploader
|
||||||
ScriptVersion = 3.18
|
ScriptVersion = 3.18
|
||||||
FullScriptName := ScriptName . " - " . ScriptVersion
|
FullScriptName := ScriptName . " - " . ScriptVersion
|
||||||
@@ -35,6 +37,15 @@ FullScriptName := ScriptName . " - " . ScriptVersion
|
|||||||
|
|
||||||
; UStartTime := A_TickCount ; start time
|
; UStartTime := A_TickCount ; start time
|
||||||
|
|
||||||
|
; Included Files - These have to be included at the top for the Global variables to get registered early?
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\General-Functions.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Selenium-Functions.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Chrome-Functions.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Gitea-Functions.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\API-Functions.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk
|
||||||
|
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk
|
||||||
|
#include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\StdOutToVar.ahk
|
||||||
|
|
||||||
|
|
||||||
;---ToDo---
|
;---ToDo---
|
||||||
@@ -1153,10 +1164,9 @@ VideoTags := StrReplace(VideoTags, " ",",")
|
|||||||
|
|
||||||
KeywordsArray := StrSplit(VideoTags,",")
|
KeywordsArray := StrSplit(VideoTags,",")
|
||||||
|
|
||||||
; if(Streamanity){
|
; Initiate Chrome Filepath Variable
|
||||||
; UploadedToSites .= "Streamanity,"
|
; @todo: find a better location for this?
|
||||||
; Gosub, StreamanityUpload
|
GetChromeFilepath()
|
||||||
; }
|
|
||||||
|
|
||||||
if(Facebook){
|
if(Facebook){
|
||||||
UploadedToSites .= "Facebook,"
|
UploadedToSites .= "Facebook,"
|
||||||
@@ -4908,22 +4918,6 @@ Return
|
|||||||
|
|
||||||
|
|
||||||
; -------------------------------Functions-------------------------------
|
; -------------------------------Functions-------------------------------
|
||||||
|
|
||||||
; Included Files
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\General-Functions.ahk
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Selenium-Functions.ahk
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Chrome-Functions.ahk
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\Gitea-Functions.ahk
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\API-Functions.ahk
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\JSON.ahk
|
|
||||||
#Include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\RunCMD.ahk
|
|
||||||
#include %A_ScriptDir%\Lib\Freedomain-Posters-Shared-Functions\StdOutToVar.ahk
|
|
||||||
|
|
||||||
|
|
||||||
; #Include %A_ScriptDir%\Lib\ChromeAutomationFunctions.ahk
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CheckLBRYProcess(){
|
CheckLBRYProcess(){
|
||||||
; Check if LBRY Process exists
|
; Check if LBRY Process exists
|
||||||
Process, Exist,LBRY.exe
|
Process, Exist,LBRY.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user