This file contains hidden or 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
Loop 2 | |
DllCall( "ChangeWindowMessageFilter", uInt, "0x" (i:=!i?49:233), uint, 1) |
This file contains hidden or 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
ExtractTableData( FilePath, HeadingsArray, Delimiter, SaveDir ) | |
{ | |
static htmObj | |
if !IsObject( htmObj ) | |
htmObj := ComObjCreate( "HTMLfile" ) | |
else | |
htmObj.Close() | |
tablesArray := {} |
This file contains hidden or 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
MatKitOrgCssPath := "*\base_framework\theme\base_material_kit\assets\css\" | |
MatKitOrgCssFile := MatKitOrgCssPath . "material-kit.css" | |
CWDSiteCssFile := MatKitOrgCssPath . "cwd-site-css.css" | |
FileRead, MatKitOrgCss, % MatKitOrgCssFile | |
While p:=regexmatch( MatKitOrgCss, "is)(@media.*?\{.*?[`n}]{1,2}|[#\.\(\)a-z:-]+pln)(.*?[`n]})", mth_,(!p?(p!,s:=""):strlen(mth_)+p)) | |
s.=mth_ "`n`n" | |
FileDelete % CWDSiteCssFile |
This file contains hidden or 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
/* ========================================================= | |
* | |
* Component Helper | |
* | |
* ========================================================= | |
* | |
* @@@ @@@ | |
* @@@@@@ @@@@@@ | |
* @@@@@@@@ @@@@@@@@ | |
* @@@ @@ @@ @@@ |
This file contains hidden or 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 hidden or 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
GetViewportDimension: function() | |
{ | |
var ViewPortArr = []; | |
// Standards compliant client | |
if ( typeof window.innerWidth != 'undefined' ) | |
{ | |
ViewPortArr.Width = window.innerWidth | |
ViewPortArr.Height = window.innerHeight |
This file contains hidden or 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
#NoTrayIcon | |
PrefFile := A_ScriptDir "\prefs.txt" | |
TCtrlW := 250 | |
if FileExist( PrefFile ) | |
{ | |
FileRead, Prefs, % PrefFile | |
For Each, Pref in ( StrSplit( Prefs, "~" ), SectionObj := {} ) |
This file contains hidden or 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
SongFile = SongList.txt | |
SFPath := A_MyDocuments "\" SongFile | |
if !WinExist( "ahk_class QWidget" ) | |
{ | |
Msgbox, 0x10, Whoops!, Make sure VLC is running! | |
Return | |
} | |
if FileExist( SFPath ) |
This file contains hidden or 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
GetSourceURL( str ) | |
{ | |
FragIdent := RegExReplace( str, "i).*<b.*?>(.*?<!--s\w{11}t-->).*", "$1" ) | |
For Each, Ident in StrSplit( FragIdent, " " ) | |
if InStr( Ident, mStr := "SourceURL:" ) | |
SourceURL := SubStr( Ident, StrLen( mStr )+1 ) | |
Return SourceURL | |
} |
This file contains hidden or 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
GetAllInputChars() | |
{ | |
Loop 256 | |
ChrStr .= Chr( a_index ) " " | |
ChrStr .= "{down} {up} {right} {left} " | |
Return ChrStr | |
} |