-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from martinsmith1968/bugfix/restoring-hidden-wi…
…ndows Bugfix/restoring hidden windows
- Loading branch information
Showing
17 changed files
with
223 additions
and
82 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#include Lib\StringUtils.ahk | ||
|
||
;-------------------------------------------------------------------------------- | ||
; CombinePaths - Append path2 to path1, ensuring the correct delimiters are in place | ||
CombinePaths(path1, path2) | ||
{ | ||
return EnsureEndsWith(path1, "\") . path2 | ||
} | ||
|
||
;-------------------------------------------------------------------------------- | ||
; CombinePaths - Append multiple paths together, ensuring the correct delimiters are in place | ||
CombinePathA(paths*) | ||
{ | ||
newPath := | ||
|
||
Loop, %path% | ||
{ | ||
if (newPath = "") | ||
{ | ||
newPath := path | ||
} | ||
else | ||
{ | ||
newPath := EnsureEndsWith(newPath, "\") . path | ||
} | ||
} | ||
|
||
return newPath | ||
} | ||
|
||
;-------------------------------------------------------------------------------- | ||
; FileExists - Determines if a file exists | ||
FileExists(fileName) | ||
{ | ||
fileAttribute := FileExist(fileName) | ||
|
||
exists := (fileAttribute && fileAttribute != "X") | ||
|
||
return exists | ||
} | ||
|
||
;-------------------------------------------------------------------------------- | ||
; FolderExists - Determines if a folder exists | ||
FolderExists(folderName) | ||
{ | ||
folderAttribute := FileExist(folderName) | ||
|
||
exists := (folderAttribute && InStr(folderAttribute, "D")) | ||
|
||
return exists | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.