-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ca3417
commit 4c38f33
Showing
4 changed files
with
60 additions
and
105 deletions.
There are no files selected for viewing
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,23 @@ | ||
; WinTitle reference: https://autohotkey.com/docs/misc/WinTitle.htm#multi | ||
class WinTitles | ||
{ | ||
static ModernApp := "ahk_class ApplicationFrameWindow ahk_exe ApplicationFrameHost.exe" | ||
|
||
static ModernSkype := [WinTitles.ModernApp, "Skype"] | ||
static ModernPhotos := [WinTitles.ModernApp, "Photos"] | ||
static Vlc := "ahk_exe vlc.exe" | ||
static IntellijIdea := "ahk_exe idea64.exe" | ||
static CorsairCUE := "ahk_class CUEBorderlessWindow ahk_exe iCUE.exe" | ||
static BattleNet := "ahk_exe Battle.net.exe" | ||
static Firefox := "ahk_class MozillaWindowClass" | ||
static Chrome := "ahk_class Chrome_WidgetWin_1" | ||
static Skype := "ahk_exe Skype.exe" | ||
static TeamViewerSponsoredSession := "Sponsored session ahk_exe TeamViewer.exe" | ||
static TeamViewer := "TeamViewer ahk_exe TeamViewer.exe" | ||
static ACDSee := "ahk_exe ACDSeeProfessional2018.exe" | ||
static Feces := "ahk_exe Teams.exe" | ||
static Telegram := "ahk_exe telegram.exe ahk_class Qt5154QWindowIcon" | ||
static SublimeText := "ahk_exe sublime_text.exe" | ||
static tf2 := "ahk_exe hl2.exe" | ||
static windowsCredentials := "Windows Security" | ||
} |
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,16 @@ | ||
saveClipboard() { | ||
; Try is needed because I get an error "can't open clipboard for reading" while lock screen is on | ||
Try { | ||
global __ClipboardSaved := ClipboardAll() | ||
A_Clipboard := "" | ||
} | ||
} | ||
|
||
restoreClipboard() | ||
{ | ||
Try { | ||
global __ClipboardSaved | ||
A_Clipboard := __ClipboardSaved ; Restore Clipboard | ||
__ClipboardSaved := "" | ||
} | ||
} |
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