Added functions from Social Media Poster Shared Functions file so SharedFunctions.ahk can be replaced by this submodule
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "Lib/Freedomain-Posters-Shared-Functions"]
|
||||||
|
path = Lib/Freedomain-Posters-Shared-Functions
|
||||||
|
url = https://git.freedomainplaylists.com/yuriy/Freedomain-Posters-Shared-Functions.git
|
||||||
1
Lib/Freedomain-Posters-Shared-Functions
Submodule
1
Lib/Freedomain-Posters-Shared-Functions
Submodule
Submodule Lib/Freedomain-Posters-Shared-Functions added at 694c440a6a
@@ -15,6 +15,7 @@ global CurrentTabURL
|
|||||||
; #Include %A_ScriptDir%\RunCMD.ahk
|
; #Include %A_ScriptDir%\RunCMD.ahk
|
||||||
|
|
||||||
|
|
||||||
|
; @todo: add error checks for all winhttp requests.
|
||||||
|
|
||||||
|
|
||||||
DevModeMsgBox(Message){
|
DevModeMsgBox(Message){
|
||||||
@@ -26,7 +27,7 @@ DevModeMsgBox(Message){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CheckForUpdates(){
|
CheckForUpdates(GitReleasesAPIURL){
|
||||||
; msgbox, checking for updates
|
; msgbox, checking for updates
|
||||||
Message = Checking For Updates
|
Message = Checking For Updates
|
||||||
SaveOrPostProgress(Message,PostType:="ErrorLoggingTextFile")
|
SaveOrPostProgress(Message,PostType:="ErrorLoggingTextFile")
|
||||||
@@ -174,6 +175,7 @@ TakeScreenshotOfPage(SaveFilepath := ""){
|
|||||||
|
|
||||||
; -------------------------------TooltipThis-------------------------------
|
; -------------------------------TooltipThis-------------------------------
|
||||||
TooltipThis(String){
|
TooltipThis(String){
|
||||||
|
; msgbox
|
||||||
; Xposition := StrLen(String)
|
; Xposition := StrLen(String)
|
||||||
StringFirstLine := StrSplit(String, "`n")
|
StringFirstLine := StrSplit(String, "`n")
|
||||||
StringFirstLine := StringFirstLine[1]
|
StringFirstLine := StringFirstLine[1]
|
||||||
@@ -922,6 +924,8 @@ if(TotalTabsFound = 1){
|
|||||||
; / END OF FUNC
|
; / END OF FUNC
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*/
|
||||||
InputFilePathIntoOpenWindow(Filepath){
|
InputFilePathIntoOpenWindow(Filepath){
|
||||||
; Msgbox % "Filepath: " Filepath
|
; Msgbox % "Filepath: " Filepath
|
||||||
Message = Waiting for "Open" window to appear to input filepath into
|
Message = Waiting for "Open" window to appear to input filepath into
|
||||||
@@ -966,7 +970,7 @@ if(TotalTabsFound = 1){
|
|||||||
|
|
||||||
|
|
||||||
; -------------------------------NavigateFromBaseURLTo-------------------------------
|
; -------------------------------NavigateFromBaseURLTo-------------------------------
|
||||||
NavigateFromBaseURLTo(URL){
|
NavigateFromBaseURLTo(URL, Title:="REmoveMe"){
|
||||||
if(!DriverStatus){ ; if not connected to selenium chrome, then re-connect
|
if(!DriverStatus){ ; if not connected to selenium chrome, then re-connect
|
||||||
Status := CheckSeleniumDriver()
|
Status := CheckSeleniumDriver()
|
||||||
if(Status)
|
if(Status)
|
||||||
|
|||||||
Reference in New Issue
Block a user