├── Assets ├── Include │ ├── Base64.au3 │ ├── _ReadMe_.txt │ ├── SQLite.dll.au3 │ ├── ScrollBarConstants.au3 │ ├── MathConstants.au3 │ ├── APIComConstants.au3 │ ├── GUIConstants.au3 │ ├── DirConstants.au3 │ ├── UpDownConstants.au3 │ ├── WinAPIEx.au3 │ ├── InetConstants.au3 │ ├── IPAddressConstants.au3 │ ├── ProcessConstants.au3 │ ├── AVIConstants.au3 │ ├── ImageListConstants.au3 │ ├── APIConstants.au3 │ ├── APIMiscConstants.au3 │ ├── ScrollBarsConstants.au3 │ ├── StaticConstants.au3 │ ├── ProgressConstants.au3 │ ├── FrameConstants.au3 │ ├── BorderConstants.au3 │ ├── MemoryConstants.au3 │ ├── SendMessage.au3 │ ├── ColorConstants.au3 │ ├── TrayConstants.au3 │ ├── StringConstants.au3 │ ├── APIDiagConstants.au3 │ ├── StatusBarConstants.au3 │ ├── APIShPathConstants.au3 │ ├── Math.au3 │ ├── WinAPIError.au3 │ ├── FontConstants.au3 │ ├── Process.au3 │ ├── MsgBoxConstants.au3 │ ├── SliderConstants.au3 │ ├── GUIConstantsEx.au3 │ ├── APIResConstants.au3 │ ├── ButtonConstants.au3 │ ├── APIRegConstants.au3 │ ├── Constants.au3 │ ├── ListBoxConstants.au3 │ ├── EditConstants.au3 │ ├── MenuConstants.au3 │ ├── APIProcConstants.au3 │ ├── ToolTipConstants.au3 │ ├── TabConstants.au3 │ ├── RebarConstants.au3 │ ├── UDFGlobalID.au3 │ ├── WinAPIvkeysConstants.au3 │ ├── FileConstants.au3 │ ├── HeaderConstants.au3 │ ├── DateTimeConstants.au3 │ ├── ComboConstants.au3 │ ├── SecurityConstants.au3 │ ├── APILocaleConstants.au3 │ └── String.au3 ├── icon.ico ├── icon.png ├── upx.exe ├── Aut2exe.exe ├── AutoIt3.exe ├── screenshot1.png ├── screenshot2.png ├── screenshot3.png └── screenshot4.png ├── Test.bat ├── Sounds ├── 1.mp3 ├── 1.wav ├── 2.mp3 ├── 2.wav ├── 3.mp3 ├── 3.wav ├── 4.mp3 ├── 4.wav ├── 5.mp3 ├── 5.wav ├── 6.mp3 └── 6.wav ├── DropFilter.dll ├── .gitignore ├── Compile.bat ├── collect-assets.sh ├── replace-version.sh ├── README.md ├── .github └── workflows │ └── build.yml └── defaultNotifyText.au3 /Assets/Include/Base64.au3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Test.bat: -------------------------------------------------------------------------------- 1 | "Assets/AutoIt3.exe" D2Stats.au3 -------------------------------------------------------------------------------- /Sounds/1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/1.mp3 -------------------------------------------------------------------------------- /Sounds/1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/1.wav -------------------------------------------------------------------------------- /Sounds/2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/2.mp3 -------------------------------------------------------------------------------- /Sounds/2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/2.wav -------------------------------------------------------------------------------- /Sounds/3.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/3.mp3 -------------------------------------------------------------------------------- /Sounds/3.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/3.wav -------------------------------------------------------------------------------- /Sounds/4.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/4.mp3 -------------------------------------------------------------------------------- /Sounds/4.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/4.wav -------------------------------------------------------------------------------- /Sounds/5.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/5.mp3 -------------------------------------------------------------------------------- /Sounds/5.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/5.wav -------------------------------------------------------------------------------- /Sounds/6.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/6.mp3 -------------------------------------------------------------------------------- /Sounds/6.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Sounds/6.wav -------------------------------------------------------------------------------- /Assets/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/icon.ico -------------------------------------------------------------------------------- /Assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/icon.png -------------------------------------------------------------------------------- /Assets/upx.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/upx.exe -------------------------------------------------------------------------------- /DropFilter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/DropFilter.dll -------------------------------------------------------------------------------- /Assets/Aut2exe.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/Aut2exe.exe -------------------------------------------------------------------------------- /Assets/AutoIt3.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/AutoIt3.exe -------------------------------------------------------------------------------- /Assets/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/screenshot1.png -------------------------------------------------------------------------------- /Assets/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/screenshot2.png -------------------------------------------------------------------------------- /Assets/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/screenshot3.png -------------------------------------------------------------------------------- /Assets/screenshot4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zahariel1942/D2Stats/HEAD/Assets/screenshot4.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.ini 2 | D2Stats*.exe 3 | D2Stats*.txt 4 | mxl-txts/* 5 | NotifierRules/* 6 | *.rar 7 | dist/ 8 | dest/ 9 | .idea/ 10 | kek*.txt -------------------------------------------------------------------------------- /Compile.bat: -------------------------------------------------------------------------------- 1 | IF EXIST D2Stats.exe ( 2 | Del D2Stats.exe /Q 3 | ) 4 | "Assets/Aut2Exe.exe" /in D2Stats.au3 /out D2Stats.exe /icon "Assets/icon.ico" /x86 -------------------------------------------------------------------------------- /collect-assets.sh: -------------------------------------------------------------------------------- 1 | # /bin/bash 2 | 3 | # 创建一个临时目录 dest 4 | rm -rf dest 5 | mkdir dest 6 | 7 | # 拷贝文件到 dest 目录 8 | cp D2Stats.exe dest 9 | cp DropFilter.dll dest 10 | cp -R Sounds dest -------------------------------------------------------------------------------- /Assets/Include/_ReadMe_.txt: -------------------------------------------------------------------------------- 1 | This directory contains pre-written functions for use in your AutoIt scripts. 2 | 3 | Include the functions using: 4 | 5 | #include 6 | 7 | See the help file for details of the functions, or read the .au3 directly. -------------------------------------------------------------------------------- /replace-version.sh: -------------------------------------------------------------------------------- 1 | # /bin/bash 2 | 3 | version=$1 4 | buildTime=$(date +"%Y-%m-%d") 5 | 6 | echo "Version: ${version}" 7 | echo "Time: ${buildTime}" 8 | 9 | sed -b -i -e "s/{{version}}/${version}/g" D2Stats.au3 10 | sed -b -i -e "s/{{buildTime}}/${buildTime}/g" D2Stats.au3 -------------------------------------------------------------------------------- /Assets/Include/SQLite.dll.au3: -------------------------------------------------------------------------------- 1 | ; Inline ..\..\bin\SQLite\sqlite3.dll, Creation Time: 2015/09/10 11:35:01 2 | #include-once 3 | Func __SQLite_Inline_Modified() 4 | Return "20150910113501" ; 2015/09/10 11:35:01 5 | EndFunc ;==>__SQLite_Inline_Modified 6 | Func __SQLite_Inline_Version() 7 | Return "300801101" ; 3.8.11.1 8 | EndFunc ;==>__SQLite_Inline_Version 9 | -------------------------------------------------------------------------------- /Assets/Include/ScrollBarConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "ScrollbarsConstants.au3" 4 | 5 | ; #INDEX# ======================================================================================================================= 6 | ; Title .........: ScrollBar_Constants 7 | ; AutoIt Version : 3.3.14.2 8 | ; Language ......: English 9 | ; Description ...: Kept for compatibility with old naming. 10 | ; Author(s) .....: jpm 11 | ; =============================================================================================================================== 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # D2Stats 2 | 3 | Reads Diablo II stats from the game. 4 | 5 | [Forum post with a description of the latest version.](https://forum.median-xl.com/viewtopic.php?p=599923#p599923) 6 | 7 | ![D2Stats window screenshot](Assets/screenshot1.png "D2Stats window screenshot") 8 | 9 | 10 | ![D2Stats window screenshot](Assets/screenshot2.png "D2Stats window screenshot") 11 | 12 | 13 | ![D2Stats window screenshot](Assets/screenshot3.png "D2Stats window screenshot") 14 | 15 | 16 | ![D2Stats window screenshot](Assets/screenshot4.png "D2Stats window screenshot") 17 | ____ 18 | **Run D2Stats as an administrator!** 19 | 20 | -------------------------------------------------------------------------------- /Assets/Include/MathConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Math_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using Math functions. 8 | ; Author(s) .....: guinness 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; _MathCheckDiv() 13 | Global Const $MATH_ISNOTDIVISIBLE = 1 14 | Global Const $MATH_ISDIVISIBLE = 2 15 | 16 | ; _Degree(), _Radian() 17 | Global Const $MATH_DEGREES = 57.2957795130823 18 | ; =============================================================================================================================== 19 | -------------------------------------------------------------------------------- /Assets/Include/APIComConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPICom Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_CoInitialize() 14 | Global Const $COINIT_APARTMENTTHREADED = 0x02 15 | Global Const $COINIT_DISABLE_OLE1DDE = 0x04 16 | Global Const $COINIT_MULTITHREADED = 0x00 17 | Global Const $COINIT_SPEED_OVER_MEMORY = 0x08 18 | ; =============================================================================================================================== 19 | -------------------------------------------------------------------------------- /Assets/Include/GUIConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: All GUIConstants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with GUI Applications 8 | ; Author(s) .....: Valik, jpm 9 | ; Dll ...........: 10 | ; =============================================================================================================================== 11 | 12 | #include "AVIConstants.au3" 13 | #include "ButtonConstants.au3" 14 | #include "ComboConstants.au3" 15 | #include "DateTimeConstants.au3" 16 | #include "EditConstants.au3" 17 | #include "GUIConstantsEx.au3" 18 | #include "ListBoxConstants.au3" 19 | #include "ListViewConstants.au3" 20 | #include "ProgressConstants.au3" 21 | #include "RichEditConstants.au3" 22 | #include "SliderConstants.au3" 23 | #include "StaticConstants.au3" 24 | #include "TabConstants.au3" 25 | #include "TreeViewConstants.au3" 26 | #include "UpDownConstants.au3" 27 | #include "WindowsConstants.au3" 28 | -------------------------------------------------------------------------------- /Assets/Include/DirConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Dir_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using Dir functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $DDL_ARCHIVE = 0x00000020 13 | Global Const $DDL_DIRECTORY = 0x00000010 14 | Global Const $DDL_DRIVES = 0x00004000 15 | Global Const $DDL_EXCLUSIVE = 0x00008000 16 | Global Const $DDL_HIDDEN = 0x00000002 17 | Global Const $DDL_READONLY = 0x00000001 18 | Global Const $DDL_READWRITE = 0x00000000 19 | Global Const $DDL_SYSTEM = 0x00000004 20 | ; =============================================================================================================================== 21 | -------------------------------------------------------------------------------- /Assets/Include/UpDownConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: UpDown_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control UpDown styles and much more constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Styles 13 | Global Const $UDS_WRAP = 0x0001 14 | Global Const $UDS_SETBUDDYINT = 0x0002 15 | Global Const $UDS_ALIGNRIGHT = 0x0004 16 | Global Const $UDS_ALIGNLEFT = 0x0008 17 | Global Const $UDS_ARROWKEYS = 0x0020 18 | Global Const $UDS_HORZ = 0x0040 19 | Global Const $UDS_NOTHOUSANDS = 0x0080 20 | 21 | ; Control default styles 22 | Global Const $GUI_SS_DEFAULT_UPDOWN = $UDS_ALIGNLEFT 23 | ; =============================================================================================================================== 24 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | 3 | on: 4 | push: 5 | tags: 6 | - "*" 7 | 8 | jobs: 9 | build: 10 | runs-on: windows-latest 11 | environment: build 12 | permissions: 13 | contents: write 14 | 15 | defaults: 16 | run: 17 | shell: bash 18 | 19 | steps: 20 | - uses: actions/checkout@v3 21 | 22 | - name: Get tag name 23 | id: tagName 24 | uses: olegtarasov/get-tag@v2.1.1 25 | 26 | - name: Replace versions 27 | run: bash replace-version.sh ${{ steps.tagName.outputs.tag }} 28 | 29 | - name: Compile 30 | shell: cmd 31 | run: ./Compile.bat 32 | 33 | - name: Collect Assets 34 | run: bash collect-assets.sh 35 | 36 | - name: Zip file 37 | uses: TheDoctor0/zip-release@0.6.0 38 | with: 39 | directory: "./" 40 | path: "./dest/*" 41 | type: "zip" 42 | filename: "D2Stats.zip" 43 | 44 | - name: Release Zip file 45 | uses: ncipollo/release-action@v1 46 | with: 47 | artifacts: ./D2Stats.zip 48 | generateReleaseNotes: true 49 | -------------------------------------------------------------------------------- /Assets/Include/WinAPIEx.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "WinAPICom.au3" 4 | #include "WinAPIDiag.au3" 5 | #include "WinAPIDlg.au3" 6 | #include "WinAPIFiles.au3" 7 | #include "WinAPIGdi.au3" 8 | #include "WinAPILocale.au3" 9 | #include "WinAPIMisc.au3" 10 | #include "WinAPIProc.au3" 11 | #include "WinAPIReg.au3" 12 | #include "WinAPIRes.au3" 13 | #include "WinAPIShellEx.au3" 14 | #include "WinAPIShPath.au3" 15 | #include "WinAPISys.au3" 16 | #include "WinAPITheme.au3" 17 | 18 | ; #INDEX# ======================================================================================================================= 19 | ; Title .........: WinAPI Extended UDF Library for AutoIt3 20 | ; AutoIt Version : 3.3.14.2 21 | ; Language ......: English 22 | ; Description ...: Additional variables, constants and functions for WinAPI.au3 23 | ; Author(s) .....: Yashied 24 | ; Modified ......: Jpm (Splitted, invidivual include lead to less unused functions) 25 | ; Dwmapi.dll, Gdi32.dll, Gdiplus.dll, Kernel32.dll, Ntdll.dll, Ole32.dll, Oleaut32.dll 26 | ; Powrprof.dll, Psapi.dll, Sensapi.dll, Sfc.dll, Shell32.dll, Shlwapi.dll, User32.dll 27 | ; Userenv.dll, Uxtheme.dll, Version.dll, Winmm.dll, Winspool.drv 28 | ; =============================================================================================================================== 29 | -------------------------------------------------------------------------------- /Assets/Include/InetConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Inet_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using Inet functions. 8 | ; Author(s) .....: guinness 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $INET_LOCALCACHE = 0 13 | Global Const $INET_FORCERELOAD = 1 14 | Global Const $INET_IGNORESSL = 2 15 | Global Const $INET_ASCIITRANSFER = 4 16 | Global Const $INET_BINARYTRANSFER = 8 17 | Global Const $INET_FORCEBYPASS = 16 18 | 19 | Global Const $INET_DOWNLOADWAIT = 0 20 | Global Const $INET_DOWNLOADBACKGROUND = 1 21 | 22 | Global Const $INET_DOWNLOADREAD = 0 23 | Global Const $INET_DOWNLOADSIZE = 1 24 | Global Const $INET_DOWNLOADCOMPLETE = 2 25 | Global Const $INET_DOWNLOADSUCCESS = 3 26 | Global Const $INET_DOWNLOADERROR = 4 27 | Global Const $INET_DOWNLOADEXTENDED = 5 28 | ; =============================================================================================================================== 29 | -------------------------------------------------------------------------------- /Assets/Include/IPAddressConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: IPAddress_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for IPAddress functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $__IPADDRESSCONSTANT_WM_USER = 0X400 13 | Global Const $IPM_CLEARADDRESS = ($__IPADDRESSCONSTANT_WM_USER + 100) 14 | Global Const $IPM_SETADDRESS = ($__IPADDRESSCONSTANT_WM_USER + 101) 15 | Global Const $IPM_GETADDRESS = ($__IPADDRESSCONSTANT_WM_USER + 102) 16 | Global Const $IPM_SETRANGE = ($__IPADDRESSCONSTANT_WM_USER + 103) 17 | Global Const $IPM_SETFOCUS = ($__IPADDRESSCONSTANT_WM_USER + 104) 18 | Global Const $IPM_ISBLANK = ($__IPADDRESSCONSTANT_WM_USER + 105) 19 | 20 | ; Notifications 21 | Global Const $IPN_FIRST = (-860) 22 | Global Const $IPN_FIELDCHANGED = ($IPN_FIRST - 0) ; Sent when the user changes a field or moves from one field to another 23 | ; =============================================================================================================================== 24 | -------------------------------------------------------------------------------- /Assets/Include/ProcessConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Process_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using Process functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $PROCESS_TERMINATE = 0x00000001 13 | Global Const $PROCESS_CREATE_THREAD = 0x00000002 14 | Global Const $PROCESS_SET_SESSIONID = 0x00000004 15 | Global Const $PROCESS_VM_OPERATION = 0x00000008 16 | Global Const $PROCESS_VM_READ = 0x00000010 17 | Global Const $PROCESS_VM_WRITE = 0x00000020 18 | Global Const $PROCESS_DUP_HANDLE = 0x00000040 19 | Global Const $PROCESS_CREATE_PROCESS = 0x00000080 20 | Global Const $PROCESS_SET_QUOTA = 0x00000100 21 | Global Const $PROCESS_SET_INFORMATION = 0x00000200 22 | Global Const $PROCESS_QUERY_INFORMATION = 0x00000400 23 | Global Const $PROCESS_QUERY_LIMITED_INFORMATION = 0x1000 24 | Global Const $PROCESS_SUSPEND_RESUME = 0x00000800 25 | Global Const $PROCESS_ALL_ACCESS = 0x001F0FFF 26 | ; =============================================================================================================================== 27 | -------------------------------------------------------------------------------- /Assets/Include/AVIConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: AVI_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for GUI control AVI styles. 8 | ; Author(s) .....: Valik 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Styles 13 | Global Const $ACS_CENTER = 1 14 | Global Const $ACS_TRANSPARENT = 2 15 | Global Const $ACS_AUTOPLAY = 4 16 | Global Const $ACS_TIMER = 8 17 | Global Const $ACS_NONTRANSPARENT = 16 18 | 19 | ; Control default styles 20 | Global Const $GUI_SS_DEFAULT_AVI = $ACS_TRANSPARENT 21 | 22 | ; Messages 23 | Global Const $__AVICONSTANT_WM_USER = 0x400 24 | Global Const $ACM_OPENA = $__AVICONSTANT_WM_USER + 100 25 | Global Const $ACM_PLAY = $__AVICONSTANT_WM_USER + 101 26 | Global Const $ACM_STOP = $__AVICONSTANT_WM_USER + 102 27 | Global Const $ACM_ISPLAYING = $__AVICONSTANT_WM_USER + 104 28 | Global Const $ACM_OPENW = $__AVICONSTANT_WM_USER + 103 29 | 30 | ; Notifications 31 | Global Const $ACN_START = 0x00000001 ; Notifies the control's parent that the AVI has started playing 32 | Global Const $ACN_STOP = 0x00000002 ; Notifies the control's parent that the AVI has stopped playing 33 | ; =============================================================================================================================== 34 | -------------------------------------------------------------------------------- /Assets/Include/ImageListConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: ImageList_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for ImageList functions. 8 | ; Author(s) .....: Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $ILC_MASK = 0x00000001 13 | Global Const $ILC_COLOR = 0x00000000 14 | Global Const $ILC_COLORDDB = 0x000000FE 15 | Global Const $ILC_COLOR4 = 0x00000004 16 | Global Const $ILC_COLOR8 = 0x00000008 17 | Global Const $ILC_COLOR16 = 0x00000010 18 | Global Const $ILC_COLOR24 = 0x00000018 19 | Global Const $ILC_COLOR32 = 0x00000020 20 | Global Const $ILC_PALETTE = 0x00000800 21 | Global Const $ILC_MIRROR = 0x00002000 22 | Global Const $ILC_PERITEMMIRROR = 0x00008000 23 | 24 | Global Const $ILCF_MOVE = 0x0 25 | Global Const $ILCF_SWAP = 0x1 26 | 27 | Global Const $ILD_NORMAL = 0x00000000 28 | Global Const $ILD_TRANSPARENT = 0x00000001 29 | Global Const $ILD_BLEND25 = 0x00000002 30 | Global Const $ILD_BLEND50 = 0x00000004 31 | Global Const $ILD_MASK = 0x00000010 32 | Global Const $ILD_IMAGE = 0x00000020 33 | Global Const $ILD_ROP = 0x00000040 34 | Global Const $ILD_OVERLAYMASK = 0x00000F00 35 | 36 | Global Const $ILS_NORMAL = 0x00000000 37 | Global Const $ILS_GLOW = 0x00000001 38 | Global Const $ILS_SHADOW = 0x00000002 39 | Global Const $ILS_SATURATE = 0x00000004 40 | Global Const $ILS_ALPHA = 0x00000008 41 | ; =============================================================================================================================== 42 | -------------------------------------------------------------------------------- /Assets/Include/APIConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "APIComConstants.au3" 4 | #include "APIDiagConstants.au3" 5 | #include "APIDlgConstants.au3" 6 | #include "APIFilesConstants.au3" 7 | #include "APIGdiConstants.au3" 8 | #include "APILocaleConstants.au3" 9 | #include "APIMiscConstants.au3" 10 | #include "APIProcConstants.au3" 11 | #include "APIRegConstants.au3" 12 | #include "APIResConstants.au3" 13 | #include "APIShellExConstants.au3" 14 | #include "APIShPathConstants.au3" 15 | #include "APISysConstants.au3" 16 | #include "APIThemeConstants.au3" 17 | #include "BorderConstants.au3" 18 | #include "ColorConstants.au3" 19 | #include "Constants.au3" 20 | #include "DirConstants.au3" 21 | #include "FileConstants.au3" 22 | #include "FontConstants.au3" 23 | #include "FrameConstants.au3" 24 | #include "GUIConstants.au3" 25 | #include "MemoryConstants.au3" 26 | #include "MenuConstants.au3" 27 | #include "ProcessConstants.au3" 28 | #include "SecurityConstants.au3" 29 | #include "WinAPIConstants.au3" 30 | #include "WinAPIsysinfoConstants.au3" 31 | #include "WinAPIvkeysConstants.au3" 32 | #include "WindowsConstants.au3" 33 | 34 | ; #INDEX# ======================================================================================================================= 35 | ; Title .........: API Constants UDF WinAPI Libraries for AutoIt3 36 | ; AutoIt Version : 3.3.14.2 37 | ; Language ......: English 38 | ; Description ...: Constants that can be used with UDF WinAPI libraries 39 | ; Author(s) .....: Yashied, jpm 40 | ; =============================================================================================================================== 41 | 42 | ; #CONSTANTS# =================================================================================================================== 43 | ; =============================================================================================================================== 44 | -------------------------------------------------------------------------------- /Assets/Include/APIMiscConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPIMisc Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_PlaySound() 14 | Global Const $SND_APPLICATION = 0x00000080 15 | Global Const $SND_ALIAS = 0x00010000 16 | Global Const $SND_ALIAS_ID = 0x00110000 17 | Global Const $SND_ASYNC = 0x00000001 18 | Global Const $SND_FILENAME = 0x00020000 19 | Global Const $SND_LOOP = 0x00000008 20 | Global Const $SND_MEMORY = 0x00000004 21 | Global Const $SND_NODEFAULT = 0x00000002 22 | Global Const $SND_NOSTOP = 0x00000010 23 | Global Const $SND_NOWAIT = 0x00002000 24 | Global Const $SND_PURGE = 0x00000040 25 | Global Const $SND_RESOURCE = 0x00040004 26 | Global Const $SND_SENTRY = 0x00080000 27 | Global Const $SND_SYNC = 0x00000000 28 | Global Const $SND_SYSTEM = 0x00200000 29 | Global Const $SND_SYSTEM_NOSTOP = 0x00200010 30 | 31 | Global Const $SND_ALIAS_SYSTEMASTERISK = 'SystemAsterisk' 32 | Global Const $SND_ALIAS_SYSTEMDEFAULT = 'SystemDefault' 33 | Global Const $SND_ALIAS_SYSTEMEXCLAMATION = 'SystemExclamation' 34 | Global Const $SND_ALIAS_SYSTEMEXIT = 'SystemExit' 35 | Global Const $SND_ALIAS_SYSTEMHAND = 'SystemHand' 36 | Global Const $SND_ALIAS_SYSTEMQUESTION = 'SystemQuestion' 37 | Global Const $SND_ALIAS_SYSTEMSTART = 'SystemStart' 38 | Global Const $SND_ALIAS_SYSTEMWELCOME = 'SystemWelcome' 39 | ; =============================================================================================================================== 40 | -------------------------------------------------------------------------------- /Assets/Include/ScrollBarsConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: ScrollBar_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for ScrollBar functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $SIF_POS = 0x04 13 | Global Const $SIF_PAGE = 0x02 14 | Global Const $SIF_RANGE = 0x01 15 | Global Const $SIF_TRACKPOS = 0x10 16 | Global Const $SIF_ALL = BitOR($SIF_RANGE, $SIF_PAGE, $SIF_POS, $SIF_TRACKPOS) 17 | 18 | Global Const $SB_HORZ = 0 19 | Global Const $SB_VERT = 1 20 | Global Const $SB_CTL = 2 21 | Global Const $SB_BOTH = 3 22 | 23 | Global Const $SB_LINELEFT = 0 24 | Global Const $SB_LINERIGHT = 1 25 | Global Const $SB_PAGELEFT = 2 26 | Global Const $SB_PAGERIGHT = 3 27 | 28 | Global Const $SB_THUMBPOSITION = 0x4 29 | Global Const $SB_THUMBTRACK = 0x5 30 | Global Const $SB_LINEDOWN = 1 31 | Global Const $SB_LINEUP = 0 32 | Global Const $SB_PAGEDOWN = 3 33 | Global Const $SB_PAGEUP = 2 34 | Global Const $SB_SCROLLCARET = 4 35 | Global Const $SB_TOP = 6 36 | Global Const $SB_BOTTOM = 7 37 | 38 | Global Const $ESB_DISABLE_BOTH = 0x3 39 | Global Const $ESB_DISABLE_DOWN = 0x2 40 | Global Const $ESB_DISABLE_LEFT = 0x1 41 | Global Const $ESB_DISABLE_LTUP = $ESB_DISABLE_LEFT 42 | Global Const $ESB_DISABLE_RIGHT = 0x2 43 | Global Const $ESB_DISABLE_RTDN = $ESB_DISABLE_RIGHT 44 | Global Const $ESB_DISABLE_UP = 0x1 45 | Global Const $ESB_ENABLE_BOTH = 0x0 46 | 47 | ; Reserved IDs for System Objects 48 | Global Const $OBJID_HSCROLL = 0xFFFFFFFA 49 | Global Const $OBJID_VSCROLL = 0xFFFFFFFB 50 | Global Const $OBJID_CLIENT = 0xFFFFFFFC 51 | ; =============================================================================================================================== 52 | -------------------------------------------------------------------------------- /Assets/Include/StaticConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Static_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control Label/Static styles and Pic, Icon constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Label/Pic/Icon 13 | Global Const $SS_LEFT = 0x0 14 | Global Const $SS_CENTER = 0x1 15 | Global Const $SS_RIGHT = 0x2 16 | Global Const $SS_ICON = 0x3 17 | Global Const $SS_BLACKRECT = 0x4 18 | Global Const $SS_GRAYRECT = 0x5 19 | Global Const $SS_WHITERECT = 0x6 20 | Global Const $SS_BLACKFRAME = 0x7 21 | Global Const $SS_GRAYFRAME = 0x8 22 | Global Const $SS_WHITEFRAME = 0x9 23 | Global Const $SS_SIMPLE = 0xB 24 | Global Const $SS_LEFTNOWORDWRAP = 0xC 25 | Global Const $SS_BITMAP = 0xE 26 | Global Const $SS_ENHMETAFILE = 0xF 27 | Global Const $SS_ETCHEDHORZ = 0x10 28 | Global Const $SS_ETCHEDVERT = 0x11 29 | Global Const $SS_ETCHEDFRAME = 0x12 30 | Global Const $SS_REALSIZECONTROL = 0x40 31 | Global Const $SS_NOPREFIX = 0x0080 32 | Global Const $SS_NOTIFY = 0x0100 33 | Global Const $SS_CENTERIMAGE = 0x0200 34 | Global Const $SS_RIGHTJUST = 0x0400 35 | Global Const $SS_SUNKEN = 0x1000 36 | 37 | ; Control default styles 38 | Global Const $GUI_SS_DEFAULT_LABEL = 0 39 | Global Const $GUI_SS_DEFAULT_GRAPHIC = 0 40 | Global Const $GUI_SS_DEFAULT_ICON = $SS_NOTIFY 41 | Global Const $GUI_SS_DEFAULT_PIC = $SS_NOTIFY 42 | 43 | ; Messages 44 | Global Const $STM_SETICON = 0x0170 45 | Global Const $STM_GETICON = 0x0171 46 | Global Const $STM_SETIMAGE = 0x0172 47 | Global Const $STM_GETIMAGE = 0x0173 48 | ; =============================================================================================================================== 49 | -------------------------------------------------------------------------------- /Assets/Include/ProgressConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Progress_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control Progress styles and much more constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANT# ====================================================================================================================== 12 | ; Styles 13 | Global Const $PBS_MARQUEE = 0x00000008 ; The progress bar moves like a marquee 14 | Global Const $PBS_SMOOTH = 1 15 | Global Const $PBS_SMOOTHREVERSE = 0x10 ; Vista 16 | Global Const $PBS_VERTICAL = 4 17 | 18 | ; Control default styles 19 | Global Const $GUI_SS_DEFAULT_PROGRESS = 0 20 | 21 | ; Messages 22 | Global Const $__PROGRESSBARCONSTANT_WM_USER = 0X400 23 | Global Const $PBM_DELTAPOS = $__PROGRESSBARCONSTANT_WM_USER + 3 24 | Global Const $PBM_GETBARCOLOR = 0x040F ; Vista 25 | Global Const $PBM_GETBKCOLOR = 0x040E ; Vista 26 | Global Const $PBM_GETPOS = $__PROGRESSBARCONSTANT_WM_USER + 8 27 | Global Const $PBM_GETRANGE = $__PROGRESSBARCONSTANT_WM_USER + 7 28 | Global Const $PBM_GETSTATE = 0x0411 ; Vista 29 | Global Const $PBM_GETSTEP = 0x040D ; Vista 30 | Global Const $PBM_SETBARCOLOR = $__PROGRESSBARCONSTANT_WM_USER + 9 31 | Global Const $PBM_SETBKCOLOR = 0x2000 + 1 32 | Global Const $PBM_SETMARQUEE = $__PROGRESSBARCONSTANT_WM_USER + 10 33 | Global Const $PBM_SETPOS = $__PROGRESSBARCONSTANT_WM_USER + 2 34 | Global Const $PBM_SETRANGE = $__PROGRESSBARCONSTANT_WM_USER + 1 35 | Global Const $PBM_SETRANGE32 = $__PROGRESSBARCONSTANT_WM_USER + 6 36 | Global Const $PBM_SETSTATE = 0x0410 ; Vista 37 | Global Const $PBM_SETSTEP = $__PROGRESSBARCONSTANT_WM_USER + 4 38 | Global Const $PBM_STEPIT = $__PROGRESSBARCONSTANT_WM_USER + 5 39 | ; =============================================================================================================================== 40 | -------------------------------------------------------------------------------- /Assets/Include/FrameConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Frame_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for _WinAPI_DrawFrameControl(). 8 | ; Author(s) .....: Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; type of frame 13 | Global Const $DFC_BUTTON = 4 14 | Global Const $DFC_CAPTION = 1 15 | Global Const $DFC_MENU = 2 16 | Global Const $DFC_POPUPMENU = 5 17 | Global Const $DFC_SCROLL = 3 18 | 19 | ; initial state of the frame 20 | Global Const $DFCS_BUTTON3STATE = 0x8 21 | Global Const $DFCS_BUTTONCHECK = 0x0 22 | Global Const $DFCS_BUTTONPUSH = 0x10 23 | Global Const $DFCS_BUTTONRADIO = 0x4 24 | Global Const $DFCS_BUTTONRADIOIMAGE = 0x1 25 | Global Const $DFCS_BUTTONRADIOMASK = 0x2 26 | Global Const $DFCS_CAPTIONCLOSE = 0x0 27 | Global Const $DFCS_CAPTIONHELP = 0x4 28 | Global Const $DFCS_CAPTIONMAX = 0x2 29 | Global Const $DFCS_CAPTIONMIN = 0x1 30 | Global Const $DFCS_CAPTIONRESTORE = 0x3 31 | Global Const $DFCS_MENUARROW = 0x0 32 | Global Const $DFCS_MENUARROWRIGHT = 0x4 33 | Global Const $DFCS_MENUBULLET = 0x2 34 | Global Const $DFCS_MENUCHECK = 0x1 35 | Global Const $DFCS_SCROLLCOMBOBOX = 0x5 36 | Global Const $DFCS_SCROLLDOWN = 0x1 37 | Global Const $DFCS_SCROLLLEFT = 0x2 38 | Global Const $DFCS_SCROLLRIGHT = 0x3 39 | Global Const $DFCS_SCROLLSIZEGRIP = 0x8 40 | Global Const $DFCS_SCROLLSIZEGRIPRIGHT = 0x10 41 | Global Const $DFCS_SCROLLUP = 0x0 42 | Global Const $DFCS_ADJUSTRECT = 0x2000 43 | 44 | ; Set state constants 45 | Global Const $DFCS_CHECKED = 0x400 46 | Global Const $DFCS_FLAT = 0x4000 47 | Global Const $DFCS_HOT = 0x1000 48 | Global Const $DFCS_INACTIVE = 0x100 49 | Global Const $DFCS_PUSHED = 0x200 50 | Global Const $DFCS_TRANSPARENT = 0x800 51 | 52 | ; =============================================================================================================================== 53 | -------------------------------------------------------------------------------- /Assets/Include/BorderConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Border_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for _WinAPI_DrawEdge(). 8 | ; Author(s) .....: Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $BDR_RAISEDINNER = 0x4 13 | Global Const $BDR_RAISEDOUTER = 0x1 14 | Global Const $BDR_SUNKENINNER = 0x8 15 | Global Const $BDR_SUNKENOUTER = 0x2 16 | Global Const $EDGE_BUMP = BitOR($BDR_RAISEDOUTER, $BDR_SUNKENINNER) 17 | Global Const $EDGE_ETCHED = BitOR($BDR_SUNKENOUTER, $BDR_RAISEDINNER) 18 | Global Const $EDGE_RAISED = BitOR($BDR_RAISEDOUTER, $BDR_RAISEDINNER) 19 | Global Const $EDGE_SUNKEN = BitOR($BDR_SUNKENOUTER, $BDR_SUNKENINNER) 20 | 21 | ; Type of Border 22 | Global Const $BF_ADJUST = 0x2000 23 | Global Const $BF_BOTTOM = 0x8 24 | Global Const $BF_DIAGONAL = 0x10 25 | Global Const $BF_FLAT = 0x4000 26 | Global Const $BF_LEFT = 0x1 27 | Global Const $BF_MIDDLE = 0x800 28 | Global Const $BF_MONO = 0x8000 29 | Global Const $BF_RIGHT = 0x4 30 | Global Const $BF_SOFT = 0x1000 31 | Global Const $BF_TOP = 0x2 32 | Global Const $BF_BOTTOMLEFT = BitOR($BF_BOTTOM, $BF_LEFT) 33 | Global Const $BF_BOTTOMRIGHT = BitOR($BF_BOTTOM, $BF_RIGHT) 34 | Global Const $BF_TOPLEFT = BitOR($BF_TOP, $BF_LEFT) 35 | Global Const $BF_TOPRIGHT = BitOR($BF_TOP, $BF_RIGHT) 36 | Global Const $BF_RECT = BitOR($BF_LEFT, $BF_TOP, $BF_RIGHT, $BF_BOTTOM) 37 | Global Const $BF_DIAGONAL_ENDBOTTOMLEFT = BitOR($BF_DIAGONAL, $BF_BOTTOM, $BF_LEFT) 38 | Global Const $BF_DIAGONAL_ENDBOTTOMRIGHT = BitOR($BF_DIAGONAL, $BF_BOTTOM, $BF_RIGHT) 39 | Global Const $BF_DIAGONAL_ENDTOPLEFT = BitOR($BF_DIAGONAL, $BF_TOP, $BF_LEFT) 40 | Global Const $BF_DIAGONAL_ENDTOPRIGHT = BitOR($BF_DIAGONAL, $BF_TOP, $BF_RIGHT) 41 | ; =============================================================================================================================== 42 | -------------------------------------------------------------------------------- /Assets/Include/MemoryConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Memory_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for Memory functions. 8 | ; Author(s) .....: Paul Campbell (PaulIA) 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $GMEM_FIXED = 0x0000 13 | Global Const $GMEM_MOVEABLE = 0x0002 14 | Global Const $GMEM_NOCOMPACT = 0x0010 15 | Global Const $GMEM_NODISCARD = 0x0020 16 | Global Const $GMEM_ZEROINIT = 0x0040 17 | Global Const $GMEM_MODIFY = 0x0080 18 | Global Const $GMEM_DISCARDABLE = 0x0100 19 | Global Const $GMEM_NOT_BANKED = 0x1000 20 | Global Const $GMEM_SHARE = 0x2000 21 | Global Const $GMEM_DDESHARE = 0x2000 22 | Global Const $GMEM_NOTIFY = 0x4000 23 | Global Const $GMEM_LOWER = 0x1000 24 | Global Const $GMEM_VALID_FLAGS = 0x7F72 25 | Global Const $GMEM_INVALID_HANDLE = 0x8000 26 | 27 | Global Const $GPTR = BitOR($GMEM_FIXED, $GMEM_ZEROINIT) ; in fact equal $GMEM_ZEROINIT 28 | Global Const $GHND = BitOR($GMEM_MOVEABLE, $GMEM_ZEROINIT) 29 | 30 | ; VirtualAlloc Allocation Type Constants 31 | 32 | Global Const $MEM_COMMIT = 0x00001000 33 | Global Const $MEM_RESERVE = 0x00002000 34 | Global Const $MEM_TOP_DOWN = 0x00100000 35 | Global Const $MEM_SHARED = 0x08000000 36 | 37 | ; VirtualAlloc Protection Constants 38 | 39 | Global Const $PAGE_NOACCESS = 0x00000001 40 | Global Const $PAGE_READONLY = 0x00000002 41 | Global Const $PAGE_READWRITE = 0x00000004 42 | Global Const $PAGE_EXECUTE = 0x00000010 43 | Global Const $PAGE_EXECUTE_READ = 0x00000020 44 | Global Const $PAGE_EXECUTE_READWRITE = 0x00000040 45 | Global Const $PAGE_EXECUTE_WRITECOPY = 0x00000080 46 | Global Const $PAGE_GUARD = 0x00000100 47 | Global Const $PAGE_NOCACHE = 0x00000200 48 | Global Const $PAGE_WRITECOMBINE = 0x00000400 49 | Global Const $PAGE_WRITECOPY = 0x00000008 50 | 51 | ; VirtualFree FreeType Constants 52 | 53 | Global Const $MEM_DECOMMIT = 0x00004000 54 | Global Const $MEM_RELEASE = 0x00008000 55 | ; =============================================================================================================================== 56 | -------------------------------------------------------------------------------- /Assets/Include/SendMessage.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: SendMessage 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Functions that assist SendMessage calls. 8 | ; Author(s) .....: Valik, Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CURRENT# ===================================================================================================================== 12 | ; _SendMessage 13 | ; _SendMessageA 14 | ; =============================================================================================================================== 15 | 16 | ; #FUNCTION# ==================================================================================================================== 17 | ; Author ........: Valik 18 | ; Modified.......: Gary Frost (GaryFrost) aka gafrost 19 | ; =============================================================================================================================== 20 | Func _SendMessage($hWnd, $iMsg, $wParam = 0, $lParam = 0, $iReturn = 0, $wParamType = "wparam", $lParamType = "lparam", $sReturnType = "lresult") 21 | Local $aResult = DllCall("user32.dll", $sReturnType, "SendMessageW", "hwnd", $hWnd, "uint", $iMsg, $wParamType, $wParam, $lParamType, $lParam) 22 | If @error Then Return SetError(@error, @extended, "") 23 | If $iReturn >= 0 And $iReturn <= 4 Then Return $aResult[$iReturn] 24 | Return $aResult 25 | EndFunc ;==>_SendMessage 26 | 27 | ; #FUNCTION# ==================================================================================================================== 28 | ; Author ........: Valik 29 | ; Modified.......: Gary Frost (GaryFrost) aka gafrost 30 | ; =============================================================================================================================== 31 | Func _SendMessageA($hWnd, $iMsg, $wParam = 0, $lParam = 0, $iReturn = 0, $wParamType = "wparam", $lParamType = "lparam", $sReturnType = "lresult") 32 | Local $aResult = DllCall("user32.dll", $sReturnType, "SendMessageA", "hwnd", $hWnd, "uint", $iMsg, $wParamType, $wParam, $lParamType, $lParam) 33 | If @error Then Return SetError(@error, @extended, "") 34 | If $iReturn >= 0 And $iReturn <= 4 Then Return $aResult[$iReturn] 35 | Return $aResult 36 | EndFunc ;==>_SendMessageA 37 | -------------------------------------------------------------------------------- /Assets/Include/ColorConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script. 8 | ; Author(s) .....: JLandes, Nutster, CyberSlug, Holger, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; Colour Constants RGB Hex 14 | Global Const $COLOR_AQUA = 0x00FFFF 15 | Global Const $COLOR_BLACK = 0x000000 16 | Global Const $COLOR_BLUE = 0x0000FF 17 | Global Const $COLOR_CREAM = 0xFFFBF0 18 | Global Const $COLOR_FUCHSIA = 0xFF00FF 19 | Global Const $COLOR_GRAY = 0x808080 20 | Global Const $COLOR_GREEN = 0x008000 21 | Global Const $COLOR_LIME = 0x00FF00 22 | Global Const $COLOR_MAROON = 0x8B1C62 23 | Global Const $COLOR_MEDBLUE = 0x0002C4 24 | Global Const $COLOR_MEDGRAY = 0xA0A0A4 25 | Global Const $COLOR_MONEYGREEN = 0xC0DCC0 26 | Global Const $COLOR_NAVY = 0x000080 27 | Global Const $COLOR_OLIVE = 0x808000 28 | Global Const $COLOR_PURPLE = 0x800080 29 | Global Const $COLOR_RED = 0xFF0000 30 | Global Const $COLOR_SILVER = 0xC0C0C0 31 | Global Const $COLOR_SKYBLUE = 0xA6CAF0 32 | Global Const $COLOR_TEAL = 0x008080 33 | Global Const $COLOR_WHITE = 0xFFFFFF 34 | Global Const $COLOR_YELLOW = 0xFFFF00 35 | 36 | Global Const $CLR_NONE = 0xFFFFFFFF 37 | Global Const $CLR_DEFAULT = 0xFF000000 38 | 39 | ; Color Constants BGR Hex 40 | Global Const $CLR_AQUA = 0xFFFF00 41 | Global Const $CLR_BLACK = 0x000000 42 | Global Const $CLR_BLUE = 0xFF0000 43 | Global Const $CLR_CREAM = 0xF0FBFF 44 | Global Const $CLR_FUCHSIA = 0xFF00FF 45 | Global Const $CLR_GRAY = 0x808080 46 | Global Const $CLR_GREEN = 0x008000 47 | Global Const $CLR_LIME = 0x00FF00 48 | Global Const $CLR_MAROON = 0x621C8B 49 | Global Const $CLR_MEDBLUE = 0xC40200 50 | Global Const $CLR_MEDGRAY = 0xA4A0A0 51 | Global Const $CLR_MONEYGREEN = 0xC0DCC0 52 | Global Const $CLR_NAVY = 0x800000 53 | Global Const $CLR_OLIVE = 0x008080 54 | Global Const $CLR_PURPLE = 0x800080 55 | Global Const $CLR_RED = 0x0000FF 56 | Global Const $CLR_SILVER = 0xC0C0C0 57 | Global Const $CLR_SKYBLUE = 0xF0CAA6 58 | Global Const $CLR_TEAL = 0x808000 59 | Global Const $CLR_WHITE = 0xFFFFFF 60 | Global Const $CLR_YELLOW = 0x00FFFF 61 | 62 | ; Color Dialog constants 63 | Global Const $CC_ANYCOLOR = 0x0100 64 | Global Const $CC_FULLOPEN = 0x0002 65 | Global Const $CC_RGBINIT = 0x0001 66 | ; =============================================================================================================================== 67 | -------------------------------------------------------------------------------- /Assets/Include/TrayConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script. 8 | ; Author(s) .....: JLandes, Nutster, CyberSlug, Holger, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; Tray predefined ID's 14 | Global Const $TRAY_ITEM_EXIT = 3 15 | Global Const $TRAY_ITEM_PAUSE = 4 16 | Global Const $TRAY_ITEM_FIRST = 7 17 | 18 | ; Tray menu/item state values 19 | Global Const $TRAY_CHECKED = 1 20 | Global Const $TRAY_UNCHECKED = 4 21 | Global Const $TRAY_ENABLE = 64 22 | Global Const $TRAY_DISABLE = 128 23 | Global Const $TRAY_FOCUS = 256 24 | Global Const $TRAY_DEFAULT = 512 25 | 26 | ; Tray event values 27 | Global Const $TRAY_EVENT_NONE = 0 28 | Global Const $TRAY_EVENT_SHOWICON = -3 29 | Global Const $TRAY_EVENT_HIDEICON = -4 30 | Global Const $TRAY_EVENT_FLASHICON = -5 31 | Global Const $TRAY_EVENT_NOFLASHICON = -6 32 | Global Const $TRAY_EVENT_PRIMARYDOWN = -7 33 | Global Const $TRAY_EVENT_PRIMARYUP = -8 34 | Global Const $TRAY_EVENT_SECONDARYDOWN = -9 35 | Global Const $TRAY_EVENT_SECONDARYUP = -10 36 | Global Const $TRAY_EVENT_MOUSEOVER = -11 37 | Global Const $TRAY_EVENT_MOUSEOUT = -12 38 | Global Const $TRAY_EVENT_PRIMARYDOUBLE = -13 39 | Global Const $TRAY_EVENT_SECONDARYDOUBLE = -14 40 | 41 | ; Indicates the type of Balloon Tip to display 42 | Global Const $TIP_ICONNONE = 0 ; No icon (default) 43 | Global Const $TIP_ICONASTERISK = 1 ; Info icon 44 | Global Const $TIP_ICONEXCLAMATION = 2 ; Warning icon 45 | Global Const $TIP_ICONHAND = 3 ; Error icon 46 | Global Const $TIP_NOSOUND = 16 ; No sound 47 | 48 | ; TrayCreateItem values 49 | Global Const $TRAY_ITEM_NORMAL = 0 50 | Global Const $TRAY_ITEM_RADIO = 1 51 | 52 | ; TraySetClick values 53 | Global Const $TRAY_CLICK_SHOW = 0 54 | Global Const $TRAY_CLICK_PRIMARYDOWN = 1 55 | Global Const $TRAY_CLICK_PRIMARYUP = 2 56 | Global Const $TRAY_DBLCLICK_PRIMARY= 4 57 | Global Const $TRAY_CLICK_SECONDARYDOWN = 8 58 | Global Const $TRAY_CLICK_SECONDARYUP = 16 59 | Global Const $TRAY_DBLCLICK_SECONDARY= 32 60 | Global Const $TRAY_CLICK_HOVERING= 64 61 | 62 | ; TraySetState values 63 | Global Const $TRAY_ICONSTATE_SHOW = 1 64 | Global Const $TRAY_ICONSTATE_HIDE = 2 65 | Global Const $TRAY_ICONSTATE_FLASH = 4 66 | Global Const $TRAY_ICONSTATE_STOPFLASH = 8 67 | Global Const $TRAY_ICONSTATE_RESET = 16 68 | ; =============================================================================================================================== 69 | -------------------------------------------------------------------------------- /Assets/Include/StringConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: String_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using String functions. 8 | ; Author(s) .....: guinness, jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; StringCompare, StringInStr, StringReplace constants 13 | ; Indicates if string operations should be case sensitive 14 | Global Const $STR_NOCASESENSE = 0 ; Not case sensitive (default) 15 | Global Const $STR_CASESENSE = 1 ; Case sensitive 16 | Global Const $STR_NOCASESENSEBASIC = 2 ; Not case sensitive, using a basic comparison 17 | 18 | ; StringStripWS Constants 19 | ; Indicates the type of stripping that should be performed 20 | Global Const $STR_STRIPLEADING = 1 ; Strip leading whitespace 21 | Global Const $STR_STRIPTRAILING = 2 ; Strip trailing whitespace 22 | Global Const $STR_STRIPSPACES = 4 ; Strip double (or more) spaces between words 23 | Global Const $STR_STRIPALL = 8 ; Strip all spaces (over-rides all other flags) 24 | 25 | ; StringSplit Constants 26 | Global Const $STR_CHRSPLIT = 0 ; Each character in the delimiter string will mark the split 27 | Global Const $STR_ENTIRESPLIT = 1 ; Entire delimiter marks the split 28 | Global Const $STR_NOCOUNT = 2 ; Disable the return count 29 | 30 | ; StringRegExp Constants 31 | Global Const $STR_REGEXPMATCH = 0 ; Return 1 if match. 32 | Global Const $STR_REGEXPARRAYMATCH = 1 ; Return array of matches. 33 | Global Const $STR_REGEXPARRAYFULLMATCH = 2 ; Return array of matches including the full match (Perl / PHP style). 34 | Global Const $STR_REGEXPARRAYGLOBALMATCH = 3 ; Return array of global matches. 35 | Global Const $STR_REGEXPARRAYGLOBALFULLMATCH = 4 ; Return an array of arrays containing global matches including the full match (Perl / PHP style).Global Const $STR_REGEXPMATCH = 0 ; Each character in the delimiter string will mark the split 36 | 37 | ; _StringBetween Constants 38 | Global Const $STR_ENDISSTART = 0 ; End acts as next start when end = start 39 | Global Const $STR_ENDNOTSTART = 1 ; End does not act as new start when end = start 40 | 41 | ; BinaryToString, StringToBinary constants 42 | Global Const $SB_ANSI = 1 43 | Global Const $SB_UTF16LE = 2 44 | Global Const $SB_UTF16BE = 3 45 | Global Const $SB_UTF8 = 4 46 | 47 | ; StringFromASCIIArray constants 48 | Global Const $SE_UTF16 = 0 49 | Global Const $SE_ANSI = 1 50 | Global Const $SE_UTF8 = 2 51 | 52 | ; StringReverse Constants 53 | Global Const $STR_UTF16 = 0 54 | Global Const $STR_UCS2 = 1 55 | ; =============================================================================================================================== 56 | -------------------------------------------------------------------------------- /Assets/Include/APIDiagConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPIDiag Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_EnumDllProc() 14 | Global Const $SYMOPT_ALLOW_ABSOLUTE_SYMBOLS = 0x00000800 15 | Global Const $SYMOPT_ALLOW_ZERO_ADDRESS = 0x01000000 16 | Global Const $SYMOPT_AUTO_PUBLICS = 0x00010000 17 | Global Const $SYMOPT_CASE_INSENSITIVE = 0x00000001 18 | Global Const $SYMOPT_DEBUG = 0x80000000 19 | Global Const $SYMOPT_DEFERRED_LOADS = 0x00000004 20 | Global Const $SYMOPT_DISABLE_SYMSRV_AUTODETECT = 0x02000000 21 | Global Const $SYMOPT_EXACT_SYMBOLS = 0x00000400 22 | Global Const $SYMOPT_FAIL_CRITICAL_ERRORS = 0x00000200 23 | Global Const $SYMOPT_FAVOR_COMPRESSED = 0x00800000 24 | Global Const $SYMOPT_FLAT_DIRECTORY = 0x00400000 25 | Global Const $SYMOPT_IGNORE_CVREC = 0x00000080 26 | Global Const $SYMOPT_IGNORE_IMAGEDIR = 0x00200000 27 | Global Const $SYMOPT_IGNORE_NT_SYMPATH = 0x00001000 28 | Global Const $SYMOPT_INCLUDE_32BIT_MODULES = 0x00002000 29 | Global Const $SYMOPT_LOAD_ANYTHING = 0x00000040 30 | Global Const $SYMOPT_LOAD_LINES = 0x00000010 31 | Global Const $SYMOPT_NO_CPP = 0x00000008 32 | Global Const $SYMOPT_NO_IMAGE_SEARCH = 0x00020000 33 | Global Const $SYMOPT_NO_PROMPTS = 0x00080000 34 | Global Const $SYMOPT_NO_PUBLICS = 0x00008000 35 | Global Const $SYMOPT_NO_UNQUALIFIED_LOADS = 0x00000100 36 | Global Const $SYMOPT_OVERWRITE = 0x00100000 37 | Global Const $SYMOPT_PUBLICS_ONLY = 0x00004000 38 | Global Const $SYMOPT_SECURE = 0x00040000 39 | Global Const $SYMOPT_UNDNAME = 0x00000002 40 | 41 | ; _WinAPI_GetErrorMode(), _WinAPI_SetErrorMode() 42 | Global Const $SEM_FAILCRITICALERRORS = 0x0001 43 | Global Const $SEM_NOALIGNMENTFAULTEXCEPT = 0x0004 44 | Global Const $SEM_NOGPFAULTERRORBOX = 0x0002 45 | Global Const $SEM_NOOPENFILEERRORBOX = 0x8000 46 | 47 | ; _WinAPI_IsNetworkAlive() 48 | Global Const $NETWORK_ALIVE_LAN = 0x01 49 | Global Const $NETWORK_ALIVE_WAN = 0x02 50 | Global Const $NETWORK_ALIVE_AOL = 0x04 51 | 52 | ; _WinAPI_RegisterApplicationRestart() 53 | Global Const $RESTART_NO_CRASH = 0x01 54 | Global Const $RESTART_NO_HANG = 0x02 55 | Global Const $RESTART_NO_PATCH = 0x04 56 | Global Const $RESTART_NO_REBOOT = 0x08 57 | 58 | ; _WinAPI_UniqueHardwareID() 59 | Global Const $UHID_MB = 0x00 60 | Global Const $UHID_BIOS = 0x01 61 | Global Const $UHID_CPU = 0x02 62 | Global Const $UHID_HDD = 0x04 63 | Global Const $UHID_All = BitOR($UHID_MB, $UHID_BIOS, $UHID_CPU, $UHID_HDD) 64 | ; =============================================================================================================================== 65 | -------------------------------------------------------------------------------- /defaultNotifyText.au3: -------------------------------------------------------------------------------- 1 | global const $g_sNotifyTextDefault = "hide ""^Gold$""" & @CRLF & _ 2 | "hide 1 2 3 4 sacred low normal rare magic unique" & @CRLF & _ 3 | "hide ""Ring$|Amulet$|Jewel"" normal rare magic" & @CRLF & _ 4 | "hide ""Quiver"" normal rare magic" & @CRLF & _ 5 | "hide ""(Amethyst|Topaz|Sapphire|Emerald|Ruby|Diamond|Skull|Onyx|Bloodstone|Turquoise|Amber|Rainbow Stone)""" & @CRLF & _ 6 | "hide ""^(El|Eld|Tir|Nef|Eth|Ith|Tal|Ral|Ort|Thul|Amn|Sol|Shael|Dol|Hel|Io|Lum|Ko|Fal|Lem|Pul|Um|Mal|Ist|Gul|Vex|Ohm|Lo|Sur|Ber|Jah|Cham|Zod) Rune$""" & @CRLF & _ 7 | "hide ""(Healing|Mana) Potion""" & @CRLF & _ 8 | "hide ""^Key$""" & @CRLF & _ 9 | "" & @CRLF & _ 10 | "set name" & @CRLF & _ 11 | "" & @CRLF & _ 12 | """Signet of Learning""" & @CRLF & _ 13 | """Greater Signet""" & @CRLF & _ 14 | """Emblem""" & @CRLF & _ 15 | """Trophy""" & @CRLF & _ 16 | """Cycle""" & @CRLF & _ 17 | """Enchanting""" & @CRLF & _ 18 | """Wings""" & @CRLF & _ 19 | """Dimensional Key""" & @CRLF & _ 20 | """Occult Effigy""" & @CRLF & _ 21 | """Mystic Dye""" & @CRLF & _ 22 | """Treasure""" & @CRLF & _ 23 | """Item Design""" & @CRLF & _ 24 | """Mystic Dye""" & @CRLF & _ 25 | """Belladonna""" & @CRLF & _ 26 | """Enchanted Rune"" sound4" & @CRLF & _ 27 | """Relic"" sound4" & @CRLF & _ 28 | """Mystic Dye""" & @CRLF & _ 29 | """Book of Cain""" & @CRLF & _ 30 | """Oil of (Conjuration|Augmentation|Greater Luck|Intensity)"" sound4" & @CRLF & _ 31 | """Positronic Brain""" & @CRLF & _ 32 | """Occult Effigy"" purple" & @CRLF & _ 33 | """Reagent""" & @CRLF & _ 34 | """Arcane (Shard|Crystal)""" & @CRLF & _ 35 | """Mastercrafted"" sound6" & @CRLF & _ 36 | "" & @CRLF & _ 37 | "#Quest items" & @CRLF & _ 38 | """Ring of the Five""" & @CRLF & _ 39 | """Signet of Skill""" & @CRLF & _ 40 | """Tome of Possession""" & @CRLF & _ 41 | """Sigil$""" & @CRLF & _ 42 | """Dimensional Link""" & @CRLF & _ 43 | """Key of Lies""" & @CRLF & _ 44 | """Key of Sin""" & @CRLF & _ 45 | """Askari Call""" & @CRLF & _ 46 | """Tenet""" & @CRLF & _ 47 | """Riftstone""" & @CRLF & _ 48 | """Fragment""" & @CRLF & _ 49 | """Star Chart""" & @CRLF & _ 50 | """Otherworldly Link""" & @CRLF & _ 51 | """Damned""" & @CRLF & _ 52 | """Scroll of Summoning""" & @CRLF & _ 53 | "" & @CRLF & _ 54 | "#""(Pul|Um|Mal|Ist|Gul|Vex|Ohm|Lo) Rune"" red" & @CRLF & _ 55 | "#""(Sur|Ber|Jah|Cham|Zod) Rune"" purple" & @CRLF & _ 56 | "#""Perfect (Turquoise|Amber|Bloodstone|Onyx)"" red" & @CRLF & _ 57 | "" & @CRLF & _ 58 | "#""Quiver"" rare" & @CRLF & _ 59 | """Quiver"" unique" & @CRLF & _ 60 | "sacred eth superior rare" & @CRLF & _ 61 | "1 2 3 4 unique # Tiered uniques" & @CRLF & _ 62 | "sacred unique # Sacred uniques" & @CRLF & _ 63 | """Ring$|Amulet$|Jewel"" unique # Unique jewelry" & @CRLF & _ 64 | """Runestone|Essence$"" # Teganze runes" & @CRLF & _ 65 | """Great Rune"" # Great runes" & @CRLF & _ 66 | """Orb\|"" # UMOs" & @CRLF & _ 67 | """Shrine \(10"" # Shrines" & @CRLF & _ 68 | """Ring$|Amulet"" rare # Rare rings and amulets" & @CRLF & _ 69 | "" & @CRLF & _ 70 | "show ""Super Mana Potion""" & @CRLF & _ 71 | "show ""(Greater|Super) Healing Potion""" & @CRLF & _ 72 | "" & @CRLF & _ 73 | "#jewelry" & @CRLF & _ 74 | "#""Amulet"" {[3-5] to All Skills}" & @CRLF & _ 75 | "#""Ring$"" {Skills}" & @CRLF & _ 76 | "show ""Jewel""" -------------------------------------------------------------------------------- /Assets/Include/StatusBarConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: StatusBar_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for StatusBar functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Styles 13 | Global Const $SBARS_SIZEGRIP = 0x100 14 | Global Const $SBT_TOOLTIPS = 0x800 15 | Global Const $SBARS_TOOLTIPS = 0x800 16 | 17 | ; uFlags 18 | Global Const $SBT_SUNKEN = 0x0 ;Default 19 | Global Const $SBT_NOBORDERS = 0x100 ;The text is drawn without borders. 20 | Global Const $SBT_POPOUT = 0x200 ; The text is drawn with a border to appear higher than the plane of the window. 21 | Global Const $SBT_RTLREADING = 0x400 ;SB_SETTEXT, SB_SETTEXT, SB_GETTEXTLENGTH flags only: Displays text using right-to-left reading order on Hebrew or Arabic systems. 22 | Global Const $SBT_NOTABPARSING = 0x800 ;Tab characters are ignored. 23 | Global Const $SBT_OWNERDRAW = 0x1000 ;The text is drawn by the parent window. 24 | 25 | ; Messages 26 | Global Const $__STATUSBARCONSTANT_WM_USER = 0X400 27 | Global Const $SB_GETBORDERS = ($__STATUSBARCONSTANT_WM_USER + 7) 28 | Global Const $SB_GETICON = ($__STATUSBARCONSTANT_WM_USER + 20) 29 | Global Const $SB_GETPARTS = ($__STATUSBARCONSTANT_WM_USER + 6) 30 | Global Const $SB_GETRECT = ($__STATUSBARCONSTANT_WM_USER + 10) 31 | Global Const $SB_GETTEXTA = ($__STATUSBARCONSTANT_WM_USER + 2) 32 | Global Const $SB_GETTEXTW = ($__STATUSBARCONSTANT_WM_USER + 13) 33 | Global Const $SB_GETTEXT = $SB_GETTEXTA 34 | Global Const $SB_GETTEXTLENGTHA = ($__STATUSBARCONSTANT_WM_USER + 3) 35 | Global Const $SB_GETTEXTLENGTHW = ($__STATUSBARCONSTANT_WM_USER + 12) 36 | Global Const $SB_GETTEXTLENGTH = $SB_GETTEXTLENGTHA 37 | Global Const $SB_GETTIPTEXTA = ($__STATUSBARCONSTANT_WM_USER + 18) 38 | Global Const $SB_GETTIPTEXTW = ($__STATUSBARCONSTANT_WM_USER + 19) 39 | Global Const $SB_GETUNICODEFORMAT = 0x2000 + 6 40 | 41 | Global Const $SB_ISSIMPLE = ($__STATUSBARCONSTANT_WM_USER + 14) 42 | 43 | Global Const $SB_SETBKCOLOR = 0x2000 + 1 44 | Global Const $SB_SETICON = ($__STATUSBARCONSTANT_WM_USER + 15) 45 | Global Const $SB_SETMINHEIGHT = ($__STATUSBARCONSTANT_WM_USER + 8) 46 | Global Const $SB_SETPARTS = ($__STATUSBARCONSTANT_WM_USER + 4) 47 | Global Const $SB_SETTEXTA = ($__STATUSBARCONSTANT_WM_USER + 1) 48 | Global Const $SB_SETTEXTW = ($__STATUSBARCONSTANT_WM_USER + 11) 49 | Global Const $SB_SETTEXT = $SB_SETTEXTA 50 | Global Const $SB_SETTIPTEXTA = ($__STATUSBARCONSTANT_WM_USER + 16) 51 | Global Const $SB_SETTIPTEXTW = ($__STATUSBARCONSTANT_WM_USER + 17) 52 | Global Const $SB_SETUNICODEFORMAT = 0x2000 + 5 53 | Global Const $SB_SIMPLE = ($__STATUSBARCONSTANT_WM_USER + 9) 54 | 55 | Global Const $SB_SIMPLEID = 0xff 56 | 57 | ; Notifications 58 | Global Const $SBN_FIRST = -880 59 | Global Const $SBN_SIMPLEMODECHANGE = $SBN_FIRST - 0 ; Sent when the simple mode changes due to a $SB_SIMPLE message 60 | ; =============================================================================================================================== 61 | -------------------------------------------------------------------------------- /Assets/Include/APIShPathConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPISPath Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_ParseURL() 14 | Global Const $URL_SCHEME_INVALID = -1 15 | Global Const $URL_SCHEME_UNKNOWN = 0 16 | Global Const $URL_SCHEME_FTP = 1 17 | Global Const $URL_SCHEME_HTTP = 2 18 | Global Const $URL_SCHEME_GOPHER = 3 19 | Global Const $URL_SCHEME_MAILTO = 4 20 | Global Const $URL_SCHEME_NEWS = 5 21 | Global Const $URL_SCHEME_NNTP = 6 22 | Global Const $URL_SCHEME_TELNET = 7 23 | Global Const $URL_SCHEME_WAIS = 8 24 | Global Const $URL_SCHEME_FILE = 9 25 | Global Const $URL_SCHEME_MK = 10 26 | Global Const $URL_SCHEME_HTTPS = 11 27 | Global Const $URL_SCHEME_SHELL = 12 28 | Global Const $URL_SCHEME_SNEWS = 13 29 | Global Const $URL_SCHEME_LOCAL = 14 30 | Global Const $URL_SCHEME_JAVASCRIPT = 15 31 | Global Const $URL_SCHEME_VBSCRIPT = 16 32 | Global Const $URL_SCHEME_ABOUT = 17 33 | Global Const $URL_SCHEME_RES = 18 34 | Global Const $URL_SCHEME_MSSHELLROOTED = 19 35 | Global Const $URL_SCHEME_MSSHELLIDLIST = 20 36 | Global Const $URL_SCHEME_MSHELP = 21 37 | Global Const $URL_SCHEME_MSSHELLDEVICE = 22 38 | Global Const $URL_SCHEME_WILDCARD = 23 39 | Global Const $URL_SCHEME_SEARCH_MS = 24 40 | Global Const $URL_SCHEME_SEARCH = 25 41 | Global Const $URL_SCHEME_KNOWNFOLDER = 26 42 | 43 | ; _WinAPI_PathGetCharType() 44 | Global Const $GCT_INVALID = 0x00 45 | Global Const $GCT_LFNCHAR = 0x01 46 | Global Const $GCT_SEPARATOR = 0x08 47 | Global Const $GCT_SHORTCHAR = 0x02 48 | Global Const $GCT_WILD = 0x04 49 | 50 | ; _WinAPI_UrlApplyScheme() 51 | Global Const $URL_APPLY_DEFAULT = 0x01 52 | Global Const $URL_APPLY_GUESSSCHEME = 0x02 53 | Global Const $URL_APPLY_GUESSFILE = 0x04 54 | Global Const $URL_APPLY_FORCEAPPLY = 0x08 55 | 56 | ; _WinAPI_UrlCanonicalize(), _WinAPI_UrlCombine() 57 | Global Const $URL_DONT_SIMPLIFY = 0x08000000 58 | Global Const $URL_ESCAPE_AS_UTF8 = 0x00040000 59 | Global Const $URL_ESCAPE_PERCENT = 0x00001000 60 | Global Const $URL_ESCAPE_SPACES_ONLY = 0x04000000 61 | Global Const $URL_ESCAPE_UNSAFE = 0x20000000 62 | Global Const $URL_NO_META = 0x08000000 63 | Global Const $URL_PLUGGABLE_PROTOCOL = 0x40000000 64 | Global Const $URL_UNESCAPE = 0x10000000 65 | 66 | ; _WinAPI_UrlGetPart() 67 | Global Const $URL_PART_HOSTNAME = 2 68 | Global Const $URL_PART_PASSWORD = 4 69 | Global Const $URL_PART_PORT = 5 70 | Global Const $URL_PART_QUERY = 6 71 | Global Const $URL_PART_SCHEME = 1 72 | Global Const $URL_PART_USERNAME = 3 73 | 74 | ; _WinAPI_UrlIs() 75 | Global Const $URLIS_APPLIABLE = 4 76 | Global Const $URLIS_DIRECTORY = 5 77 | Global Const $URLIS_FILEURL = 3 78 | Global Const $URLIS_HASQUERY = 6 79 | Global Const $URLIS_NOHISTORY = 2 80 | Global Const $URLIS_OPAQUE = 1 81 | Global Const $URLIS_URL = 0 82 | ; =============================================================================================================================== 83 | -------------------------------------------------------------------------------- /Assets/Include/Math.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "MathConstants.au3" 4 | 5 | ; #INDEX# ======================================================================================================================= 6 | ; Title .........: Mathematical calculations 7 | ; AutoIt Version : 3.3.14.2 8 | ; Language ......: English 9 | ; Description ...: Functions that assist with mathematical calculations. 10 | ; Author(s) .....: Valik, Gary Frost, guinness ... 11 | ; =============================================================================================================================== 12 | 13 | ; #CURRENT# ===================================================================================================================== 14 | ; _Degree 15 | ; _MathCheckDiv 16 | ; _Max 17 | ; _Min 18 | ; _Radian 19 | ; =============================================================================================================================== 20 | 21 | ; #FUNCTION# ==================================================================================================================== 22 | ; Author ........: Erifash 23 | ; =============================================================================================================================== 24 | Func _Degree($iRadians) 25 | Return IsNumber($iRadians) ? $iRadians * $MATH_DEGREES : SetError(1, 0, "") 26 | EndFunc ;==>_Degree 27 | 28 | ; #FUNCTION# ==================================================================================================================== 29 | ; Author ........: Wes Wolfe-Wolvereness 30 | ; Modified ......: czardas - rewritten for compatibility with Int64 31 | ; =============================================================================================================================== 32 | Func _MathCheckDiv($iNum1, $iNum2 = 2) 33 | If Not (IsInt($iNum1) And IsInt($iNum2)) Then 34 | Return SetError(1, 0, -1) 35 | EndIf 36 | Return (Mod($iNum1, $iNum2) = 0) ? $MATH_ISDIVISIBLE : $MATH_ISNOTDIVISIBLE 37 | EndFunc ;==>_MathCheckDiv 38 | 39 | ; #FUNCTION# ==================================================================================================================== 40 | ; Author ........: Jeremy Landes 41 | ; Modified ......: guinness - Added ternary operator. 42 | ; =============================================================================================================================== 43 | Func _Max($iNum1, $iNum2) 44 | ; Check to see if the parameters are numbers 45 | If Not IsNumber($iNum1) Then Return SetError(1, 0, 0) 46 | If Not IsNumber($iNum2) Then Return SetError(2, 0, 0) 47 | Return ($iNum1 > $iNum2) ? $iNum1 : $iNum2 48 | EndFunc ;==>_Max 49 | 50 | ; #FUNCTION# ==================================================================================================================== 51 | ; Author ........: Jeremy Landes 52 | ; Modified ......: guinness - Added ternary operator. 53 | ; =============================================================================================================================== 54 | Func _Min($iNum1, $iNum2) 55 | ; Check to see if the parameters are numbers 56 | If Not IsNumber($iNum1) Then Return SetError(1, 0, 0) 57 | If Not IsNumber($iNum2) Then Return SetError(2, 0, 0) 58 | Return ($iNum1 > $iNum2) ? $iNum2 : $iNum1 59 | EndFunc ;==>_Min 60 | 61 | ; #FUNCTION# ==================================================================================================================== 62 | ; Author ........: Erifash 63 | ; =============================================================================================================================== 64 | Func _Radian($iDegrees) 65 | Return Number($iDegrees) ? $iDegrees / $MATH_DEGREES : SetError(1, 0, "") 66 | EndFunc ;==>_Radian 67 | -------------------------------------------------------------------------------- /Assets/Include/WinAPIError.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Windows API 5 | ; AutoIt Version : 3.3.14.2 6 | ; Description ...: Windows API calls that have been translated to AutoIt functions. 7 | ; Author(s) .....: Paul Campbell (PaulIA) 8 | ; Dll ...........: kernel32.dll 9 | ; =============================================================================================================================== 10 | 11 | ; #CURRENT# ===================================================================================================================== 12 | ; _WinAPI_GetLastError 13 | ; _WinAPI_SetLastError 14 | ; =============================================================================================================================== 15 | 16 | ; #FUNCTION# ==================================================================================================================== 17 | ; Author ........: Paul Campbell (PaulIA) 18 | ; Modified.......: 19 | ; =============================================================================================================================== 20 | Func _WinAPI_GetLastError(Const $_iCurrentError = @error, Const $_iCurrentExtended = @extended) 21 | Local $aResult = DllCall("kernel32.dll", "dword", "GetLastError") 22 | Return SetError($_iCurrentError, $_iCurrentExtended, $aResult[0]) 23 | EndFunc ;==>_WinAPI_GetLastError 24 | 25 | ; #FUNCTION# ==================================================================================================================== 26 | ; Author ........: Paul Campbell (PaulIA) 27 | ; Modified.......: 28 | ; =============================================================================================================================== 29 | Func _WinAPI_SetLastError($iErrorCode, Const $_iCurrentError = @error, Const $_iCurrentExtended = @extended) 30 | DllCall("kernel32.dll", "none", "SetLastError", "dword", $iErrorCode) 31 | Return SetError($_iCurrentError, $_iCurrentExtended, Null) 32 | EndFunc ;==>_WinAPI_SetLastError 33 | 34 | ; #INTERNAL_USE_ONLY#============================================================================================================ 35 | ; Name ..........: __COMErrorFormating 36 | ; Description ...: Called when a COM error occurs and writes the error message with _DebugOut(). 37 | ; Syntax.........: __COMErrorFormating ( $oCOMError, $sLeading ) 38 | ; Parameters ....: $oCOMError - Error object 39 | ; $sPrefix - string to prefix each line 40 | ; Return values .: None 41 | ; Author ........: water 42 | ; Modified ......: jpm 43 | ; Remarks .......: 44 | ; Related .......: 45 | ; Link ..........: 46 | ; Example .......: 47 | ; =============================================================================================================================== 48 | Func __COMErrorFormating($oCOMError, $sPrefix = @TAB) 49 | Local Const $STR_STRIPTRAILING = 2 ; to avoid include just for one constant 50 | Local $sError = "COM Error encountered in " & @ScriptName & " (" & $oCOMError.Scriptline & ") :" & @CRLF & _ 51 | $sPrefix & "Number " & @TAB & "= 0x" & Hex($oCOMError.Number, 8) & " (" & $oCOMError.Number & ")" & @CRLF & _ 52 | $sPrefix & "WinDescription" & @TAB & "= " & StringStripWS($oCOMError.WinDescription, $STR_STRIPTRAILING) & @CRLF & _ 53 | $sPrefix & "Description " & @TAB & "= " & StringStripWS($oCOMError.Description, $STR_STRIPTRAILING) & @CRLF & _ 54 | $sPrefix & "Source " & @TAB & "= " & $oCOMError.Source & @CRLF & _ 55 | $sPrefix & "HelpFile " & @TAB & "= " & $oCOMError.HelpFile & @CRLF & _ 56 | $sPrefix & "HelpContext " & @TAB & "= " & $oCOMError.HelpContext & @CRLF & _ 57 | $sPrefix & "LastDllError " & @TAB & "= " & $oCOMError.LastDllError & @CRLF & _ 58 | $sPrefix & "Retcode " & @TAB & "= 0x" & Hex($oCOMError.retcode) 59 | 60 | Return $sError 61 | EndFunc ;==>__COMErrorFormating 62 | -------------------------------------------------------------------------------- /Assets/Include/FontConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Font_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for Font functions. 8 | ; Author(s) .....: Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; fonts 13 | Global Const $FW_DONTCARE = 0 14 | Global Const $FW_THIN = 100 15 | Global Const $FW_EXTRALIGHT = 200 16 | Global Const $FW_ULTRALIGHT = 200 17 | Global Const $FW_LIGHT = 300 18 | Global Const $FW_NORMAL = 400 19 | Global Const $FW_REGULAR = 400 20 | Global Const $FW_MEDIUM = 500 21 | Global Const $FW_SEMIBOLD = 600 22 | Global Const $FW_DEMIBOLD = 600 23 | Global Const $FW_BOLD = 700 24 | Global Const $FW_EXTRABOLD = 800 25 | Global Const $FW_ULTRABOLD = 800 26 | Global Const $FW_HEAVY = 900 27 | Global Const $FW_BLACK = 900 28 | 29 | ; Font Dialog constants 30 | Global Const $CF_EFFECTS = 0x100 31 | Global Const $CF_PRINTERFONTS = 0x2 32 | Global Const $CF_SCREENFONTS = 0x1 33 | Global Const $CF_NOSCRIPTSEL = 0x800000 34 | Global Const $CF_INITTOLOGFONTSTRUCT = 0x40 35 | Global Const $LOGPIXELSX = 88 36 | Global Const $LOGPIXELSY = 90 37 | 38 | ; Font Char sets 39 | Global Const $ANSI_CHARSET = 0 40 | Global Const $ARABIC_CHARSET = 178 41 | Global Const $BALTIC_CHARSET = 186 42 | Global Const $CHINESEBIG5_CHARSET = 136 43 | Global Const $DEFAULT_CHARSET = 1 44 | Global Const $EASTEUROPE_CHARSET = 238 45 | Global Const $GB2312_CHARSET = 134 46 | Global Const $GREEK_CHARSET = 161 47 | Global Const $HANGEUL_CHARSET = 129 48 | Global Const $HEBREW_CHARSET = 177 49 | Global Const $JOHAB_CHARSET = 130 50 | Global Const $MAC_CHARSET = 77 51 | Global Const $OEM_CHARSET = 255 52 | Global Const $RUSSIAN_CHARSET = 204 53 | Global Const $SHIFTJIS_CHARSET = 128 54 | Global Const $SYMBOL_CHARSET = 2 55 | Global Const $THAI_CHARSET = 222 56 | Global Const $TURKISH_CHARSET = 162 57 | Global Const $VIETNAMESE_CHARSET = 163 58 | 59 | ; Font Output Precision 60 | Global Const $OUT_CHARACTER_PRECIS = 2 61 | Global Const $OUT_DEFAULT_PRECIS = 0 62 | Global Const $OUT_DEVICE_PRECIS = 5 63 | Global Const $OUT_OUTLINE_PRECIS = 8 64 | Global Const $OUT_PS_ONLY_PRECIS = 10 65 | Global Const $OUT_RASTER_PRECIS = 6 66 | Global Const $OUT_STRING_PRECIS = 1 67 | Global Const $OUT_STROKE_PRECIS = 3 68 | Global Const $OUT_TT_ONLY_PRECIS = 7 69 | Global Const $OUT_TT_PRECIS = 4 70 | 71 | ; Font clipping precision 72 | Global Const $CLIP_CHARACTER_PRECIS = 1 73 | Global Const $CLIP_DEFAULT_PRECIS = 0 74 | Global Const $CLIP_DFA_DISABLE = 0x0030 75 | Global Const $CLIP_EMBEDDED = 128 76 | Global Const $CLIP_LH_ANGLES = 16 77 | Global Const $CLIP_MASK = 0xF 78 | Global Const $CLIP_DFA_OVERRIDE = 0x0040 79 | Global Const $CLIP_STROKE_PRECIS = 2 80 | Global Const $CLIP_TT_ALWAYS = 32 81 | 82 | ; Font Quality 83 | Global Const $ANTIALIASED_QUALITY = 4 84 | Global Const $DEFAULT_QUALITY = 0 85 | Global Const $DRAFT_QUALITY = 1 86 | Global Const $NONANTIALIASED_QUALITY = 3 87 | Global Const $PROOF_QUALITY = 2 88 | Global Const $CLEARTYPE_QUALITY = 5 89 | 90 | ; pitch and family of the font 91 | Global Const $DEFAULT_PITCH = 0 92 | Global Const $FIXED_PITCH = 1 93 | Global Const $VARIABLE_PITCH = 2 94 | 95 | Global Const $FF_DECORATIVE = 80 96 | Global Const $FF_DONTCARE = 0 97 | Global Const $FF_MODERN = 48 98 | Global Const $FF_ROMAN = 16 99 | Global Const $FF_SCRIPT = 64 100 | Global Const $FF_SWISS = 32 101 | 102 | Global Const $FS_REGULAR = 0x00 103 | Global Const $FS_BOLD = 0x01 104 | Global Const $FS_ITALIC = 0x02 105 | ; =============================================================================================================================== 106 | -------------------------------------------------------------------------------- /Assets/Include/Process.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "ProcessConstants.au3" 4 | 5 | ; #INDEX# ======================================================================================================================= 6 | ; Title .........: Process 7 | ; AutoIt Version : 3.3.14.2 8 | ; Language ......: English 9 | ; Description ...: Functions that assist with Process management. 10 | ; Author(s) .....: Erifash, Wouter, Matthew Tucker, Jeremy Landes, Valik 11 | ; Dll ...........: kernel32.dll 12 | ; =============================================================================================================================== 13 | 14 | ; #CURRENT# ===================================================================================================================== 15 | ; _ProcessGetName 16 | ; _ProcessGetPriority 17 | ; _RunDOS 18 | ; =============================================================================================================================== 19 | 20 | ; #FUNCTION# ==================================================================================================================== 21 | ; Author ........: Erifash , Wouter van Kesteren. guinness - Removed ProcessExists for speed. 22 | ; =============================================================================================================================== 23 | Func _ProcessGetName($iPID) 24 | Local $aProcessList = ProcessList() 25 | If Not @error Then 26 | For $i = 1 To $aProcessList[0][0] 27 | If $aProcessList[$i][1] = $iPID Then 28 | Return $aProcessList[$i][0] 29 | EndIf 30 | Next 31 | EndIf 32 | Return SetError(1, 0, "") 33 | EndFunc ;==>_ProcessGetName 34 | 35 | ; #FUNCTION# ==================================================================================================================== 36 | ; Author ........: Matthew Tucker 37 | ; =============================================================================================================================== 38 | Func _ProcessGetPriority($vProcess) 39 | Local $iError = 0, $iExtended = 0, $iReturn = -1 40 | Local $iPID = ProcessExists($vProcess) 41 | If Not $iPID Then Return SetError(1, 0, -1) 42 | Local $hDLL = DllOpen('kernel32.dll') 43 | 44 | Do ; Pseudo loop 45 | Local $aProcessHandle = DllCall($hDLL, 'handle', 'OpenProcess', 'dword', $PROCESS_QUERY_INFORMATION, 'bool', False, 'dword', $iPID) 46 | If @error Then 47 | $iError = @error + 10 48 | $iExtended = @extended 49 | ExitLoop 50 | EndIf 51 | If Not $aProcessHandle[0] Then ExitLoop 52 | 53 | Local $aPriority = DllCall($hDLL, 'dword', 'GetPriorityClass', 'handle', $aProcessHandle[0]) 54 | If @error Then 55 | $iError = @error 56 | $iExtended = @extended 57 | ; Fall-through so the handle is closed. 58 | EndIf 59 | 60 | DllCall($hDLL, 'bool', 'CloseHandle', 'handle', $aProcessHandle[0]) 61 | ; No need to test @error. 62 | 63 | If $iError Then ExitLoop 64 | 65 | Switch $aPriority[0] 66 | Case 0x00000040 ; IDLE_PRIORITY_CLASS 67 | $iReturn = 0 68 | Case 0x00004000 ; BELOW_NORMAL_PRIORITY_CLASS 69 | $iReturn = 1 70 | Case 0x00000020 ; NORMAL_PRIORITY_CLASS 71 | $iReturn = 2 72 | Case 0x00008000 ; ABOVE_NORMAL_PRIORITY_CLASS 73 | $iReturn = 3 74 | Case 0x00000080 ; HIGH_PRIORITY_CLASS 75 | $iReturn = 4 76 | Case 0x00000100 ; REALTIME_PRIORITY_CLASS 77 | $iReturn = 5 78 | Case Else 79 | $iError = 1 80 | $iExtended = $aPriority[0] 81 | $iReturn = -1 82 | EndSwitch 83 | Until True ; Executes once 84 | DllClose($hDLL) 85 | Return SetError($iError, $iExtended, $iReturn) 86 | EndFunc ;==>_ProcessGetPriority 87 | 88 | ; #FUNCTION# ==================================================================================================================== 89 | ; Author ........: Jeremy Landes 90 | ; =============================================================================================================================== 91 | Func _RunDos($sCommand) 92 | Local $nResult = RunWait(@ComSpec & " /C " & $sCommand, "", @SW_HIDE) 93 | Return SetError(@error, @extended, $nResult) 94 | EndFunc ;==>_RunDos 95 | -------------------------------------------------------------------------------- /Assets/Include/MsgBoxConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: MsgBox_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using function MsgBox. 8 | ; Author(s) .....: guinness, jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Message Box Constants 13 | ; Indicates the buttons displayed in the message box 14 | Global Const $MB_OK = 0 ; One push button: OK 15 | Global Const $MB_OKCANCEL = 1 ; Two push buttons: OK and Cancel 16 | Global Const $MB_ABORTRETRYIGNORE = 2 ; Three push buttons: Abort, Retry, and Ignore 17 | Global Const $MB_YESNOCANCEL = 3 ; Three push buttons: Yes, No, and Cancel 18 | Global Const $MB_YESNO = 4 ; Two push buttons: Yes and No 19 | Global Const $MB_RETRYCANCEL = 5 ; Two push buttons: Retry and Cancel 20 | Global Const $MB_CANCELTRYCONTINUE = 6 ; Three buttons: Cancel, Try Again and Continue 21 | Global Const $MB_HELP = 0x4000 ; Adds a Help button to the message box. When the user clicks the Help button or presses F1, the system sends a WM_HELP message to the owner. 22 | 23 | ; Displays an icon in the message box 24 | Global Const $MB_ICONSTOP = 16 ; Stop-sign icon 25 | Global Const $MB_ICONERROR = 16 ; Stop-sign icon 26 | Global Const $MB_ICONHAND = 16 ; Stop-sign icon 27 | Global Const $MB_ICONQUESTION = 32 ; Question-mark icon 28 | Global Const $MB_ICONEXCLAMATION = 48 ; Exclamation-point icon 29 | Global Const $MB_ICONWARNING = 48 ; Exclamation-point icon 30 | Global Const $MB_ICONINFORMATION = 64 ; Icon consisting of an 'i' in a circle 31 | Global Const $MB_ICONASTERISK = 64 ; Icon consisting of an 'i' in a circle 32 | Global Const $MB_USERICON = 0x00000080 33 | 34 | ; Indicates the default button 35 | Global Const $MB_DEFBUTTON1 = 0 ; The first button is the default button 36 | Global Const $MB_DEFBUTTON2 = 256 ; The second button is the default button 37 | Global Const $MB_DEFBUTTON3 = 512 ; The third button is the default button 38 | Global Const $MB_DEFBUTTON4 = 768 ; The fourth button is the default button. 39 | 40 | ; Indicates the modality of the dialog box 41 | Global Const $MB_APPLMODAL = 0 ; Application modal 42 | Global Const $MB_SYSTEMMODAL = 4096 ; System modal 43 | Global Const $MB_TASKMODAL = 8192 ; Task modal 44 | 45 | ; Indicates miscellaneous message box attributes 46 | Global Const $MB_DEFAULT_DESKTOP_ONLY = 0x00020000 ; Same as desktop of the interactive window station 47 | Global Const $MB_RIGHT = 0x00080000 ; The text is right-justified. 48 | Global Const $MB_RTLREADING = 0x00100000 ; Displays message and caption text using right-to-left reading order on Hebrew and Arabic systems. 49 | Global Const $MB_SETFOREGROUND = 0x00010000 ; The message box becomes the foreground window 50 | Global Const $MB_TOPMOST = 0x00040000 ; The message box is created with the WS_EX_TOPMOST window style. 51 | Global Const $MB_SERVICE_NOTIFICATION = 0x00200000 ; The caller is a service notifying the user of an event. 52 | 53 | Global Const $MB_RIGHTJUSTIFIED = $MB_RIGHT ; Do not use, see $MB_RIGHT. Included for backwards compatibility. 54 | 55 | ; Indicates the button selected in the message box 56 | Global Const $IDTIMEOUT = -1 ; The message box timed out 57 | Global Const $IDOK = 1 ; OK button was selected 58 | Global Const $IDCANCEL = 2 ; Cancel button was selected 59 | Global Const $IDABORT = 3 ; Abort button was selected 60 | Global Const $IDRETRY = 4 ; Retry button was selected 61 | Global Const $IDIGNORE = 5 ; Ignore button was selected 62 | Global Const $IDYES = 6 ; Yes button was selected 63 | Global Const $IDNO = 7 ; No button was selected 64 | Global Const $IDCLOSE = 8 ; Close button was selected 65 | Global Const $IDHELP = 9 ; Help button was selected 66 | Global Const $IDTRYAGAIN = 10 ; Try Again button was selected 67 | Global Const $IDCONTINUE = 11 ; Continue button was selected 68 | ; =============================================================================================================================== 69 | -------------------------------------------------------------------------------- /Assets/Include/SliderConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Slider_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control Slider styles and much more constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Custom Draw Values (Custom Draw values, for example, are specified in the dwItemSpec member of the NMCUSTOMDRAW structure) 13 | Global Const $TBCD_CHANNEL = 0x3 ;Identifies the channel that the trackbar control's thumb marker slides along. 14 | Global Const $TBCD_THUMB = 0x2 ;Identifies the trackbar control's thumb marker. This is the part of the control that the user moves 15 | Global Const $TBCD_TICS = 0x1 ;Identifies the tick marks that are displayed along the trackbar control's edge 16 | 17 | ; Messages 18 | Global Const $__SLIDERCONSTANT_WM_USER = 0x400 19 | Global Const $TBM_CLEARSEL = $__SLIDERCONSTANT_WM_USER + 19 20 | Global Const $TBM_CLEARTICS = $__SLIDERCONSTANT_WM_USER + 9 21 | Global Const $TBM_GETBUDDY = $__SLIDERCONSTANT_WM_USER + 33 22 | Global Const $TBM_GETCHANNELRECT = $__SLIDERCONSTANT_WM_USER + 26 23 | Global Const $TBM_GETLINESIZE = $__SLIDERCONSTANT_WM_USER + 24 24 | Global Const $TBM_GETNUMTICS = $__SLIDERCONSTANT_WM_USER + 16 25 | Global Const $TBM_GETPAGESIZE = $__SLIDERCONSTANT_WM_USER + 22 26 | Global Const $TBM_GETPOS = $__SLIDERCONSTANT_WM_USER 27 | Global Const $TBM_GETPTICS = $__SLIDERCONSTANT_WM_USER + 14 28 | Global Const $TBM_GETSELEND = $__SLIDERCONSTANT_WM_USER + 18 29 | Global Const $TBM_GETSELSTART = $__SLIDERCONSTANT_WM_USER + 17 30 | Global Const $TBM_GETRANGEMAX = $__SLIDERCONSTANT_WM_USER + 2 31 | Global Const $TBM_GETRANGEMIN = $__SLIDERCONSTANT_WM_USER + 1 32 | Global Const $TBM_GETTHUMBLENGTH = $__SLIDERCONSTANT_WM_USER + 28 33 | Global Const $TBM_GETTHUMBRECT = $__SLIDERCONSTANT_WM_USER + 25 34 | Global Const $TBM_GETTIC = $__SLIDERCONSTANT_WM_USER + 3 35 | Global Const $TBM_GETTICPOS = $__SLIDERCONSTANT_WM_USER + 15 36 | Global Const $TBM_GETTOOLTIPS = $__SLIDERCONSTANT_WM_USER + 30 37 | Global Const $TBM_GETUNICODEFORMAT = 0x2000 + 6 38 | Global Const $TBM_SETBUDDY = $__SLIDERCONSTANT_WM_USER + 32 39 | Global Const $TBM_SETLINESIZE = $__SLIDERCONSTANT_WM_USER + 23 40 | Global Const $TBM_SETPAGESIZE = $__SLIDERCONSTANT_WM_USER + 21 41 | Global Const $TBM_SETPOS = $__SLIDERCONSTANT_WM_USER + 5 42 | Global Const $TBM_SETRANGE = $__SLIDERCONSTANT_WM_USER + 6 43 | Global Const $TBM_SETRANGEMAX = $__SLIDERCONSTANT_WM_USER + 8 44 | Global Const $TBM_SETRANGEMIN = $__SLIDERCONSTANT_WM_USER + 7 45 | Global Const $TBM_SETSEL = $__SLIDERCONSTANT_WM_USER + 10 46 | Global Const $TBM_SETSELEND = $__SLIDERCONSTANT_WM_USER + 12 47 | Global Const $TBM_SETSELSTART = $__SLIDERCONSTANT_WM_USER + 11 48 | Global Const $TBM_SETTHUMBLENGTH = $__SLIDERCONSTANT_WM_USER + 27 49 | Global Const $TBM_SETTIC = $__SLIDERCONSTANT_WM_USER + 4 50 | Global Const $TBM_SETTICFREQ = $__SLIDERCONSTANT_WM_USER + 20 51 | Global Const $TBM_SETTIPSIDE = $__SLIDERCONSTANT_WM_USER + 31 52 | Global Const $TBM_SETTOOLTIPS = $__SLIDERCONSTANT_WM_USER + 29 53 | Global Const $TBM_SETUNICODEFORMAT = 0x2000 + 5 54 | 55 | ; Tip Side Params 56 | Global Const $TBTS_BOTTOM = 2 57 | Global Const $TBTS_LEFT = 1 58 | Global Const $TBTS_RIGHT = 3 59 | Global Const $TBTS_TOP = 0 60 | 61 | ; Styles 62 | Global Const $TBS_AUTOTICKS = 0x0001 63 | Global Const $TBS_BOTH = 0x0008 64 | Global Const $TBS_BOTTOM = 0x0000 65 | Global Const $TBS_DOWNISLEFT = 0x0400 66 | Global Const $TBS_ENABLESELRANGE = 0x20 67 | Global Const $TBS_FIXEDLENGTH = 0x40 68 | Global Const $TBS_HORZ = 0x0000 69 | Global Const $TBS_LEFT = 0x0004 70 | Global Const $TBS_NOTHUMB = 0x0080 71 | Global Const $TBS_NOTICKS = 0x0010 72 | Global Const $TBS_REVERSED = 0x200 73 | Global Const $TBS_RIGHT = 0x0000 74 | Global Const $TBS_TOP = 0x0004 75 | Global Const $TBS_TOOLTIPS = 0x100 76 | Global Const $TBS_VERT = 0x0002 77 | 78 | ; Control default styles 79 | Global Const $GUI_SS_DEFAULT_SLIDER = $TBS_AUTOTICKS 80 | ; =============================================================================================================================== 81 | -------------------------------------------------------------------------------- /Assets/Include/GUIConstantsEx.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: GUIConstantsEx 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be used in GUI applications. 8 | ; Author(s) .....: Jpm, Valik 9 | ; Dll ...........: 10 | ; =============================================================================================================================== 11 | 12 | ; #CONSTANTS# =================================================================================================================== 13 | ; Events and messages 14 | Global Const $GUI_EVENT_SINGLE = 0 ; (default) Returns a single event. 15 | Global Const $GUI_EVENT_ARRAY = 1 ; returns an array containing the event and extended information. 16 | 17 | Global Const $GUI_EVENT_NONE = 0 18 | Global Const $GUI_EVENT_CLOSE = -3 19 | Global Const $GUI_EVENT_MINIMIZE = -4 20 | Global Const $GUI_EVENT_RESTORE = -5 21 | Global Const $GUI_EVENT_MAXIMIZE = -6 22 | Global Const $GUI_EVENT_PRIMARYDOWN = -7 23 | Global Const $GUI_EVENT_PRIMARYUP = -8 24 | Global Const $GUI_EVENT_SECONDARYDOWN = -9 25 | Global Const $GUI_EVENT_SECONDARYUP = -10 26 | Global Const $GUI_EVENT_MOUSEMOVE = -11 27 | Global Const $GUI_EVENT_RESIZED = -12 28 | Global Const $GUI_EVENT_DROPPED = -13 29 | 30 | Global Const $GUI_RUNDEFMSG = 'GUI_RUNDEFMSG' 31 | 32 | ; State 33 | Global Const $GUI_AVISTOP = 0 34 | Global Const $GUI_AVISTART = 1 35 | Global Const $GUI_AVICLOSE = 2 36 | 37 | Global Const $GUI_CHECKED = 1 38 | Global Const $GUI_INDETERMINATE = 2 39 | Global Const $GUI_UNCHECKED = 4 40 | 41 | Global Const $GUI_DROPACCEPTED = 8 42 | Global Const $GUI_NODROPACCEPTED = 4096 43 | Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED ; to be suppressed 44 | 45 | Global Const $GUI_SHOW = 16 46 | Global Const $GUI_HIDE = 32 47 | Global Const $GUI_ENABLE = 64 48 | Global Const $GUI_DISABLE = 128 49 | 50 | Global Const $GUI_FOCUS = 256 51 | Global Const $GUI_NOFOCUS = 8192 52 | Global Const $GUI_DEFBUTTON = 512 53 | 54 | Global Const $GUI_EXPAND = 1024 55 | Global Const $GUI_ONTOP = 2048 56 | 57 | ; Font 58 | Global Const $GUI_FONTNORMAL = 0 59 | Global Const $GUI_FONTITALIC = 2 60 | Global Const $GUI_FONTUNDER = 4 61 | Global Const $GUI_FONTSTRIKE = 8 62 | 63 | ; Resizing 64 | Global Const $GUI_DOCKAUTO = 0x0001 65 | Global Const $GUI_DOCKLEFT = 0x0002 66 | Global Const $GUI_DOCKRIGHT = 0x0004 67 | Global Const $GUI_DOCKHCENTER = 0x0008 68 | Global Const $GUI_DOCKTOP = 0x0020 69 | Global Const $GUI_DOCKBOTTOM = 0x0040 70 | Global Const $GUI_DOCKVCENTER = 0x0080 71 | Global Const $GUI_DOCKWIDTH = 0x0100 72 | Global Const $GUI_DOCKHEIGHT = 0x0200 73 | 74 | Global Const $GUI_DOCKSIZE = 0x0300 ; width+height 75 | Global Const $GUI_DOCKMENUBAR = 0x0220 ; top+height 76 | Global Const $GUI_DOCKSTATEBAR = 0x0240 ; bottom+height 77 | Global Const $GUI_DOCKALL = 0x0322 ; left+top+width+height 78 | Global Const $GUI_DOCKBORDERS = 0x0066 ; left+top+right+bottom 79 | 80 | ; Graphic 81 | Global Const $GUI_GR_CLOSE = 1 82 | Global Const $GUI_GR_LINE = 2 83 | Global Const $GUI_GR_BEZIER = 4 84 | Global Const $GUI_GR_MOVE = 6 85 | Global Const $GUI_GR_COLOR = 8 86 | Global Const $GUI_GR_RECT = 10 87 | Global Const $GUI_GR_ELLIPSE = 12 88 | Global Const $GUI_GR_PIE = 14 89 | Global Const $GUI_GR_DOT = 16 90 | Global Const $GUI_GR_PIXEL = 18 91 | Global Const $GUI_GR_HINT = 20 92 | Global Const $GUI_GR_REFRESH = 22 93 | Global Const $GUI_GR_PENSIZE = 24 94 | Global Const $GUI_GR_NOBKCOLOR = -2 95 | 96 | ; Background color special flags 97 | Global Const $GUI_BKCOLOR_DEFAULT = -1 98 | Global Const $GUI_BKCOLOR_TRANSPARENT = -2 99 | Global Const $GUI_BKCOLOR_LV_ALTERNATE = 0xFE000000 100 | 101 | ; GUICtrlRead Constants 102 | Global Const $GUI_READ_DEFAULT = 0 ; (Default) Returns a value with state or data of a control. 103 | Global Const $GUI_READ_EXTENDED = 1 ; Returns extended information of a control (see Remarks). 104 | 105 | ; GUISetCursor Constants 106 | Global Const $GUI_CURSOR_NOOVERRIDE = 0 ; (default) Don't override a control's default mouse cursor. 107 | Global Const $GUI_CURSOR_OVERRIDE = 1 ; override control's default mouse cursor. 108 | 109 | ; Other 110 | Global Const $GUI_WS_EX_PARENTDRAG = 0x00100000 111 | ; =============================================================================================================================== 112 | -------------------------------------------------------------------------------- /Assets/Include/APIResConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPIRes Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_FindResource(), _WinAPI_FindResourceEx(), _WinAPI_UpdateResource() 14 | Global Const $RT_ACCELERATOR = 9 15 | Global Const $RT_ANICURSOR = 21 16 | Global Const $RT_ANIICON = 22 17 | Global Const $RT_BITMAP = 2 18 | Global Const $RT_CURSOR = 1 19 | Global Const $RT_DIALOG = 5 20 | Global Const $RT_DLGINCLUDE = 17 21 | Global Const $RT_FONT = 8 22 | Global Const $RT_FONTDIR = 7 23 | Global Const $RT_GROUP_CURSOR = 12 24 | Global Const $RT_GROUP_ICON = 14 25 | Global Const $RT_HTML = 23 26 | Global Const $RT_ICON = 3 27 | Global Const $RT_MANIFEST = 24 28 | Global Const $RT_MENU = 4 29 | Global Const $RT_MESSAGETABLE = 11 30 | Global Const $RT_PLUGPLAY = 19 31 | Global Const $RT_RCDATA = 10 32 | Global Const $RT_STRING = 6 33 | Global Const $RT_VERSION = 16 34 | Global Const $RT_VXD = 20 35 | 36 | ; _WinAPI_GetFileVersionInfo() 37 | Global Const $FILE_VER_GET_LOCALISED = 0x01 38 | Global Const $FILE_VER_GET_NEUTRAL = 0x02 39 | Global Const $FILE_VER_GET_PREFETCHED = 0x04 40 | 41 | ; _WinAPI_SetSystemCursor() 42 | Global Const $OCR_NORMAL = 32512 43 | Global Const $OCR_IBEAM = 32513 44 | Global Const $OCR_WAIT = 32514 45 | Global Const $OCR_CROSS = 32515 46 | Global Const $OCR_UP = 32516 47 | Global Const $OCR_SIZE = 32640 48 | Global Const $OCR_ICON = 32641 49 | Global Const $OCR_SIZENWSE = 32642 50 | Global Const $OCR_SIZENESW = 32643 51 | Global Const $OCR_SIZEWE = 32644 52 | Global Const $OCR_SIZENS = 32645 53 | Global Const $OCR_SIZEALL = 32646 54 | Global Const $OCR_ICOCUR = 32647 55 | Global Const $OCR_NO = 32648 56 | Global Const $OCR_HAND = 32649 57 | Global Const $OCR_APPSTARTING = 32650 58 | Global Const $OCR_HELP = 32651 59 | 60 | ; _WinAPI_VerQueryRoot() 61 | Global Const $VS_FF_DEBUG = 0x00000001 62 | Global Const $VS_FF_INFOINFERRED = 0x00000010 63 | Global Const $VS_FF_PATCHED = 0x00000004 64 | Global Const $VS_FF_PRERELEASE = 0x00000002 65 | Global Const $VS_FF_PRIVATEBUILD = 0x00000008 66 | Global Const $VS_FF_SPECIALBUILD = 0x00000020 67 | 68 | Global Const $VOS_DOS = 0x00010000 69 | Global Const $VOS_NT = 0x00040000 70 | Global Const $VOS__WINDOWS16 = 0x00000001 71 | Global Const $VOS__WINDOWS32 = 0x00000004 72 | Global Const $VOS_OS216 = 0x00020000 73 | Global Const $VOS_OS232 = 0x00030000 74 | Global Const $VOS__PM16 = 0x00000002 75 | Global Const $VOS__PM32 = 0x00000003 76 | Global Const $VOS_UNKNOWN = 0x00000000 77 | 78 | Global Const $VOS_DOS_WINDOWS16 = 0x00010001 79 | Global Const $VOS_DOS_WINDOWS32 = 0x00010004 80 | Global Const $VOS_NT_WINDOWS32 = 0x00040004 81 | Global Const $VOS_OS216_PM16 = 0x00020002 82 | Global Const $VOS_OS232_PM32 = 0x00030003 83 | 84 | Global Const $VFT_APP = 0x00000001 85 | Global Const $VFT_DLL = 0x00000002 86 | Global Const $VFT_DRV = 0x00000003 87 | Global Const $VFT_FONT = 0x00000004 88 | Global Const $VFT_STATIC_LIB = 0x00000007 89 | Global Const $VFT_UNKNOWN = 0x00000000 90 | Global Const $VFT_VXD = 0x00000005 91 | 92 | Global Const $VFT2_DRV_COMM = 0x0000000A 93 | Global Const $VFT2_DRV_DISPLAY = 0x00000004 94 | Global Const $VFT2_DRV_INSTALLABLE = 0x00000008 95 | Global Const $VFT2_DRV_KEYBOARD = 0x00000002 96 | Global Const $VFT2_DRV_LANGUAGE = 0x00000003 97 | Global Const $VFT2_DRV_MOUSE = 0x00000005 98 | Global Const $VFT2_DRV_NETWORK = 0x00000006 99 | Global Const $VFT2_DRV_PRINTER = 0x00000001 100 | Global Const $VFT2_DRV_SOUND = 0x00000009 101 | Global Const $VFT2_DRV_SYSTEM = 0x00000007 102 | Global Const $VFT2_DRV_VERSIONED_PRINTER = 0x0000000C 103 | Global Const $VFT2_UNKNOWN = 0x00000000 104 | 105 | Global Const $VFT2_FONT_RASTER = 0x00000001 106 | Global Const $VFT2_FONT_TRUETYPE = 0x00000003 107 | Global Const $VFT2_FONT_VECTOR = 0x00000002 108 | ; Global Const $VFT2_UNKNOWN = 0x00000000 109 | ; =============================================================================================================================== 110 | -------------------------------------------------------------------------------- /Assets/Include/ButtonConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Button_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for GUI control Button styles and Group, Radio, Checkbox. 8 | ; Author(s) .....: Valik 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Group 13 | Global Const $BS_GROUPBOX = 0x0007 14 | 15 | ; Button 16 | Global Const $BS_BOTTOM = 0x0800 17 | Global Const $BS_CENTER = 0x0300 18 | Global Const $BS_DEFPUSHBUTTON = 0x0001 19 | Global Const $BS_LEFT = 0x0100 20 | Global Const $BS_MULTILINE = 0x2000 21 | Global Const $BS_PUSHBOX = 0x000A 22 | Global Const $BS_PUSHLIKE = 0x1000 23 | Global Const $BS_RIGHT = 0x0200 24 | Global Const $BS_RIGHTBUTTON = 0x0020 25 | Global Const $BS_TOP = 0x0400 26 | Global Const $BS_VCENTER = 0x0C00 27 | Global Const $BS_FLAT = 0x8000 28 | Global Const $BS_ICON = 0x0040 29 | Global Const $BS_BITMAP = 0x0080 30 | Global Const $BS_NOTIFY = 0x4000 31 | ; Vista 32 | Global Const $BS_SPLITBUTTON = 0x0000000C 33 | Global Const $BS_DEFSPLITBUTTON = 0x0000000D 34 | Global Const $BS_COMMANDLINK = 0x0000000E 35 | Global Const $BS_DEFCOMMANDLINK = 0x0000000F 36 | 37 | ; Vista SPLIT BUTTON INFO mask flags 38 | Global Const $BCSIF_GLYPH = 0x0001 39 | Global Const $BCSIF_IMAGE = 0x0002 40 | Global Const $BCSIF_STYLE = 0x0004 41 | Global Const $BCSIF_SIZE = 0x0008 42 | 43 | ; Vista SPLIT BUTTON STYLE flags 44 | Global Const $BCSS_NOSPLIT = 0x0001 45 | Global Const $BCSS_STRETCH = 0x0002 46 | Global Const $BCSS_ALIGNLEFT = 0x0004 47 | Global Const $BCSS_IMAGE = 0x0008 48 | 49 | Global Const $BUTTON_IMAGELIST_ALIGN_LEFT = 0 50 | Global Const $BUTTON_IMAGELIST_ALIGN_RIGHT = 1 51 | Global Const $BUTTON_IMAGELIST_ALIGN_TOP = 2 52 | Global Const $BUTTON_IMAGELIST_ALIGN_BOTTOM = 3 53 | Global Const $BUTTON_IMAGELIST_ALIGN_CENTER = 4 ; Doesn't draw text 54 | 55 | ; Checkbox 56 | Global Const $BS_3STATE = 0x0005 57 | Global Const $BS_AUTO3STATE = 0x0006 58 | Global Const $BS_AUTOCHECKBOX = 0x0003 59 | Global Const $BS_CHECKBOX = 0x0002 60 | 61 | ; Radio 62 | Global Const $BS_RADIOBUTTON = 0x4 63 | Global Const $BS_AUTORADIOBUTTON = 0x0009 64 | 65 | Global Const $BS_OWNERDRAW = 0xB 66 | 67 | ; Control default styles 68 | Global Const $GUI_SS_DEFAULT_BUTTON = 0 69 | Global Const $GUI_SS_DEFAULT_CHECKBOX = 0 70 | Global Const $GUI_SS_DEFAULT_GROUP = 0 71 | Global Const $GUI_SS_DEFAULT_RADIO = 0 72 | 73 | ; Messages 74 | Global Const $BCM_FIRST = 0x1600 75 | Global Const $BCM_GETIDEALSIZE = ($BCM_FIRST + 0x0001) 76 | Global Const $BCM_GETIMAGELIST = ($BCM_FIRST + 0x0003) 77 | Global Const $BCM_GETNOTE = ($BCM_FIRST + 0x000A) 78 | Global Const $BCM_GETNOTELENGTH = ($BCM_FIRST + 0x000B) 79 | Global Const $BCM_GETSPLITINFO = ($BCM_FIRST + 0x0008) 80 | Global Const $BCM_GETTEXTMARGIN = ($BCM_FIRST + 0x0005) 81 | Global Const $BCM_SETDROPDOWNSTATE = ($BCM_FIRST + 0x0006) 82 | Global Const $BCM_SETIMAGELIST = ($BCM_FIRST + 0x0002) 83 | Global Const $BCM_SETNOTE = ($BCM_FIRST + 0x0009) 84 | Global Const $BCM_SETSHIELD = ($BCM_FIRST + 0x000C) 85 | Global Const $BCM_SETSPLITINFO = ($BCM_FIRST + 0x0007) 86 | Global Const $BCM_SETTEXTMARGIN = ($BCM_FIRST + 0x0004) 87 | Global Const $BM_CLICK = 0xF5 88 | Global Const $BM_GETCHECK = 0xF0 89 | Global Const $BM_GETIMAGE = 0xF6 90 | Global Const $BM_GETSTATE = 0xF2 91 | Global Const $BM_SETCHECK = 0xF1 92 | Global Const $BM_SETDONTCLICK = 0xF8 93 | Global Const $BM_SETIMAGE = 0xF7 94 | Global Const $BM_SETSTATE = 0xF3 95 | Global Const $BM_SETSTYLE = 0xF4 96 | 97 | ; Notifications 98 | Global Const $BCN_FIRST = -1250 99 | Global Const $BCN_DROPDOWN = ($BCN_FIRST + 0x0002) 100 | Global Const $BCN_HOTITEMCHANGE = ($BCN_FIRST + 0x0001) 101 | Global Const $BN_CLICKED = 0 102 | Global Const $BN_PAINT = 1 103 | Global Const $BN_HILITE = 2 104 | Global Const $BN_UNHILITE = 3 105 | Global Const $BN_DISABLE = 4 106 | Global Const $BN_DOUBLECLICKED = 5 107 | Global Const $BN_SETFOCUS = 6 108 | Global Const $BN_KILLFOCUS = 7 109 | Global Const $BN_PUSHED = $BN_HILITE 110 | Global Const $BN_UNPUSHED = $BN_UNHILITE 111 | Global Const $BN_DBLCLK = $BN_DOUBLECLICKED 112 | 113 | ; check states 114 | Global Const $BST_CHECKED = 0x1 115 | Global Const $BST_INDETERMINATE = 0x2 116 | Global Const $BST_UNCHECKED = 0x0 117 | Global Const $BST_FOCUS = 0x8 118 | Global Const $BST_PUSHED = 0x4 119 | Global Const $BST_DONTCLICK = 0x000080 120 | ; =============================================================================================================================== 121 | -------------------------------------------------------------------------------- /Assets/Include/APIRegConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPIReg Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_AssocGetPerceivedType() 14 | Global Const $PERCEIVED_TYPE_CUSTOM = -3 15 | Global Const $PERCEIVED_TYPE_UNSPECIFIED = -2 16 | Global Const $PERCEIVED_TYPE_FOLDER = -1 17 | Global Const $PERCEIVED_TYPE_UNKNOWN = 0 18 | Global Const $PERCEIVED_TYPE_TEXT = 1 19 | Global Const $PERCEIVED_TYPE_IMAGE = 2 20 | Global Const $PERCEIVED_TYPE_AUDIO = 3 21 | Global Const $PERCEIVED_TYPE_VIDEO = 4 22 | Global Const $PERCEIVED_TYPE_COMPRESSED = 5 23 | Global Const $PERCEIVED_TYPE_DOCUMENT = 6 24 | Global Const $PERCEIVED_TYPE_SYSTEM = 7 25 | Global Const $PERCEIVED_TYPE_APPLICATION = 8 26 | Global Const $PERCEIVED_TYPE_GAMEMEDIA = 9 27 | Global Const $PERCEIVED_TYPE_CONTACTS = 10 28 | 29 | Global Const $PERCEIVEDFLAG_UNDEFINED = 0x0000 30 | Global Const $PERCEIVEDFLAG_SOFTCODED = 0x0001 31 | Global Const $PERCEIVEDFLAG_HARDCODED = 0x0002 32 | Global Const $PERCEIVEDFLAG_NATIVESUPPORT = 0x0004 33 | Global Const $PERCEIVEDFLAG_GDIPLUS = 0x0010 34 | Global Const $PERCEIVEDFLAG_WMSDK = 0x0020 35 | Global Const $PERCEIVEDFLAG_ZIPFOLDER = 0x0040 36 | 37 | ; _WinAPI_AssocQueryString() 38 | Global Const $ASSOCSTR_COMMAND = 1 39 | Global Const $ASSOCSTR_EXECUTABLE = 2 40 | Global Const $ASSOCSTR_FRIENDLYDOCNAME = 3 41 | Global Const $ASSOCSTR_FRIENDLYAPPNAME = 4 42 | Global Const $ASSOCSTR_NOOPEN = 5 43 | Global Const $ASSOCSTR_SHELLNEWVALUE = 6 44 | Global Const $ASSOCSTR_DDECOMMAND = 7 45 | Global Const $ASSOCSTR_DDEIFEXEC = 8 46 | Global Const $ASSOCSTR_DDEAPPLICATION = 9 47 | Global Const $ASSOCSTR_DDETOPIC = 10 48 | Global Const $ASSOCSTR_INFOTIP = 11 49 | Global Const $ASSOCSTR_QUICKTIP = 12 50 | Global Const $ASSOCSTR_TILEINFO = 13 51 | Global Const $ASSOCSTR_CONTENTTYPE = 14 52 | Global Const $ASSOCSTR_DEFAULTICON = 15 53 | Global Const $ASSOCSTR_SHELLEXTENSION = 16 54 | 55 | Global Const $ASSOCF_INIT_NOREMAPCLSID = 0x00000001 56 | Global Const $ASSOCF_INIT_BYEXENAME = 0x00000002 57 | Global Const $ASSOCF_OPEN_BYEXENAME = 0x00000002 58 | Global Const $ASSOCF_INIT_DEFAULTTOSTAR = 0x00000004 59 | Global Const $ASSOCF_INIT_DEFAULTTOFOLDER = 0x00000008 60 | Global Const $ASSOCF_NOUSERSETTINGS = 0x00000010 61 | Global Const $ASSOCF_NOTRUNCATE = 0x00000020 62 | Global Const $ASSOCF_VERIFY = 0x00000040 63 | Global Const $ASSOCF_REMAPRUNDLL = 0x00000080 64 | Global Const $ASSOCF_NOFIXUPS = 0x00000100 65 | Global Const $ASSOCF_IGNOREBASECLASS = 0x00000200 66 | Global Const $ASSOCF_INIT_IGNOREUNKNOWN = 0x00000400 67 | 68 | ; _WinAPI_Reg... 69 | Global Const $HKEY_CLASSES_ROOT = 0x80000000 70 | Global Const $HKEY_CURRENT_CONFIG = 0x80000005 71 | Global Const $HKEY_CURRENT_USER = 0x80000001 72 | Global Const $HKEY_LOCAL_MACHINE = 0x80000002 73 | Global Const $HKEY_PERFORMANCE_DATA = 0x80000004 74 | Global Const $HKEY_PERFORMANCE_NLSTEXT = 0x80000060 75 | Global Const $HKEY_PERFORMANCE_TEXT = 0x80000050 76 | Global Const $HKEY_USERS = 0x80000003 77 | 78 | Global Const $KEY_CREATE_LINK = 0x0020 79 | Global Const $KEY_CREATE_SUB_KEY = 0x0004 80 | Global Const $KEY_ENUMERATE_SUB_KEYS = 0x0008 81 | Global Const $KEY_NOTIFY = 0x0010 82 | Global Const $KEY_QUERY_VALUE = 0x0001 83 | Global Const $KEY_SET_VALUE = 0x0002 84 | Global Const $KEY_WOW64_32KEY = 0x0200 85 | Global Const $KEY_WOW64_64KEY = 0x0100 86 | Global Const $KEY_READ = 0x00020019 ; BitOR($STANDARD_RIGHTS_READ, $KEY_ENUMERATE_SUB_KEYS, $KEY_NOTIFY, $KEY_QUERY_VALUE) 87 | Global Const $KEY_WRITE = 0x0002006 ; BitOR($STANDARD_RIGHTS_WRITE, $KEY_CREATE_SUB_KEY, $KEY_SET_VALUE) 88 | Global Const $KEY_EXECUTE = $KEY_READ 89 | Global Const $KEY_ALL_ACCESS = 0x000f003f ; BitOR($STANDARD_RIGHTS_REQUIRED, $KEY_CREATE_LINK, $KEY_CREATE_SUB_KEY, $KEY_ENUMERATE_SUB_KEYS, $KEY_NOTIFY, $KEY_QUERY_VALUE, $KEY_SET_VALUE) 90 | 91 | Global Const $REG_NOTIFY_CHANGE_NAME = 0x01 92 | Global Const $REG_NOTIFY_CHANGE_ATTRIBUTES = 0x02 93 | Global Const $REG_NOTIFY_CHANGE_LAST_SET = 0x04 94 | Global Const $REG_NOTIFY_CHANGE_SECURITY = 0x08 95 | 96 | Global Const $REG_OPTION_BACKUP_RESTORE = 0x04 97 | Global Const $REG_OPTION_CREATE_LINK = 0x02 98 | Global Const $REG_OPTION_NON_VOLATILE = 0x00 99 | Global Const $REG_OPTION_VOLATILE = 0x01 100 | ; =============================================================================================================================== 101 | -------------------------------------------------------------------------------- /Assets/Include/Constants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "AutoItConstants.au3" 4 | #include "ColorConstants.au3" 5 | #include "DirConstants.au3" 6 | #include "FileConstants.au3" 7 | #include "MsgBoxConstants.au3" 8 | #include "ProcessConstants.au3" 9 | #include "StringConstants.au3" 10 | #include "TrayConstants.au3" 11 | 12 | ; #INDEX# ======================================================================================================================= 13 | ; Title .........: Constants 14 | ; AutoIt Version : 3.3.14.2 15 | ; Language ......: English 16 | ; Description ...: Constants to be included in an AutoIt v3 script. 17 | ; Author(s) .....: JLandes, Nutster, CyberSlug, Holger, ... 18 | ; =============================================================================================================================== 19 | 20 | ; #CONSTANTS# =================================================================================================================== 21 | ; Sets the way coords are used in the mouse and pixel functions 22 | ; in AutoItConstants.au3 23 | 24 | ; Sets how errors are handled if a Run/RunWait function fails 25 | ; in AutoItConstants.au3 26 | 27 | ; Alters the use of Caps Lock 28 | ; in AutoItConstants.au3 29 | 30 | ; Alters the method that is used to match window titles 31 | ; in AutoItConstants.au3 32 | 33 | ; Common Control Styles 34 | ; in AutoItConstants.au3 35 | 36 | ; DrawIconEx Constants 37 | ; in WinAPIConstants.au3 38 | 39 | ; EnumDisplayDevice Constants 40 | ; in WinAPIConstants.au3 41 | 42 | ; Dir Constants 43 | ; in DirConstants.au3 44 | 45 | ; DriveGetType() Constants 46 | ; in AutoItConstants.au3 47 | 48 | ; File Constants 49 | ; in FileConstants.au3 50 | 51 | ; FlashWindowEx Constants 52 | ; in WinAPIConstants.au3 53 | 54 | ; FormatMessage Constants 55 | ; in WinAPIConstants.au3 56 | 57 | ; GetWindows Constants 58 | ; in WinAPIConstants.au3 59 | 60 | ; GetWindowLong Constants 61 | ; in WinAPIConstants.au3 62 | 63 | ; Standard Icon Index Constants 64 | ; in WinAPIConstants.au3 65 | 66 | ; Image Load Constants 67 | ; in WinAPIConstants.au3 68 | 69 | ; Image Type Constants 70 | ; in WinAPIConstants.au3 71 | 72 | ; Keyboard Constants 73 | ; Changes how keys are processed 74 | ; in WinAPIConstants.au3 75 | 76 | ; Sets the state of the Caps Lock key 77 | ; in WinAPIConstants.au3 78 | 79 | ; LoadLibraryEx Constants 80 | ; in WinAPIConstants.au3 81 | 82 | ; Reserved IDs for System Objects 83 | ; in MenuConstants.au3 84 | ; in ScrollBarsConstants.au3 85 | ; in AutoItConstants.au3 86 | 87 | ; Virtual Keys Constants 88 | ; in WinAPIvkeysConstants.au3 89 | 90 | ; Message Box Constants 91 | ; Indicates the buttons displayed in the message box 92 | ; in MsgBoxConstants.au3 93 | 94 | ; Displays an icon in the message box 95 | ; in MsgBoxConstants.au3 96 | 97 | ; Indicates the default button 98 | ; in MsgBoxConstants.au3 99 | 100 | ; Indicates the modality of the dialog box 101 | ; in MsgBoxConstants.au3 102 | 103 | ; Indicates miscellaneous message box attributes 104 | ; in MsgBoxConstants.au3 105 | 106 | ; Indicates the button selected in the message box 107 | ; in MsgBoxConstants.au3 108 | 109 | ; Progress and Splash Constants 110 | ; Indicates properties of the displayed progress or splash dialog 111 | ; in AutoItConstants.au3 112 | 113 | ; Tray Tip Constants 114 | ; in TrayConstants.au3 115 | 116 | ; Mouse Constants 117 | ; Indicates current mouse cursor 118 | ; in AutoItConstants.au3 119 | 120 | ; Process Constants 121 | ; Indicates the type of shutdown 122 | ; in AutoItConstants.au3 123 | 124 | ; OpenProcess Constants 125 | ; in ProcessConstants.au3 126 | 127 | ; String Constants 128 | ; in StringConstants.au3 129 | ; Indicates if string operations should be case sensitive 130 | 131 | ; StringStripWS Constants 132 | ; Indicates the type of stripping that should be performed 133 | ; in StringConstants.au3 134 | 135 | ; StringSplit Constants 136 | ; in StringConstants.au3 137 | 138 | ; Token Constants 139 | ; in SecurityConstants.au3 140 | 141 | ; Tray Constants 142 | ; in TrayConstants.au3 143 | 144 | ; Run Constants 145 | ; in AutoItConstants.au3 146 | 147 | ; Colour Constants 148 | ; in ColorConstants.au3 149 | 150 | ; UBound Constants 151 | ; in AutoItConstants.au3 152 | 153 | ; Mouse Event Constants 154 | ; in AutoItConstants.au3 155 | 156 | ; Reg Value type Constants 157 | ; in AutoItConstants.au3 158 | 159 | ; Z order 160 | ; in AutoItConstants.au3 161 | 162 | ; SetWindowPos Constants 163 | ; in AutoItConstants.au3 164 | 165 | ; Keywords (returned from the IsKeyword() function 166 | ; in AutoItConstants.au3 167 | 168 | ; language identifiers 169 | ; in WinAPIlangConstants.au3 170 | 171 | ; sublanguage identifiers 172 | ; in WinAPIlangConstants.au3 173 | 174 | ; Sorting IDs. (from WINNT.H) 175 | ; in WinAPIlangConstants.au3 176 | ; =============================================================================================================================== 177 | -------------------------------------------------------------------------------- /Assets/Include/ListBoxConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: ListBox_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control ListBox styles and much more constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Styles 13 | Global Const $LBS_NOTIFY = 0x00000001 ; Notifies whenever the user clicks or double clicks a string 14 | Global Const $LBS_SORT = 0x00000002 ; Sorts strings in the list box alphabetically 15 | Global Const $LBS_NOREDRAW = 0x00000004 ; Specifies that the appearance is not updated when changes are made 16 | Global Const $LBS_MULTIPLESEL = 0x00000008 ; Turns string selection on or off each time the user clicks a string 17 | Global Const $LBS_OWNERDRAWFIXED = 0x00000010 ; Specifies that the list box is owner drawn 18 | Global Const $LBS_OWNERDRAWVARIABLE = 0x00000020 ; Specifies that the list box is owner drawn with variable height 19 | Global Const $LBS_HASSTRINGS = 0x00000040 ; Specifies that a list box contains items consisting of strings 20 | Global Const $LBS_USETABSTOPS = 0x00000080 ; Enables a list box to recognize and expand tab characters 21 | Global Const $LBS_NOINTEGRALHEIGHT = 0x00000100 ; Specifies that the size is exactly the size set by the application 22 | Global Const $LBS_MULTICOLUMN = 0x00000200 ; Specifies a multi columnn list box that is scrolled horizontally 23 | Global Const $LBS_WANTKEYBOARDINPUT = 0x00000400 ; Specifies that the owner window receives WM_VKEYTOITEM messages 24 | Global Const $LBS_EXTENDEDSEL = 0x00000800 ; Allows multiple items to be selected 25 | Global Const $LBS_DISABLENOSCROLL = 0x00001000 ; Shows a disabled vertical scroll bar 26 | Global Const $LBS_NODATA = 0x00002000 ; Specifies a no-data list box 27 | Global Const $LBS_NOSEL = 0x00004000 ; Specifies that items that can be viewed but not selected 28 | Global Const $LBS_COMBOBOX = 0x00008000 ; Notifies a list box that it is part of a combo box 29 | Global Const $LBS_STANDARD = 0x00000003 ; Standard list box style 30 | 31 | ; Control default styles 32 | Global Const $GUI_SS_DEFAULT_LIST = 0x00a00003 ; BitOR($LBS_SORT, $WS_BORDER, $S_VSCROLL, $LBS_NOTIFY) 33 | 34 | ; Errors 35 | Global Const $LB_ERR = -1 36 | Global Const $LB_ERRATTRIBUTE = -3 37 | Global Const $LB_ERRREQUIRED = -4 38 | Global Const $LB_ERRSPACE = -2 39 | 40 | ; Messages 41 | Global Const $LB_ADDSTRING = 0x0180 42 | Global Const $LB_INSERTSTRING = 0x0181 43 | Global Const $LB_DELETESTRING = 0x0182 44 | Global Const $LB_SELITEMRANGEEX = 0x0183 45 | Global Const $LB_RESETCONTENT = 0x0184 46 | Global Const $LB_SETSEL = 0x0185 47 | Global Const $LB_SETCURSEL = 0x0186 48 | Global Const $LB_GETSEL = 0x0187 49 | Global Const $LB_GETCURSEL = 0x0188 50 | Global Const $LB_GETTEXT = 0x0189 51 | Global Const $LB_GETTEXTLEN = 0x018A 52 | Global Const $LB_GETCOUNT = 0x018B 53 | Global Const $LB_SELECTSTRING = 0x018C 54 | Global Const $LB_DIR = 0x018D 55 | Global Const $LB_GETTOPINDEX = 0x018E 56 | Global Const $LB_FINDSTRING = 0x018F 57 | Global Const $LB_GETSELCOUNT = 0x0190 58 | Global Const $LB_GETSELITEMS = 0x0191 59 | Global Const $LB_SETTABSTOPS = 0x0192 60 | Global Const $LB_GETHORIZONTALEXTENT = 0x0193 61 | Global Const $LB_SETHORIZONTALEXTENT = 0x0194 62 | Global Const $LB_SETCOLUMNWIDTH = 0x0195 63 | Global Const $LB_ADDFILE = 0x0196 64 | Global Const $LB_SETTOPINDEX = 0x0197 65 | Global Const $LB_GETITEMRECT = 0x0198 66 | Global Const $LB_GETITEMDATA = 0x0199 67 | Global Const $LB_SETITEMDATA = 0x019A 68 | Global Const $LB_SELITEMRANGE = 0x019B 69 | Global Const $LB_SETANCHORINDEX = 0x019C 70 | Global Const $LB_GETANCHORINDEX = 0x019D 71 | Global Const $LB_SETCARETINDEX = 0x019E 72 | Global Const $LB_GETCARETINDEX = 0x019F 73 | Global Const $LB_SETITEMHEIGHT = 0x01A0 74 | Global Const $LB_GETITEMHEIGHT = 0x01A1 75 | Global Const $LB_FINDSTRINGEXACT = 0x01A2 76 | Global Const $LB_SETLOCALE = 0x01A5 77 | Global Const $LB_GETLOCALE = 0x01A6 78 | Global Const $LB_SETCOUNT = 0x01A7 79 | Global Const $LB_INITSTORAGE = 0x01A8 80 | Global Const $LB_ITEMFROMPOINT = 0x01A9 81 | Global Const $LB_MULTIPLEADDSTRING = 0x01B1 82 | Global Const $LB_GETLISTBOXINFO = 0x01B2 83 | 84 | ; Notifications 85 | Global Const $LBN_ERRSPACE = 0xFFFFFFFE ; Sent when a list box cannot allocate enough memory for a request 86 | Global Const $LBN_SELCHANGE = 0x00000001 ; Sent when the selection in a list box is about to change 87 | Global Const $LBN_DBLCLK = 0x00000002 ; Sent when the user double clicks a string in a list box 88 | Global Const $LBN_SELCANCEL = 0x00000003 ; Sent when the user cancels the selection in a list box 89 | Global Const $LBN_SETFOCUS = 0x00000004 ; Sent when a list box receives the keyboard focus 90 | Global Const $LBN_KILLFOCUS = 0x00000005 ; Sent when a list box loses the keyboard focus 91 | ; =============================================================================================================================== 92 | -------------------------------------------------------------------------------- /Assets/Include/EditConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Edit_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control Edit/Input styles and much more constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Styles 13 | Global Const $ES_LEFT = 0 14 | Global Const $ES_CENTER = 1 15 | Global Const $ES_RIGHT = 2 16 | Global Const $ES_MULTILINE = 4 17 | Global Const $ES_UPPERCASE = 8 18 | Global Const $ES_LOWERCASE = 16 19 | Global Const $ES_PASSWORD = 32 20 | Global Const $ES_AUTOVSCROLL = 64 21 | Global Const $ES_AUTOHSCROLL = 128 22 | Global Const $ES_NOHIDESEL = 256 23 | Global Const $ES_OEMCONVERT = 1024 24 | Global Const $ES_READONLY = 2048 25 | Global Const $ES_WANTRETURN = 4096 26 | Global Const $ES_NUMBER = 8192 27 | ; Global Const $ES_DISABLENOSCROLL = 8192 28 | ; Global Const $ES_SUNKEN = 16384 29 | ; Global Const $ES_VERTICAL = 4194304 30 | ; Global Const $ES_SELECTIONBAR = 16777216 31 | 32 | ; Error checking 33 | Global Const $EC_ERR = -1 34 | 35 | ; Messages to send to edit control 36 | Global Const $ECM_FIRST = 0X1500 37 | Global Const $EM_CANUNDO = 0xC6 38 | Global Const $EM_CHARFROMPOS = 0xD7 39 | Global Const $EM_EMPTYUNDOBUFFER = 0xCD 40 | Global Const $EM_FMTLINES = 0xC8 41 | Global Const $EM_GETCUEBANNER = ($ECM_FIRST + 2) 42 | Global Const $EM_GETFIRSTVISIBLELINE = 0xCE 43 | Global Const $EM_GETHANDLE = 0xBD 44 | Global Const $EM_GETIMESTATUS = 0xD9 45 | Global Const $EM_GETLIMITTEXT = 0xD5 46 | Global Const $EM_GETLINE = 0xC4 47 | Global Const $EM_GETLINECOUNT = 0xBA 48 | Global Const $EM_GETMARGINS = 0xD4 49 | Global Const $EM_GETMODIFY = 0xB8 50 | Global Const $EM_GETPASSWORDCHAR = 0xD2 51 | Global Const $EM_GETRECT = 0xB2 52 | Global Const $EM_GETSEL = 0xB0 53 | Global Const $EM_GETTHUMB = 0xBE 54 | Global Const $EM_GETWORDBREAKPROC = 0xD1 55 | Global Const $EM_HIDEBALLOONTIP = ($ECM_FIRST + 4) 56 | Global Const $EM_LIMITTEXT = 0xC5 57 | Global Const $EM_LINEFROMCHAR = 0xC9 58 | Global Const $EM_LINEINDEX = 0xBB 59 | Global Const $EM_LINELENGTH = 0xC1 60 | Global Const $EM_LINESCROLL = 0xB6 61 | Global Const $EM_POSFROMCHAR = 0xD6 62 | Global Const $EM_REPLACESEL = 0xC2 63 | Global Const $EM_SCROLL = 0xB5 64 | Global Const $EM_SCROLLCARET = 0x00B7 65 | Global Const $EM_SETCUEBANNER = ($ECM_FIRST + 1) 66 | Global Const $EM_SETHANDLE = 0xBC 67 | Global Const $EM_SETIMESTATUS = 0xD8 68 | Global Const $EM_SETLIMITTEXT = $EM_LIMITTEXT 69 | Global Const $EM_SETMARGINS = 0xD3 70 | Global Const $EM_SETMODIFY = 0xB9 71 | Global Const $EM_SETPASSWORDCHAR = 0xCC 72 | Global Const $EM_SETREADONLY = 0xCF 73 | Global Const $EM_SETRECT = 0xB3 74 | Global Const $EM_SETRECTNP = 0xB4 75 | Global Const $EM_SETSEL = 0xB1 76 | Global Const $EM_SETTABSTOPS = 0xCB 77 | Global Const $EM_SETWORDBREAKPROC = 0xD0 78 | Global Const $EM_SHOWBALLOONTIP = ($ECM_FIRST + 3) 79 | Global Const $EM_UNDO = 0xC7 80 | 81 | ; Params 82 | Global Const $EC_LEFTMARGIN = 0x1 83 | Global Const $EC_RIGHTMARGIN = 0x2 84 | Global Const $EC_USEFONTINFO = 0xFFFF 85 | 86 | Global Const $EMSIS_COMPOSITIONSTRING = 0x1 87 | 88 | ; Status 89 | Global Const $EIMES_GETCOMPSTRATONCE = 0x1 ; If this flag is set, the edit control hooks the WM_IME_COMPOSITION message with fFlags set to GCS_RESULTSTR and returns the result string immediately 90 | Global Const $EIMES_CANCELCOMPSTRINFOCUS = 0x2 ; If this flag is set, the edit control cancels the composition string when it receives the WM_SETFOCUS message. 91 | Global Const $EIMES_COMPLETECOMPSTRKILLFOCUS = 0x4 ; If this flag is set, the edit control completes the composition string upon receiving the WM_KILLFOCUS message. 92 | 93 | ; Notifications 94 | Global Const $EN_ALIGN_LTR_EC = 0x700 95 | Global Const $EN_ALIGN_RTL_EC = 0x701 96 | Global Const $EN_CHANGE = 0x300 97 | Global Const $EN_ERRSPACE = 0x500 98 | Global Const $EN_HSCROLL = 0X601 99 | Global Const $EN_KILLFOCUS = 0x200 100 | Global Const $EN_MAXTEXT = 0x501 101 | Global Const $EN_SETFOCUS = 0x100 102 | Global Const $EN_UPDATE = 0x400 103 | Global Const $EN_VSCROLL = 0x602 104 | 105 | ; Edit Balloon Tool Tip Icons 106 | ; move in ToolTipConstants.au3 107 | 108 | ; Global Const $TTI_NONE = 0 109 | ; Global Const $TTI_INFO = 1 110 | ; Global Const $TTI_WARNING = 2 111 | ; Global Const $TTI_ERROR = 3 112 | ; Vista Edit Balloon Tool Tip Icons 113 | ; Global Const $TTI_INFO_LARGE = 4 114 | ; Global Const $TTI_WARNING_LARGE = 5 115 | ; Global Const $TTI_ERROR_LARGE = 6 116 | 117 | ; Control default styles 118 | Global Const $GUI_SS_DEFAULT_EDIT = 0x003010c0 ; BitOR($ES_WANTRETURN, $WS_VSCROLL, $WS_HSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL) 119 | Global Const $GUI_SS_DEFAULT_INPUT = 0x00000080 ; BitOR($ES_LEFT, $ES_AUTOHSCROLL) 120 | ; =============================================================================================================================== 121 | -------------------------------------------------------------------------------- /Assets/Include/MenuConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Menu_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for Menu functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $MF_UNHILITE = 0x0 13 | Global Const $MF_ENABLED = 0x0 14 | Global Const $MF_UNCHECKED = 0x0 15 | Global Const $MF_STRING = 0x0 16 | Global Const $MF_GRAYED = 0x00000001 17 | Global Const $MF_DISABLED = 0x00000002 18 | Global Const $MF_BITMAP = 0x00000004 19 | Global Const $MF_CHECKED = 0x00000008 20 | Global Const $MF_POPUP = 0x00000010 21 | Global Const $MF_MENUBARBREAK = 0x00000020 22 | Global Const $MF_MENUBREAK = 0x00000040 23 | Global Const $MF_HILITE = 0x00000080 24 | Global Const $MF_OWNERDRAW = 0x00000100 25 | Global Const $MF_USECHECKBITMAPS = 0x00000200 26 | Global Const $MF_BYPOSITION = 0x00000400 27 | Global Const $MF_SEPARATOR = 0x00000800 28 | Global Const $MF_DEFAULT = 0x00001000 29 | Global Const $MF_SYSMENU = 0x00002000 30 | Global Const $MF_HELP = 0x00004000 31 | Global Const $MF_RIGHTJUSTIFY = 0x00004000 32 | Global Const $MF_MOUSESELECT = 0x00008000 33 | 34 | Global Const $MFS_GRAYED = 0x00000003 35 | Global Const $MFS_DISABLED = $MFS_GRAYED 36 | Global Const $MFS_CHECKED = $MF_CHECKED 37 | Global Const $MFS_HILITE = $MF_HILITE 38 | Global Const $MFS_ENABLED = $MF_ENABLED 39 | Global Const $MFS_UNCHECKED = $MF_UNCHECKED 40 | Global Const $MFS_UNHILITE = $MF_UNHILITE 41 | Global Const $MFS_DEFAULT = $MF_DEFAULT 42 | 43 | Global Const $MFT_STRING = $MF_STRING 44 | Global Const $MFT_BITMAP = $MF_BITMAP 45 | Global Const $MFT_MENUBARBREAK = $MF_MENUBARBREAK 46 | Global Const $MFT_MENUBREAK = $MF_MENUBREAK 47 | Global Const $MFT_OWNERDRAW = $MF_OWNERDRAW 48 | Global Const $MFT_RADIOCHECK = 0x00000200 49 | Global Const $MFT_SEPARATOR = $MF_SEPARATOR 50 | Global Const $MFT_RIGHTORDER = 0x00002000 51 | Global Const $MFT_RIGHTJUSTIFY = $MF_RIGHTJUSTIFY 52 | 53 | Global Const $MIIM_STATE = 0x00000001 54 | Global Const $MIIM_ID = 0x00000002 55 | Global Const $MIIM_SUBMENU = 0x00000004 56 | Global Const $MIIM_CHECKMARKS = 0x00000008 57 | Global Const $MIIM_TYPE = 0x00000010 58 | Global Const $MIIM_DATA = 0x00000020 59 | Global Const $MIIM_DATAMASK = 0x0000003F 60 | Global Const $MIIM_STRING = 0x00000040 61 | Global Const $MIIM_BITMAP = 0x00000080 62 | Global Const $MIIM_FTYPE = 0x00000100 63 | 64 | Global Const $MIM_MAXHEIGHT = 0x00000001 65 | Global Const $MIM_BACKGROUND = 0x00000002 66 | Global Const $MIM_HELPID = 0x00000004 67 | Global Const $MIM_MENUDATA = 0x00000008 68 | Global Const $MIM_STYLE = 0x00000010 69 | Global Const $MIM_APPLYTOSUBMENUS = 0x80000000 70 | 71 | Global Const $MNS_CHECKORBMP = 0x04000000 72 | Global Const $MNS_NOTIFYBYPOS = 0x08000000 73 | Global Const $MNS_AUTODISMISS = 0x10000000 74 | Global Const $MNS_DRAGDROP = 0x20000000 75 | Global Const $MNS_MODELESS = 0x40000000 76 | Global Const $MNS_NOCHECK = 0x80000000 77 | 78 | Global Const $TPM_LEFTBUTTON = 0x0 79 | Global Const $TPM_LEFTALIGN = 0x0 80 | Global Const $TPM_TOPALIGN = 0x0 81 | Global Const $TPM_HORIZONTAL = 0x0 82 | Global Const $TPM_RECURSE = 0x00000001 83 | Global Const $TPM_RIGHTBUTTON = 0x00000002 84 | Global Const $TPM_CENTERALIGN = 0x00000004 85 | Global Const $TPM_RIGHTALIGN = 0x00000008 86 | Global Const $TPM_VCENTERALIGN = 0x00000010 87 | Global Const $TPM_BOTTOMALIGN = 0x00000020 88 | Global Const $TPM_VERTICAL = 0x00000040 89 | Global Const $TPM_NONOTIFY = 0x00000080 90 | Global Const $TPM_RETURNCMD = 0x00000100 91 | Global Const $TPM_HORPOSANIMATION = 0x00000400 92 | Global Const $TPM_HORNEGANIMATION = 0x00000800 93 | Global Const $TPM_VERPOSANIMATION = 0x00001000 94 | Global Const $TPM_VERNEGANIMATION = 0x00002000 95 | Global Const $TPM_NOANIMATION = 0x00004000 96 | Global Const $TPM_LAYOUTRTL = 0x00008000 97 | Global Const $TPM_WORKAREA = 0x00010000 98 | 99 | ; System Menu Commands 100 | Global Const $SC_SIZE = 0xF000 101 | Global Const $SC_MOVE = 0xF010 102 | Global Const $SC_MINIMIZE = 0xF020 103 | Global Const $SC_MAXIMIZE = 0xF030 104 | Global Const $SC_NEXTWINDOW = 0xF040 105 | Global Const $SC_PREVWINDOW = 0xF050 106 | Global Const $SC_CLOSE = 0xF060 107 | Global Const $SC_VSCROLL = 0xF070 108 | Global Const $SC_HSCROLL = 0xF080 109 | Global Const $SC_MOUSEMENU = 0xF090 110 | Global Const $SC_KEYMENU = 0xF100 111 | Global Const $SC_ARRANGE = 0xF110 112 | Global Const $SC_RESTORE = 0xF120 113 | Global Const $SC_TASKLIST = 0xF130 114 | Global Const $SC_SCREENSAVE = 0xF140 115 | Global Const $SC_HOTKEY = 0xF150 116 | Global Const $SC_DEFAULT = 0xF160 117 | Global Const $SC_MONITORPOWER = 0xF170 118 | Global Const $SC_CONTEXTHELP = 0xF180 119 | Global Const $SC_SEPARATOR = 0xF00F 120 | 121 | ; Reserved IDs for System Objects 122 | Global Const $OBJID_SYSMENU = 0xFFFFFFFF 123 | Global Const $OBJID_MENU = 0xFFFFFFFD 124 | ; =============================================================================================================================== 125 | -------------------------------------------------------------------------------- /Assets/Include/APIProcConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPIProc Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_CreateProcess(), _WinAPI_CreateProcessWithToken() 14 | Global Const $CREATE_BREAKAWAY_FROM_JOB = 0x01000000 15 | Global Const $CREATE_DEFAULT_ERROR_MODE = 0x04000000 16 | Global Const $CREATE_NEW_CONSOLE = 0x00000010 17 | Global Const $CREATE_NEW_PROCESS_GROUP = 0x00000200 18 | Global Const $CREATE_NO_WINDOW = 0x08000000 19 | Global Const $CREATE_PROTECTED_PROCESS = 0x00040000 20 | Global Const $CREATE_PRESERVE_CODE_AUTHZ_LEVEL = 0x02000000 21 | Global Const $CREATE_SEPARATE_WOW_VDM = 0x00000800 22 | Global Const $CREATE_SHARED_WOW_VDM = 0x00001000 23 | Global Const $CREATE_SUSPENDED = 0x00000004 24 | Global Const $CREATE_UNICODE_ENVIRONMENT = 0x00000400 25 | 26 | ; move in SecurityConstants.au3 27 | ; Global Const $LOGON_WITH_PROFILE = 0x01 28 | ; Global Const $LOGON_NETCREDENTIALS_ONLY = 0x02 29 | 30 | ; _WinAPI_EnumProcessModules() 31 | Global Const $LIST_MODULES_32BIT = 1 32 | Global Const $LIST_MODULES_64BIT = 2 33 | Global Const $LIST_MODULES_ALL = 3 34 | Global Const $LIST_MODULES_DEFAULT = 0 35 | 36 | ; _WinAPI_GetPriorityClass(), _WinAPI_SetPriorityClass() 37 | Global Const $ABOVE_NORMAL_PRIORITY_CLASS = 0x00008000 38 | Global Const $BELOW_NORMAL_PRIORITY_CLASS = 0x00004000 39 | Global Const $HIGH_PRIORITY_CLASS = 0x00000080 40 | Global Const $IDLE_PRIORITY_CLASS = 0x00000040 41 | Global Const $NORMAL_PRIORITY_CLASS = 0x00000020 42 | Global Const $REALTIME_PRIORITY_CLASS = 0x00000100 43 | 44 | Global Const $PROCESS_MODE_BACKGROUND_BEGIN = 0x00100000 45 | Global Const $PROCESS_MODE_BACKGROUND_END = 0x00200000 46 | 47 | ; _WinAPI_OpenMutex() 48 | Global Const $MUTEX_MODIFY_STATE = 0x0001 49 | Global Const $MUTEX_ALL_ACCESS = 0x001F0001 ; BitOR($STANDARD_RIGHTS_ALL, $MUTEX_MODIFY_STATE) 50 | 51 | ; _WinAPI_OpenJobObject(), _WinAPI_QueryInformationJobObject(), _WinAPI_SetInformationJobObject() 52 | Global Const $JOB_OBJECT_ASSIGN_PROCESS = 0x0001 53 | Global Const $JOB_OBJECT_QUERY = 0x0004 54 | Global Const $JOB_OBJECT_SET_ATTRIBUTES = 0x0002 55 | Global Const $JOB_OBJECT_SET_SECURITY_ATTRIBUTES = 0x0010 56 | Global Const $JOB_OBJECT_TERMINATE = 0x0008 57 | Global Const $JOB_OBJECT_ALL_ACCESS = 0x001F001F ; BitOR($STANDARD_RIGHTS_ALL, $JOB_OBJECT_ASSIGN_PROCESS, $JOB_OBJECT_QUERY, $JOB_OBJECT_SET_ATTRIBUTES, $JOB_OBJECT_SET_SECURITY_ATTRIBUTES, $JOB_OBJECT_TERMINATE) 58 | 59 | Global Const $JOB_OBJECT_LIMIT_ACTIVE_PROCESS = 0x00000008 60 | Global Const $JOB_OBJECT_LIMIT_AFFINITY = 0x00000010 61 | Global Const $JOB_OBJECT_LIMIT_BREAKAWAY_OK = 0x00000800 62 | Global Const $JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION = 0x00000400 63 | Global Const $JOB_OBJECT_LIMIT_JOB_MEMORY = 0x00000200 64 | Global Const $JOB_OBJECT_LIMIT_JOB_TIME = 0x00000004 65 | Global Const $JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = 0x00002000 66 | Global Const $JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME = 0x00000040 67 | Global Const $JOB_OBJECT_LIMIT_PRIORITY_CLASS = 0x00000020 68 | Global Const $JOB_OBJECT_LIMIT_PROCESS_MEMORY = 0x00000100 69 | Global Const $JOB_OBJECT_LIMIT_PROCESS_TIME = 0x00000002 70 | Global Const $JOB_OBJECT_LIMIT_SCHEDULING_CLASS = 0x00000080 71 | Global Const $JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK = 0x00001000 72 | Global Const $JOB_OBJECT_LIMIT_WORKINGSET = 0x00000001 73 | 74 | Global Const $JOB_OBJECT_UILIMIT_DESKTOP = 0x00000040 75 | Global Const $JOB_OBJECT_UILIMIT_DISPLAYSETTINGS = 0x00000010 76 | Global Const $JOB_OBJECT_UILIMIT_EXITWINDOWS = 0x00000080 77 | Global Const $JOB_OBJECT_UILIMIT_GLOBALATOMS = 0x00000020 78 | Global Const $JOB_OBJECT_UILIMIT_HANDLES = 0x00000001 79 | Global Const $JOB_OBJECT_UILIMIT_READCLIPBOARD = 0x00000002 80 | Global Const $JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS = 0x00000008 81 | Global Const $JOB_OBJECT_UILIMIT_WRITECLIPBOARD = 0x00000004 82 | 83 | Global Const $JOB_OBJECT_SECURITY_FILTER_TOKENS = 0x00000008 84 | Global Const $JOB_OBJECT_SECURITY_NO_ADMIN = 0x00000001 85 | Global Const $JOB_OBJECT_SECURITY_ONLY_TOKEN = 0x00000004 86 | Global Const $JOB_OBJECT_SECURITY_RESTRICTED_TOKEN = 0x00000002 87 | 88 | Global Const $JOB_OBJECT_TERMINATE_AT_END_OF_JOB = 0 89 | Global Const $JOB_OBJECT_POST_AT_END_OF_JOB = 1 90 | 91 | ; _WinAPI_OpenSemaphore() 92 | Global Const $SEMAPHORE_MODIFY_STATE = 0x0002 93 | Global Const $SEMAPHORE_QUERY_STATE = 0x0001 94 | Global Const $SEMAPHORE_ALL_ACCESS = 0x001F0003 ; BitOR($STANDARD_RIGHTS_ALL, $SEMAPHORE_MODIFY_STATE, $SEMAPHORE_QUERY_STATE) 95 | 96 | ; _WinAPI_SetThreadExecutionState() 97 | Global Const $ES_AWAYMODE_REQUIRED = 0x00000040 98 | Global Const $ES_CONTINUOUS = 0x80000000 99 | Global Const $ES_DISPLAY_REQUIRED = 0x00000002 100 | Global Const $ES_SYSTEM_REQUIRED = 0x00000001 101 | Global Const $ES_USER_PRESENT = 0x00000004 102 | ; =============================================================================================================================== 103 | -------------------------------------------------------------------------------- /Assets/Include/ToolTipConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: ToolTip_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for ToolTip functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $TTF_IDISHWND = 0x00000001 13 | Global Const $TTF_CENTERTIP = 0x00000002 14 | Global Const $TTF_RTLREADING = 0x00000004 15 | Global Const $TTF_SUBCLASS = 0x00000010 16 | Global Const $TTF_TRACK = 0x00000020 17 | Global Const $TTF_ABSOLUTE = 0x00000080 18 | Global Const $TTF_TRANSPARENT = 0x00000100 19 | Global Const $TTF_PARSELINKS = 0x00001000 20 | Global Const $TTF_DI_SETITEM = 0x00008000 21 | 22 | ; Messages 23 | Global Const $__TOOLTIPCONSTANTS_WM_USER = 0X400 24 | Global Const $TTM_ACTIVATE = $__TOOLTIPCONSTANTS_WM_USER + 1 25 | Global Const $TTM_SETDELAYTIME = $__TOOLTIPCONSTANTS_WM_USER + 3 26 | Global Const $TTM_ADDTOOL = $__TOOLTIPCONSTANTS_WM_USER + 4 27 | Global Const $TTM_DELTOOL = $__TOOLTIPCONSTANTS_WM_USER + 5 28 | Global Const $TTM_NEWTOOLRECT = $__TOOLTIPCONSTANTS_WM_USER + 6 29 | Global Const $TTM_GETTOOLINFO = $__TOOLTIPCONSTANTS_WM_USER + 8 30 | Global Const $TTM_SETTOOLINFO = $__TOOLTIPCONSTANTS_WM_USER + 9 31 | Global Const $TTM_HITTEST = $__TOOLTIPCONSTANTS_WM_USER + 10 32 | Global Const $TTM_GETTEXT = $__TOOLTIPCONSTANTS_WM_USER + 11 33 | Global Const $TTM_UPDATETIPTEXT = $__TOOLTIPCONSTANTS_WM_USER + 12 34 | Global Const $TTM_GETTOOLCOUNT = $__TOOLTIPCONSTANTS_WM_USER + 13 35 | Global Const $TTM_ENUMTOOLS = $__TOOLTIPCONSTANTS_WM_USER + 14 36 | Global Const $TTM_GETCURRENTTOOL = $__TOOLTIPCONSTANTS_WM_USER + 15 37 | Global Const $TTM_WINDOWFROMPOINT = $__TOOLTIPCONSTANTS_WM_USER + 16 38 | Global Const $TTM_TRACKACTIVATE = $__TOOLTIPCONSTANTS_WM_USER + 17 39 | Global Const $TTM_TRACKPOSITION = $__TOOLTIPCONSTANTS_WM_USER + 18 40 | Global Const $TTM_SETTIPBKCOLOR = $__TOOLTIPCONSTANTS_WM_USER + 19 41 | Global Const $TTM_SETTIPTEXTCOLOR = $__TOOLTIPCONSTANTS_WM_USER + 20 42 | Global Const $TTM_GETDELAYTIME = $__TOOLTIPCONSTANTS_WM_USER + 21 43 | Global Const $TTM_GETTIPBKCOLOR = $__TOOLTIPCONSTANTS_WM_USER + 22 44 | Global Const $TTM_GETTIPTEXTCOLOR = $__TOOLTIPCONSTANTS_WM_USER + 23 45 | Global Const $TTM_SETMAXTIPWIDTH = $__TOOLTIPCONSTANTS_WM_USER + 24 46 | Global Const $TTM_GETMAXTIPWIDTH = $__TOOLTIPCONSTANTS_WM_USER + 25 47 | Global Const $TTM_SETMARGIN = $__TOOLTIPCONSTANTS_WM_USER + 26 48 | Global Const $TTM_GETMARGIN = $__TOOLTIPCONSTANTS_WM_USER + 27 49 | Global Const $TTM_POP = $__TOOLTIPCONSTANTS_WM_USER + 28 50 | Global Const $TTM_UPDATE = $__TOOLTIPCONSTANTS_WM_USER + 29 51 | Global Const $TTM_GETBUBBLESIZE = $__TOOLTIPCONSTANTS_WM_USER + 30 52 | Global Const $TTM_ADJUSTRECT = $__TOOLTIPCONSTANTS_WM_USER + 31 53 | Global Const $TTM_SETTITLE = $__TOOLTIPCONSTANTS_WM_USER + 32 54 | Global Const $TTM_SETTITLEW = $__TOOLTIPCONSTANTS_WM_USER + 33 55 | Global Const $TTM_POPUP = $__TOOLTIPCONSTANTS_WM_USER + 34 56 | Global Const $TTM_GETTITLE = $__TOOLTIPCONSTANTS_WM_USER + 35 57 | Global Const $TTM_ADDTOOLW = $__TOOLTIPCONSTANTS_WM_USER + 50 58 | Global Const $TTM_DELTOOLW = $__TOOLTIPCONSTANTS_WM_USER + 51 59 | Global Const $TTM_NEWTOOLRECTW = $__TOOLTIPCONSTANTS_WM_USER + 52 60 | Global Const $TTM_GETTOOLINFOW = $__TOOLTIPCONSTANTS_WM_USER + 53 61 | Global Const $TTM_SETTOOLINFOW = $__TOOLTIPCONSTANTS_WM_USER + 54 62 | Global Const $TTM_HITTESTW = $__TOOLTIPCONSTANTS_WM_USER + 55 63 | Global Const $TTM_GETTEXTW = $__TOOLTIPCONSTANTS_WM_USER + 56 64 | Global Const $TTM_UPDATETIPTEXTW = $__TOOLTIPCONSTANTS_WM_USER + 57 65 | Global Const $TTM_ENUMTOOLSW = $__TOOLTIPCONSTANTS_WM_USER + 58 66 | Global Const $TTM_GETCURRENTTOOLW = $__TOOLTIPCONSTANTS_WM_USER + 59 67 | Global Const $TTM_SETWINDOWTHEME = 0x2000 + 11 68 | 69 | ; Notifications 70 | Global Const $TTN_FIRST = -520 71 | Global Const $TTN_GETDISPINFO = $TTN_FIRST - 0 ; Sent to retrieve information needed to display a ToolTip 72 | Global Const $TTN_SHOW = $TTN_FIRST - 1 ; Notifies the owner window that a ToolTip control is about to be displayed 73 | Global Const $TTN_POP = $TTN_FIRST - 2 ; Notifies the owner window that a ToolTip is about to be hidden 74 | Global Const $TTN_LINKCLICK = $TTN_FIRST - 3 ; Sent when a text link inside a balloon ToolTip is clicked 75 | Global Const $TTN_GETDISPINFOW = $TTN_FIRST - 10 ; [Unicode] Sent to retrieve information needed to display a ToolTip 76 | 77 | ; Styles 78 | Global Const $TTS_ALWAYSTIP = 0x00000001 ; The control appears when the cursor is on a tool 79 | Global Const $TTS_NOPREFIX = 0x00000002 ; Prevents the stripping of the ampersand character from a string 80 | Global Const $TTS_NOANIMATE = 0x00000010 ; Disables sliding ToolTip animation 81 | Global Const $TTS_NOFADE = 0x00000020 ; Disables fading ToolTip animation 82 | Global Const $TTS_BALLOON = 0x00000040 ; The control has the appearance of a cartoon balloon 83 | Global Const $TTS_CLOSE = 0x00000080 ; Displays a close box in the ToolTip corner 84 | Global Const $TTS_USEVISUALSTYLE = 0x00000100 ; need $TTF_PARSELINKS style 85 | 86 | ; Duration 87 | Global Const $TTDT_AUTOMATIC = 0 88 | Global Const $TTDT_RESHOW = 1 89 | Global Const $TTDT_AUTOPOP = 2 90 | Global Const $TTDT_INITIAL = 3 91 | 92 | ; HIcon 93 | Global Enum $TTI_NONE, $TTI_INFO, $TTI_WARNING, $TTI_ERROR, $TTI_INFO_LARGE, $TTI_WARNING_LARGE, $TTI_ERROR_LARGE 94 | ; =============================================================================================================================== 95 | -------------------------------------------------------------------------------- /Assets/Include/TabConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Tab_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: GUI control Tab styles and much more constants. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; =============================================================================================================================== 12 | 13 | ; #EXTSTYLES# =================================================================================================================== 14 | Global Const $TCS_EX_FLATSEPARATORS = 0x00000001 ; The tab control will draw separators between the tab items 15 | Global Const $TCS_EX_REGISTERDROP = 0x00000002 ; The tab control generates TCN_GETOBJECT notification messages 16 | ; =============================================================================================================================== 17 | 18 | ; #CONSTANTS# =================================================================================================================== 19 | Global Const $TCHT_NOWHERE = 0x00000001 20 | Global Const $TCHT_ONITEMICON = 0x00000002 21 | Global Const $TCHT_ONITEMLABEL = 0x00000004 22 | Global Const $TCHT_ONITEM = 0x00000006 23 | 24 | Global Const $TCIF_TEXT = 0x00000001 25 | Global Const $TCIF_IMAGE = 0x00000002 26 | Global Const $TCIF_RTLREADING = 0x00000004 27 | Global Const $TCIF_PARAM = 0x00000008 28 | Global Const $TCIF_STATE = 0x00000010 29 | Global Const $TCIF_ALLDATA = 0x0000001B 30 | 31 | ; item states 32 | Global Const $TCIS_BUTTONPRESSED = 0x00000001 33 | Global Const $TCIS_HIGHLIGHTED = 0x00000002 34 | 35 | ; Error checking 36 | Global Const $TC_ERR = -1 37 | 38 | ; Styles 39 | Global Const $TCS_BOTTOM = 0x00000002 ; Tabs appear at the bottom of the control 40 | Global Const $TCS_BUTTONS = 0x00000100 ; Tabs appear as buttons, and no border is drawn around the display area 41 | Global Const $TCS_FIXEDWIDTH = 0x00000400 ; All tabs are the same width 42 | Global Const $TCS_FLATBUTTONS = 0x00000008 ; Selected tabs appear as being indented into the background 43 | Global Const $TCS_FOCUSNEVER = 0x00008000 ; The tab control does not receive the input focus when clicked 44 | Global Const $TCS_FOCUSONBUTTONDOWN = 0x00001000 ; The tab control receives the input focus when clicked 45 | Global Const $TCS_FORCEICONLEFT = 0x00000010 ; Icons are aligned with the left edge of each fixed-width tab 46 | Global Const $TCS_FORCELABELLEFT = 0x00000020 ; Labels are aligned with the left edge of each fixed-width tab 47 | Global Const $TCS_HOTTRACK = 0x00000040 ; Items under the pointer are automatically highlighted 48 | Global Const $TCS_MULTILINE = 0x00000200 ; Multiple rows of tabs are displayed if necessary 49 | Global Const $TCS_MULTISELECT = 0x00000004 ; Multiple tabs can be selected with the CTRL key when clicking 50 | Global Const $TCS_OWNERDRAWFIXED = 0x00002000 ; The parent window is responsible for drawing tabs 51 | Global Const $TCS_RAGGEDRIGHT = 0x00000800 ; Rows of tabs will not be stretched to fill the control width 52 | Global Const $TCS_RIGHT = 0x00000002 ; Tabs appear vertically on the right side of controls 53 | Global Const $TCS_RIGHTJUSTIFY = 0x00000000 ; The width of each tab is increased to fill the control width 54 | Global Const $TCS_SCROLLOPPOSITE = 0x00000001 ; Unneeded tabs scroll to the opposite side of the control 55 | Global Const $TCS_SINGLELINE = 0x00000000 ; Only one row of tabs is displayed 56 | Global Const $TCS_TABS = 0x00000000 ; Tabs appear as tabs, and a border is drawn around the display area 57 | Global Const $TCS_TOOLTIPS = 0x00004000 ; The tab control has a ToolTip control associated with 58 | Global Const $TCS_VERTICAL = 0x00000080 ; Tabs appear at the left side of the control 59 | 60 | ; Control default styles 61 | Global Const $GUI_SS_DEFAULT_TAB = 0 62 | 63 | ; Messages to send to Tab control 64 | Global Const $TCM_FIRST = 0x1300 65 | Global Const $TCCM_FIRST = 0X2000 66 | Global Const $TCM_ADJUSTRECT = ($TCM_FIRST + 40) 67 | Global Const $TCM_DELETEALLITEMS = ($TCM_FIRST + 9) 68 | Global Const $TCM_DELETEITEM = ($TCM_FIRST + 8) 69 | Global Const $TCM_DESELECTALL = ($TCM_FIRST + 50) 70 | Global Const $TCM_GETCURFOCUS = ($TCM_FIRST + 47) 71 | Global Const $TCM_GETCURSEL = ($TCM_FIRST + 11) 72 | Global Const $TCM_GETEXTENDEDSTYLE = ($TCM_FIRST + 53) 73 | Global Const $TCM_GETIMAGELIST = ($TCM_FIRST + 2) 74 | Global Const $TCM_GETITEMA = ($TCM_FIRST + 5) 75 | Global Const $TCM_GETITEMW = ($TCM_FIRST + 60) 76 | Global Const $TCM_GETITEMCOUNT = ($TCM_FIRST + 4) 77 | Global Const $TCM_GETITEMRECT = ($TCM_FIRST + 10) 78 | Global Const $TCM_GETROWCOUNT = ($TCM_FIRST + 44) 79 | Global Const $TCM_GETTOOLTIPS = ($TCM_FIRST + 45) 80 | Global Const $TCCM_GETUNICODEFORMAT = ($TCCM_FIRST + 6) 81 | Global Const $TCM_GETUNICODEFORMAT = $TCCM_GETUNICODEFORMAT 82 | Global Const $TCM_HIGHLIGHTITEM = ($TCM_FIRST + 51) 83 | Global Const $TCM_HITTEST = ($TCM_FIRST + 13) 84 | Global Const $TCM_INSERTITEMA = ($TCM_FIRST + 7) 85 | Global Const $TCM_INSERTITEMW = ($TCM_FIRST + 62) 86 | Global Const $TCM_REMOVEIMAGE = ($TCM_FIRST + 42) 87 | Global Const $TCM_SETITEMA = ($TCM_FIRST + 6) 88 | Global Const $TCM_SETITEMW = ($TCM_FIRST + 61) 89 | Global Const $TCM_SETITEMEXTRA = ($TCM_FIRST + 14) 90 | Global Const $TCM_SETITEMSIZE = $TCM_FIRST + 41 91 | Global Const $TCM_SETCURFOCUS = ($TCM_FIRST + 48) 92 | Global Const $TCM_SETCURSEL = ($TCM_FIRST + 12) 93 | Global Const $TCM_SETEXTENDEDSTYLE = ($TCM_FIRST + 52) 94 | Global Const $TCM_SETIMAGELIST = $TCM_FIRST + 3 95 | Global Const $TCM_SETMINTABWIDTH = ($TCM_FIRST + 49) 96 | Global Const $TCM_SETPADDING = ($TCM_FIRST + 43) 97 | Global Const $TCM_SETTOOLTIPS = ($TCM_FIRST + 46) 98 | Global Const $TCCM_SETUNICODEFORMAT = ($TCCM_FIRST + 5) 99 | Global Const $TCM_SETUNICODEFORMAT = $TCCM_SETUNICODEFORMAT 100 | 101 | ; Notifications 102 | Global Const $TCN_FIRST = -550 103 | Global Const $TCN_FOCUSCHANGE = ($TCN_FIRST - 4) 104 | Global Const $TCN_GETOBJECT = ($TCN_FIRST - 3) 105 | Global Const $TCN_KEYDOWN = ($TCN_FIRST - 0) 106 | Global Const $TCN_SELCHANGE = ($TCN_FIRST - 1) 107 | Global Const $TCN_SELCHANGING = ($TCN_FIRST - 2) 108 | ; =============================================================================================================================== 109 | -------------------------------------------------------------------------------- /Assets/Include/RebarConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Rebar_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for Rebar functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Messages 13 | Global Const $__REBARCONSTANT_WM_USER = 0X400 14 | Global Const $RB_BEGINDRAG = ($__REBARCONSTANT_WM_USER + 24) 15 | Global Const $RB_DELETEBAND = ($__REBARCONSTANT_WM_USER + 2) 16 | Global Const $RB_DRAGMOVE = ($__REBARCONSTANT_WM_USER + 26) 17 | Global Const $RB_ENDDRAG = ($__REBARCONSTANT_WM_USER + 25) 18 | Global Const $RB_GETBANDBORDERS = ($__REBARCONSTANT_WM_USER + 34) 19 | Global Const $RB_GETBANDCOUNT = ($__REBARCONSTANT_WM_USER + 12) 20 | Global Const $RB_GETBANDINFO = ($__REBARCONSTANT_WM_USER + 5) 21 | Global Const $RB_GETBANDINFOA = ($__REBARCONSTANT_WM_USER + 29) 22 | Global Const $RB_GETBANDINFOW = ($__REBARCONSTANT_WM_USER + 28) 23 | Global Const $RB_GETBANDMARGINS = ($__REBARCONSTANT_WM_USER + 40) 24 | Global Const $RB_GETBARHEIGHT = ($__REBARCONSTANT_WM_USER + 27) 25 | Global Const $RB_GETBARINFO = ($__REBARCONSTANT_WM_USER + 3) 26 | Global Const $RB_GETBKCOLOR = ($__REBARCONSTANT_WM_USER + 20) 27 | Global Const $RB_GETCOLORSCHEME = 0x2000 + 3 28 | Global Const $RB_GETDROPTARGET = (0x2000 + 4) 29 | Global Const $RB_GETPALETTE = ($__REBARCONSTANT_WM_USER + 38) 30 | Global Const $RB_GETRECT = ($__REBARCONSTANT_WM_USER + 9) 31 | Global Const $RB_GETROWCOUNT = ($__REBARCONSTANT_WM_USER + 13) 32 | Global Const $RB_GETROWHEIGHT = ($__REBARCONSTANT_WM_USER + 14) 33 | Global Const $RB_GETTEXTCOLOR = ($__REBARCONSTANT_WM_USER + 22) 34 | Global Const $RB_GETTOOLTIPS = ($__REBARCONSTANT_WM_USER + 17) 35 | Global Const $RB_GETUNICODEFORMAT = 0x2000 + 6 36 | Global Const $RB_HITTEST = ($__REBARCONSTANT_WM_USER + 8) 37 | Global Const $RB_IDTOINDEX = ($__REBARCONSTANT_WM_USER + 16) 38 | Global Const $RB_INSERTBANDA = ($__REBARCONSTANT_WM_USER + 1) 39 | Global Const $RB_INSERTBANDW = ($__REBARCONSTANT_WM_USER + 10) 40 | Global Const $RB_MAXIMIZEBAND = ($__REBARCONSTANT_WM_USER + 31) 41 | Global Const $RB_MINIMIZEBAND = ($__REBARCONSTANT_WM_USER + 30) 42 | Global Const $RB_MOVEBAND = ($__REBARCONSTANT_WM_USER + 39) 43 | Global Const $RB_PUSHCHEVRON = ($__REBARCONSTANT_WM_USER + 43) 44 | Global Const $RB_SETBANDINFOA = ($__REBARCONSTANT_WM_USER + 6) 45 | Global Const $RB_SETBANDINFOW = ($__REBARCONSTANT_WM_USER + 11) 46 | Global Const $RB_SETBARINFO = ($__REBARCONSTANT_WM_USER + 4) 47 | Global Const $RB_SETBKCOLOR = ($__REBARCONSTANT_WM_USER + 19) 48 | Global Const $RB_SETCOLORSCHEME = 0x2000 + 2 49 | Global Const $RB_SETPALETTE = ($__REBARCONSTANT_WM_USER + 37) 50 | Global Const $RB_SETPARENT = ($__REBARCONSTANT_WM_USER + 7) 51 | Global Const $RB_SETTEXTCOLOR = ($__REBARCONSTANT_WM_USER + 21) 52 | Global Const $RB_SETTOOLTIPS = ($__REBARCONSTANT_WM_USER + 18) 53 | Global Const $RB_SETUNICODEFORMAT = 0x2000 + 5 54 | Global Const $RB_SETWINDOWTHEME = 0x2000 + 11 55 | Global Const $RB_SHOWBAND = ($__REBARCONSTANT_WM_USER + 35) 56 | Global Const $RB_SIZETORECT = ($__REBARCONSTANT_WM_USER + 23) 57 | 58 | ; Notifications 59 | Global Const $RBN_FIRST = (-831) 60 | Global Const $RBN_AUTOBREAK = ($RBN_FIRST - 22) 61 | Global Const $RBN_AUTOSIZE = ($RBN_FIRST - 3) 62 | Global Const $RBN_BEGINDRAG = ($RBN_FIRST - 4) 63 | Global Const $RBN_CHEVRONPUSHED = ($RBN_FIRST - 10) 64 | Global Const $RBN_CHILDSIZE = ($RBN_FIRST - 8) 65 | Global Const $RBN_DELETEDBAND = ($RBN_FIRST - 7) 66 | Global Const $RBN_DELETINGBAND = ($RBN_FIRST - 6) 67 | Global Const $RBN_ENDDRAG = ($RBN_FIRST - 5) 68 | Global Const $RBN_GETOBJECT = ($RBN_FIRST - 1) 69 | Global Const $RBN_HEIGHTCHANGE = ($RBN_FIRST - 0) 70 | Global Const $RBN_LAYOUTCHANGED = ($RBN_FIRST - 2) 71 | Global Const $RBN_MINMAX = ($RBN_FIRST - 21) 72 | 73 | ; Styles 74 | Global Const $RBS_AUTOSIZE = 0x2000 75 | Global Const $RBS_BANDBORDERS = 0X400 76 | Global Const $RBS_DBLCLKTOGGLE = 0x8000 77 | Global Const $RBS_FIXEDORDER = 0x800 78 | Global Const $RBS_REGISTERDROP = 0x1000 79 | Global Const $RBS_TOOLTIPS = 0x100 80 | Global Const $RBS_VARHEIGHT = 0X200 81 | Global Const $RBS_VERTICALGRIPPER = 0x4000 82 | 83 | ; $tagREBARBANDINFO constants for fmask 84 | Global Const $RBBIM_STYLE = 0x1 85 | Global Const $RBBIM_COLORS = 0x2 86 | Global Const $RBBIM_TEXT = 0x4 87 | Global Const $RBBIM_IMAGE = 0x8 88 | Global Const $RBBIM_CHILD = 0x10 89 | Global Const $RBBIM_CHILDSIZE = 0x20 90 | Global Const $RBBIM_SIZE = 0x40 91 | Global Const $RBBIM_BACKGROUND = 0x80 92 | Global Const $RBBIM_ID = 0x100 93 | Global Const $RBBIM_IDEALSIZE = 0x200 94 | Global Const $RBBIM_LPARAM = 0x400 95 | Global Const $RBBIM_HEADERSIZE = 0x800 96 | 97 | ; $tagREBARINFO constants for fmask 98 | Global Const $RBIM_IMAGELIST = 0x1 99 | 100 | ; $tagREBARBANDINFO constants for fstyle 101 | Global Const $RBBS_BREAK = 0x1 ; The band is on a new line 102 | Global Const $RBBS_CHILDEDGE = 0x4 ; The band has an edge at the top and bottom of the child window 103 | Global Const $RBBS_FIXEDBMP = 0x20 ; The background bitmap does not move when the band is resized 104 | Global Const $RBBS_FIXEDSIZE = 0x2 ; The band can't be sized. With this style, the sizing grip is not displayed on the band 105 | Global Const $RBBS_GRIPPERALWAYS = 0x80 ; The band will always have a sizing grip, even if it is the only band in the rebar 106 | Global Const $RBBS_HIDDEN = 0x8 ; The band will not be visible 107 | Global Const $RBBS_HIDETITLE = 0x400 ; Keep band title hidden 108 | Global Const $RBBS_NOGRIPPER = 0x100 ; The band will never have a sizing grip, even if there is more than one band in the rebar 109 | Global Const $RBBS_NOVERT = 0x10 ; Don't show when vertical 110 | Global Const $RBBS_TOPALIGN = 0x800 ; Keep band in top row 111 | Global Const $RBBS_USECHEVRON = 0x200 ; Display drop-down button 112 | Global Const $RBBS_VARIABLEHEIGHT = 0x40 ; The band can be resized by the rebar control; cyIntegral and cyMaxChild affect how the rebar will resize the band 113 | 114 | ; $tagRBHITTESTINFO constants for flags 115 | Global Const $RBHT_CAPTION = 0x2 116 | Global Const $RBHT_CHEVRON = 0x8 117 | Global Const $RBHT_CLIENT = 0x3 118 | Global Const $RBHT_GRABBER = 0x4 119 | Global Const $RBHT_NOWHERE = 0x1 120 | 121 | ; $tagNMREBAR constants for dwMask 122 | Global Const $RBNM_ID = 0x1 123 | Global Const $RBNM_LPARAM = 0x4 124 | Global Const $RBNM_STYLE = 0x2 125 | ; =============================================================================================================================== 126 | -------------------------------------------------------------------------------- /Assets/Include/UDFGlobalID.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "WinAPI.au3" 4 | 5 | ; #INDEX# ======================================================================================================================= 6 | ; Title .........: UDF Global ID 7 | ; AutoIt Version : 3.3.14.2 8 | ; Language ......: English 9 | ; Description ...: Global ID Generation for UDFs. 10 | ; Author(s) .....: Gary Frost 11 | ; =============================================================================================================================== 12 | 13 | ; #CONSTANTS# =================================================================================================================== 14 | Global Const $_UDF_GlobalIDs_OFFSET = 2 15 | Global Const $_UDF_GlobalID_MAX_WIN = 16 16 | Global Const $_UDF_STARTID = 10000 17 | Global Const $_UDF_GlobalID_MAX_IDS = 55535 18 | 19 | Global Const $__UDFGUICONSTANT_WS_TABSTOP = 0x00010000 20 | Global Const $__UDFGUICONSTANT_WS_VISIBLE = 0x10000000 21 | Global Const $__UDFGUICONSTANT_WS_CHILD = 0x40000000 22 | ; =============================================================================================================================== 23 | 24 | ; #VARIABLES# =================================================================================================================== 25 | Global $__g_aUDF_GlobalIDs_Used[$_UDF_GlobalID_MAX_WIN][$_UDF_GlobalID_MAX_IDS + $_UDF_GlobalIDs_OFFSET + 1] ; [index][0] = HWND, [index][1] = NEXT ID 26 | ; =============================================================================================================================== 27 | 28 | ; #INTERNAL_USE_ONLY# =========================================================================================================== 29 | ; __UDF_GetNextGlobalID 30 | ; __UDF_FreeGlobalID 31 | ; =============================================================================================================================== 32 | 33 | ; #INTERNAL_USE_ONLY# =========================================================================================================== 34 | ; Name...........: __UDF_GetNextGlobalID 35 | ; Description ...: Used for setting controlID to UDF controls 36 | ; Syntax.........: __UDF_GetNextGlobalID($hWnd) 37 | ; Parameters ....: $hWnd - handle to Main Window 38 | ; Return values .: Success - Control ID 39 | ; Failure - 0 and @error is set, @extended may be set 40 | ; Author ........: Gary Frost 41 | ; Modified.......: 42 | ; Remarks .......: For Internal Use Only 43 | ; Related .......: 44 | ; Link ..........: 45 | ; Example .......: 46 | ; =============================================================================================================================== 47 | Func __UDF_GetNextGlobalID($hWnd) 48 | Local $nCtrlID, $iUsedIndex = -1, $bAllUsed = True 49 | 50 | ; check if window still exists 51 | If Not WinExists($hWnd) Then Return SetError(-1, -1, 0) 52 | 53 | ; check that all slots still hold valid window handles 54 | For $iIndex = 0 To $_UDF_GlobalID_MAX_WIN - 1 55 | If $__g_aUDF_GlobalIDs_Used[$iIndex][0] <> 0 Then 56 | ; window no longer exist, free up the slot and reset the control id counter 57 | If Not WinExists($__g_aUDF_GlobalIDs_Used[$iIndex][0]) Then 58 | For $x = 0 To UBound($__g_aUDF_GlobalIDs_Used, $UBOUND_COLUMNS) - 1 59 | $__g_aUDF_GlobalIDs_Used[$iIndex][$x] = 0 60 | Next 61 | $__g_aUDF_GlobalIDs_Used[$iIndex][1] = $_UDF_STARTID 62 | $bAllUsed = False 63 | EndIf 64 | EndIf 65 | Next 66 | 67 | ; check if window has been used before with this function 68 | For $iIndex = 0 To $_UDF_GlobalID_MAX_WIN - 1 69 | If $__g_aUDF_GlobalIDs_Used[$iIndex][0] = $hWnd Then 70 | $iUsedIndex = $iIndex 71 | ExitLoop ; $hWnd has been used before 72 | EndIf 73 | Next 74 | 75 | ; window hasn't been used before, get 1st un-used index 76 | If $iUsedIndex = -1 Then 77 | For $iIndex = 0 To $_UDF_GlobalID_MAX_WIN - 1 78 | If $__g_aUDF_GlobalIDs_Used[$iIndex][0] = 0 Then 79 | $__g_aUDF_GlobalIDs_Used[$iIndex][0] = $hWnd 80 | $__g_aUDF_GlobalIDs_Used[$iIndex][1] = $_UDF_STARTID 81 | $bAllUsed = False 82 | $iUsedIndex = $iIndex 83 | ExitLoop 84 | EndIf 85 | Next 86 | EndIf 87 | 88 | If $iUsedIndex = -1 And $bAllUsed Then Return SetError(16, 0, 0) ; used up all 16 window slots 89 | 90 | ; used all control ids 91 | If $__g_aUDF_GlobalIDs_Used[$iUsedIndex][1] = $_UDF_STARTID + $_UDF_GlobalID_MAX_IDS Then 92 | ; check if control has been deleted, if so use that index in array 93 | For $iIDIndex = $_UDF_GlobalIDs_OFFSET To UBound($__g_aUDF_GlobalIDs_Used, $UBOUND_COLUMNS) - 1 94 | If $__g_aUDF_GlobalIDs_Used[$iUsedIndex][$iIDIndex] = 0 Then 95 | $nCtrlID = ($iIDIndex - $_UDF_GlobalIDs_OFFSET) + 10000 96 | $__g_aUDF_GlobalIDs_Used[$iUsedIndex][$iIDIndex] = $nCtrlID 97 | Return $nCtrlID 98 | EndIf 99 | Next 100 | Return SetError(-1, $_UDF_GlobalID_MAX_IDS, 0) ; we have used up all available control ids 101 | EndIf 102 | 103 | ; new control id 104 | $nCtrlID = $__g_aUDF_GlobalIDs_Used[$iUsedIndex][1] 105 | $__g_aUDF_GlobalIDs_Used[$iUsedIndex][1] += 1 106 | $__g_aUDF_GlobalIDs_Used[$iUsedIndex][($nCtrlID - 10000) + $_UDF_GlobalIDs_OFFSET] = $nCtrlID 107 | Return $nCtrlID 108 | EndFunc ;==>__UDF_GetNextGlobalID 109 | 110 | ; #INTERNAL_USE_ONLY# =========================================================================================================== 111 | ; Name...........: __UDF_FreeGlobalID 112 | ; Description ...: Used for freeing controlID used for UDF controls 113 | ; Syntax.........: __UDF_FreeGlobalID($hWnd, $iGlobalID) 114 | ; Parameters ....: $hWnd - handle to Main Window 115 | ; $iGlobalID - Control ID to free up for re-use if needed 116 | ; Return values .: None 117 | ; Author ........: Gary Frost 118 | ; Modified.......: 119 | ; Remarks .......: For Internal Use Only 120 | ; Related .......: 121 | ; Link ..........: 122 | ; Example .......: 123 | ; =============================================================================================================================== 124 | Func __UDF_FreeGlobalID($hWnd, $iGlobalID) 125 | ; invalid udf global id passed in 126 | If $iGlobalID - $_UDF_STARTID < 0 Or $iGlobalID - $_UDF_STARTID > $_UDF_GlobalID_MAX_IDS Then Return SetError(-1, 0, False) 127 | 128 | For $iIndex = 0 To $_UDF_GlobalID_MAX_WIN - 1 129 | If $__g_aUDF_GlobalIDs_Used[$iIndex][0] = $hWnd Then 130 | For $x = $_UDF_GlobalIDs_OFFSET To UBound($__g_aUDF_GlobalIDs_Used, $UBOUND_COLUMNS) - 1 131 | If $__g_aUDF_GlobalIDs_Used[$iIndex][$x] = $iGlobalID Then 132 | ; free up control id 133 | $__g_aUDF_GlobalIDs_Used[$iIndex][$x] = 0 134 | Return True 135 | EndIf 136 | Next 137 | ; $iGlobalID wasn't found in the used list 138 | Return SetError(-3, 0, False) 139 | EndIf 140 | Next 141 | ; $hWnd wasn't found in the used list 142 | Return SetError(-2, 0, False) 143 | EndFunc ;==>__UDF_FreeGlobalID 144 | -------------------------------------------------------------------------------- /Assets/Include/WinAPIvkeysConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: API Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; Virtual Keys Constants 14 | Global Const $VK_LBUTTON = 0x01 15 | Global Const $VK_RBUTTON = 0x02 16 | Global Const $VK_CANCEL = 0x03 17 | Global Const $VK_MBUTTON = 0x04 18 | Global Const $VK_XBUTTON1 = 0x05 19 | Global Const $VK_XBUTTON2 = 0x06 20 | Global Const $VK_BACK = 0x08 21 | Global Const $VK_TAB = 0x09 22 | Global Const $VK_CLEAR = 0x0C 23 | Global Const $VK_RETURN = 0x0D 24 | Global Const $VK_SHIFT = 0x10 25 | Global Const $VK_CONTROL = 0x11 26 | Global Const $VK_MENU = 0x12 27 | Global Const $VK_PAUSE = 0x13 28 | Global Const $VK_CAPITAL = 0x14 29 | Global Const $VK_KANA = 0x15 30 | Global Const $VK_HANGUL = 0x15 31 | Global Const $VK_JUNJA = 0x17 32 | Global Const $VK_FINAL = 0x18 33 | Global Const $VK_HANJA = 0x19 34 | Global Const $VK_KANJI = 0x19 35 | Global Const $VK_ESCAPE = 0x1B 36 | Global Const $VK_CONVERT = 0x1C 37 | Global Const $VK_NONCONVERT = 0x1D 38 | Global Const $VK_ACCEPT = 0x1E 39 | Global Const $VK_MODECHANGE = 0x1F 40 | Global Const $VK_SPACE = 0x20 41 | 42 | ; move from Constants.au3 43 | Global Const $VK_PRIOR = 0x21 44 | Global Const $VK_NEXT = 0x22 45 | Global Const $VK_END = 0x23 46 | Global Const $VK_HOME = 0x24 47 | Global Const $VK_LEFT = 0x25 48 | Global Const $VK_UP = 0x26 49 | Global Const $VK_RIGHT = 0x27 50 | Global Const $VK_DOWN = 0x28 51 | 52 | Global Const $VK_SELECT = 0x29 53 | Global Const $VK_PRINT = 0x2A 54 | Global Const $VK_EXECUTE = 0x2B 55 | Global Const $VK_SNAPSHOT = 0x2C 56 | Global Const $VK_INSERT = 0x2D 57 | Global Const $VK_DELETE = 0x2E 58 | Global Const $VK_HELP = 0x2F 59 | Global Const $VK_0 = 0x30 60 | Global Const $VK_1 = 0x31 61 | Global Const $VK_2 = 0x32 62 | Global Const $VK_3 = 0x33 63 | Global Const $VK_4 = 0x34 64 | Global Const $VK_5 = 0x35 65 | Global Const $VK_6 = 0x36 66 | Global Const $VK_7 = 0x37 67 | Global Const $VK_8 = 0x38 68 | Global Const $VK_9 = 0x39 69 | Global Const $VK_A = 0x41 70 | Global Const $VK_B = 0x42 71 | Global Const $VK_C = 0x43 72 | Global Const $VK_D = 0x44 73 | Global Const $VK_E = 0x45 74 | Global Const $VK_F = 0x46 75 | Global Const $VK_G = 0x47 76 | Global Const $VK_H = 0x48 77 | Global Const $VK_I = 0x49 78 | Global Const $VK_J = 0x4A 79 | Global Const $VK_K = 0x4B 80 | Global Const $VK_L = 0x4C 81 | Global Const $VK_M = 0x4D 82 | Global Const $VK_N = 0x4E 83 | Global Const $VK_O = 0x4F 84 | Global Const $VK_P = 0x50 85 | Global Const $VK_Q = 0x51 86 | Global Const $VK_R = 0x52 87 | Global Const $VK_S = 0x53 88 | Global Const $VK_T = 0x54 89 | Global Const $VK_U = 0x55 90 | Global Const $VK_V = 0x56 91 | Global Const $VK_W = 0x57 92 | Global Const $VK_X = 0x58 93 | Global Const $VK_Y = 0x59 94 | Global Const $VK_Z = 0x5A 95 | Global Const $VK_LWIN = 0x5B 96 | Global Const $VK_RWIN = 0x5C 97 | Global Const $VK_APPS = 0x5D 98 | Global Const $VK_SLEEP = 0x5F 99 | Global Const $VK_NUMPAD0 = 0x60 100 | Global Const $VK_NUMPAD1 = 0x61 101 | Global Const $VK_NUMPAD2 = 0x62 102 | Global Const $VK_NUMPAD3 = 0x63 103 | Global Const $VK_NUMPAD4 = 0x64 104 | Global Const $VK_NUMPAD5 = 0x65 105 | Global Const $VK_NUMPAD6 = 0x66 106 | Global Const $VK_NUMPAD7 = 0x67 107 | Global Const $VK_NUMPAD8 = 0x68 108 | Global Const $VK_NUMPAD9 = 0x69 109 | Global Const $VK_MULTIPLY = 0x6A 110 | Global Const $VK_ADD = 0x6B 111 | Global Const $VK_SEPARATOR = 0x6C 112 | Global Const $VK_SUBTRACT = 0x6D 113 | Global Const $VK_DECIMAL = 0x6E 114 | Global Const $VK_DIVIDE = 0x6F 115 | Global Const $VK_F1 = 0x70 116 | Global Const $VK_F2 = 0x71 117 | Global Const $VK_F3 = 0x72 118 | Global Const $VK_F4 = 0x73 119 | Global Const $VK_F5 = 0x74 120 | Global Const $VK_F6 = 0x75 121 | Global Const $VK_F7 = 0x76 122 | Global Const $VK_F8 = 0x77 123 | Global Const $VK_F9 = 0x78 124 | Global Const $VK_F10 = 0x79 125 | Global Const $VK_F11 = 0x7A 126 | Global Const $VK_F12 = 0x7B 127 | Global Const $VK_F13 = 0x7C 128 | Global Const $VK_F14 = 0x7D 129 | Global Const $VK_F15 = 0x7E 130 | Global Const $VK_F16 = 0x7F 131 | Global Const $VK_F17 = 0x80 132 | Global Const $VK_F18 = 0x81 133 | Global Const $VK_F19 = 0x82 134 | Global Const $VK_F20 = 0x83 135 | Global Const $VK_F21 = 0x84 136 | Global Const $VK_F22 = 0x85 137 | Global Const $VK_F23 = 0x86 138 | Global Const $VK_F24 = 0x87 139 | Global Const $VK_NUMLOCK = 0x90 140 | Global Const $VK_SCROLL = 0x91 141 | Global Const $VK_LSHIFT = 0xA0 142 | Global Const $VK_RSHIFT = 0xA1 143 | Global Const $VK_LCONTROL = 0xA2 144 | Global Const $VK_RCONTROL = 0xA3 145 | Global Const $VK_LMENU = 0xA4 146 | Global Const $VK_RMENU = 0xA5 147 | Global Const $VK_BROWSER_BACK = 0xA6 148 | Global Const $VK_BROWSER_FORWARD = 0xA7 149 | Global Const $VK_BROWSER_REFRESH = 0xA8 150 | Global Const $VK_BROWSER_STOP = 0xA9 151 | Global Const $VK_BROWSER_SEARCH = 0xAA 152 | Global Const $VK_BROWSER_FAVORITES = 0xAB 153 | Global Const $VK_BROWSER_HOME = 0xAC 154 | Global Const $VK_VOLUME_MUTE = 0xAD 155 | Global Const $VK_VOLUME_DOWN = 0xAE 156 | Global Const $VK_VOLUME_UP = 0xAF 157 | Global Const $VK_MEDIA_NEXT_TRACK = 0xB0 158 | Global Const $VK_MEDIA_PREV_TRACK = 0xB1 159 | Global Const $VK_MEDIA_STOP = 0xB2 160 | Global Const $VK_MEDIA_PLAY_PAUSE = 0xB3 161 | Global Const $VK_LAUNCH_MAIL = 0xB4 162 | Global Const $VK_LAUNCH_MEDIA_SELECT = 0xB5 163 | Global Const $VK_LAUNCH_APP1 = 0xB6 164 | Global Const $VK_LAUNCH_APP2 = 0xB7 165 | Global Const $VK_OEM_1 = 0xBA ; ';:' 166 | Global Const $VK_OEM_PLUS = 0xBB ; '=+' 167 | Global Const $VK_OEM_COMMA = 0xBC ; ',<' 168 | Global Const $VK_OEM_MINUS = 0xBD ; '-_' 169 | Global Const $VK_OEM_PERIOD = 0xBE ; '.>' 170 | Global Const $VK_OEM_2 = 0xBF ; '/?' 171 | Global Const $VK_OEM_3 = 0xC0 ; '`~' 172 | Global Const $VK_OEM_4 = 0xDB ; '[{' 173 | Global Const $VK_OEM_5 = 0xDC ; '\|' 174 | Global Const $VK_OEM_6 = 0xDD ; ']}' 175 | Global Const $VK_OEM_7 = 0xDE ; ''"' 176 | Global Const $VK_OEM_8 = 0xDF 177 | Global Const $VK_OEM_102 = 0xE2 178 | Global Const $VK_PROCESSKEY = 0xE5 179 | Global Const $VK_PACKET = 0xE7 180 | Global Const $VK_ATTN = 0xF6 181 | Global Const $VK_CRSEL = 0xF7 182 | Global Const $VK_EXSEL = 0xF8 183 | Global Const $VK_EREOF = 0xF9 184 | Global Const $VK_PLAY = 0xFA 185 | Global Const $VK_ZOOM = 0xFB 186 | Global Const $VK_NONAME = 0xFC 187 | Global Const $VK_PA1 = 0xFD 188 | Global Const $VK_OEM_CLEAR = 0xFE 189 | ; =============================================================================================================================== 190 | -------------------------------------------------------------------------------- /Assets/Include/FileConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: File_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants to be included in an AutoIt v3 script when using File functions. 8 | ; Author(s) .....: Valik, Gary Frost, ... 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Indicates file copy and install options 13 | Global Const $FC_NOOVERWRITE = 0 ; Do not overwrite existing files (default) 14 | Global Const $FC_OVERWRITE = 1 ; Overwrite existing files 15 | Global Const $FC_CREATEPATH = 8 ; Create destination directory structure if it doesn't exist 16 | 17 | ; Indicates file date and time options 18 | Global Const $FT_MODIFIED = 0 ; Date and time file was last modified (default) 19 | Global Const $FT_CREATED = 1 ; Date and time file was created 20 | Global Const $FT_ACCESSED = 2 ; Date and time file was last accessed 21 | 22 | ; FileGetTime Constants 23 | Global Const $FT_ARRAY = 0 24 | Global Const $FT_STRING = 1 25 | 26 | ; FileSelectFolder Constants 27 | Global Const $FSF_CREATEBUTTON = 1 28 | Global Const $FSF_NEWDIALOG = 2 29 | Global Const $FSF_EDITCONTROL = 4 30 | 31 | ; FileSetTime, FileSetAttrib 32 | Global Const $FT_NONRECURSIVE = 0 33 | Global Const $FT_RECURSIVE = 1 34 | 35 | ; Indicates the mode to open a file 36 | Global Const $FO_READ = 0 ; Read mode 37 | Global Const $FO_APPEND = 1 ; Write mode (append) 38 | Global Const $FO_OVERWRITE = 2 ; Write mode (erase previous contents) 39 | Global Const $FO_CREATEPATH = 8 ; Create directory structure if it doesn't exist 40 | Global Const $FO_BINARY = 16 ; Read/Write mode binary 41 | Global Const $FO_UNICODE = 32 ; Write mode Unicode UTF16-LE 42 | Global Const $FO_UTF16_LE = 32 ; Write mode Unicode UTF16-LE 43 | Global Const $FO_UTF16_BE = 64 ; Write mode Unicode UTF16-BE 44 | Global Const $FO_UTF8 = 128 ; Read/Write mode UTF8 with BOM 45 | Global Const $FO_UTF8_NOBOM = 256 ; Read/Write mode UTF8 with no BOM 46 | Global Const $FO_ANSI = 512 ; Read/Write mode ANSI 47 | Global Const $FO_UTF16_LE_NOBOM = 1024 ; Write mode Unicode UTF16-LE with no BOM 48 | Global Const $FO_UTF16_BE_NOBOM = 2048 ; Write mode Unicode UTF16-BE with no BOM 49 | Global Const $FO_UTF8_FULL = 16384 ; Use full file UTF8 detection if no BOM present 50 | Global Const $FO_FULLFILE_DETECT = 16384 ; Use full file UTF8 detection if no BOM present 51 | 52 | ; Indicates file read options 53 | Global Const $EOF = -1 ; End-of-file reached 54 | 55 | ; Indicates file open and save dialog options 56 | Global Const $FD_FILEMUSTEXIST = 1 ; File must exist 57 | Global Const $FD_PATHMUSTEXIST = 2 ; Path must exist 58 | Global Const $FD_MULTISELECT = 4 ; Allow multi-select 59 | Global Const $FD_PROMPTCREATENEW = 8 ; Prompt to create new file 60 | Global Const $FD_PROMPTOVERWRITE = 16 ; Prompt to overWrite file 61 | 62 | Global Const $CREATE_NEW = 1 63 | Global Const $CREATE_ALWAYS = 2 64 | Global Const $OPEN_EXISTING = 3 65 | Global Const $OPEN_ALWAYS = 4 66 | Global Const $TRUNCATE_EXISTING = 5 67 | 68 | Global Const $INVALID_SET_FILE_POINTER = -1 69 | 70 | ; Indicates starting point for the file pointer move operations 71 | Global Const $FILE_BEGIN = 0 72 | Global Const $FILE_CURRENT = 1 73 | Global Const $FILE_END = 2 74 | 75 | Global Const $FILE_ATTRIBUTE_READONLY = 0x00000001 76 | Global Const $FILE_ATTRIBUTE_HIDDEN = 0x00000002 77 | Global Const $FILE_ATTRIBUTE_SYSTEM = 0x00000004 78 | Global Const $FILE_ATTRIBUTE_DIRECTORY = 0x00000010 79 | Global Const $FILE_ATTRIBUTE_ARCHIVE = 0x00000020 80 | Global Const $FILE_ATTRIBUTE_DEVICE = 0x00000040 81 | Global Const $FILE_ATTRIBUTE_NORMAL = 0x00000080 82 | Global Const $FILE_ATTRIBUTE_TEMPORARY = 0x00000100 83 | Global Const $FILE_ATTRIBUTE_SPARSE_FILE = 0x00000200 84 | Global Const $FILE_ATTRIBUTE_REPARSE_POINT = 0x00000400 85 | Global Const $FILE_ATTRIBUTE_COMPRESSED = 0x00000800 86 | Global Const $FILE_ATTRIBUTE_OFFLINE = 0x00001000 87 | Global Const $FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x00002000 88 | Global Const $FILE_ATTRIBUTE_ENCRYPTED = 0x00004000 89 | 90 | Global Const $FILE_SHARE_READ = 0x00000001 91 | Global Const $FILE_SHARE_WRITE = 0x00000002 92 | Global Const $FILE_SHARE_DELETE = 0x00000004 93 | Global Const $FILE_SHARE_READWRITE = BitOR($FILE_SHARE_READ, $FILE_SHARE_WRITE) 94 | Global Const $FILE_SHARE_ANY = BitOR($FILE_SHARE_READ, $FILE_SHARE_WRITE, $FILE_SHARE_DELETE) 95 | 96 | Global Const $GENERIC_ALL = 0x10000000 97 | Global Const $GENERIC_EXECUTE = 0x20000000 98 | Global Const $GENERIC_WRITE = 0x40000000 99 | Global Const $GENERIC_READ = 0x80000000 100 | Global Const $GENERIC_READWRITE = BitOR($GENERIC_READ, $GENERIC_WRITE) 101 | 102 | ; FileGetEncoding Constants 103 | Global Const $FILE_ENCODING_UTF16LE = 32 104 | 105 | Global Const $FE_ENTIRE_UTF8 = 1 106 | Global Const $FE_PARTIALFIRST_UTF8 = 2 107 | 108 | ; FileGetLongName and FileGetShortName 109 | Global Const $FN_FULLPATH = 0 110 | Global Const $FN_RELATIVEPATH = 1 111 | 112 | ; FileGetVersion Constants _WinAPI_VerQueryValue, _WinAPI_VerQueryValueEx 113 | Global Const $FV_COMMENTS = "Comments" 114 | Global Const $FV_COMPANYNAME = "CompanyName" 115 | Global Const $FV_FILEDESCRIPTION = "FileDescription" 116 | Global Const $FV_FILEVERSION = "FileVersion" 117 | Global Const $FV_INTERNALNAME = "InternalName" 118 | Global Const $FV_LEGALCOPYRIGHT = "LegalCopyright" 119 | Global Const $FV_LEGALTRADEMARKS = "LegalTrademarks" 120 | Global Const $FV_ORIGINALFILENAME = "OriginalFilename" 121 | Global Const $FV_PRODUCTNAME = "ProductName" 122 | Global Const $FV_PRODUCTVERSION = "ProductVersion" 123 | Global Const $FV_PRIVATEBUILD = "PrivateBuild" 124 | Global Const $FV_SPECIALBUILD = "SpecialBuild" 125 | 126 | ; Indicates _FileReadToArray modes 127 | Global Const $FRTA_NOCOUNT = 0 128 | Global Const $FRTA_COUNT = 1 129 | Global Const $FRTA_INTARRAYS = 2 130 | Global Const $FRTA_ENTIRESPLIT = 4 131 | 132 | ; Indicates _FileListToArray modes 133 | Global Const $FLTA_FILESFOLDERS = 0 134 | Global Const $FLTA_FILES = 1 135 | Global Const $FLTA_FOLDERS = 2 136 | 137 | ; Indicates _FileListToArrayRec modes 138 | Global Const $FLTAR_FILESFOLDERS = 0 139 | Global Const $FLTAR_FILES = 1 140 | Global Const $FLTAR_FOLDERS = 2 141 | Global Const $FLTAR_NOHIDDEN = 4 142 | Global Const $FLTAR_NOSYSTEM = 8 143 | Global Const $FLTAR_NOLINK = 16 144 | Global Const $FLTAR_NORECUR = 0 145 | Global Const $FLTAR_RECUR = 1 146 | Global Const $FLTAR_NOSORT = 0 147 | Global Const $FLTAR_SORT = 1 148 | Global Const $FLTAR_FASTSORT = 2 149 | Global Const $FLTAR_NOPATH = 0 150 | Global Const $FLTAR_RELPATH = 1 151 | Global Const $FLTAR_FULLPATH = 2 152 | ; =============================================================================================================================== 153 | -------------------------------------------------------------------------------- /Assets/Include/HeaderConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Header_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for Header functions. 8 | ; Author(s) .....: Valik, Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $HDF_LEFT = 0x00000000 13 | Global Const $HDF_RIGHT = 0x00000001 14 | Global Const $HDF_CENTER = 0x00000002 15 | Global Const $HDF_JUSTIFYMASK = 0x00000003 16 | 17 | Global Const $HDF_BITMAP_ON_RIGHT = 0x00001000 18 | Global Const $HDF_BITMAP = 0x00002000 19 | Global Const $HDF_STRING = 0x00004000 20 | Global Const $HDF_OWNERDRAW = 0x00008000 21 | Global Const $HDF_DISPLAYMASK = 0x0000F000 22 | 23 | Global Const $HDF_RTLREADING = 0x00000004 24 | Global Const $HDF_SORTDOWN = 0x00000200 25 | Global Const $HDF_IMAGE = 0x00000800 26 | Global Const $HDF_SORTUP = 0x00000400 27 | Global Const $HDF_FLAGMASK = 0x00000E04 28 | 29 | Global Const $HDI_WIDTH = 0x00000001 30 | Global Const $HDI_TEXT = 0x00000002 31 | Global Const $HDI_FORMAT = 0x00000004 32 | Global Const $HDI_PARAM = 0x00000008 33 | Global Const $HDI_BITMAP = 0x00000010 34 | Global Const $HDI_IMAGE = 0x00000020 35 | Global Const $HDI_DI_SETITEM = 0x00000040 36 | Global Const $HDI_ORDER = 0x00000080 37 | Global Const $HDI_FILTER = 0x00000100 38 | 39 | Global Const $HHT_NOWHERE = 0x00000001 40 | Global Const $HHT_ONHEADER = 0x00000002 41 | Global Const $HHT_ONDIVIDER = 0x00000004 42 | Global Const $HHT_ONDIVOPEN = 0x00000008 43 | Global Const $HHT_ONFILTER = 0x00000010 44 | Global Const $HHT_ONFILTERBUTTON = 0x00000020 45 | Global Const $HHT_ABOVE = 0x00000100 46 | Global Const $HHT_BELOW = 0x00000200 47 | Global Const $HHT_TORIGHT = 0x00000400 48 | Global Const $HHT_TOLEFT = 0x00000800 49 | 50 | ; Messages 51 | Global Const $HDM_FIRST = 0x1200 52 | Global Const $HDM_CLEARFILTER = $HDM_FIRST + 24 53 | Global Const $HDM_CREATEDRAGIMAGE = $HDM_FIRST + 16 54 | Global Const $HDM_DELETEITEM = $HDM_FIRST + 2 55 | Global Const $HDM_EDITFILTER = $HDM_FIRST + 23 56 | Global Const $HDM_GETBITMAPMARGIN = $HDM_FIRST + 21 57 | Global Const $HDM_GETFOCUSEDITEM = $HDM_FIRST + 27 58 | Global Const $HDM_GETIMAGELIST = $HDM_FIRST + 9 59 | Global Const $HDM_GETITEMA = $HDM_FIRST + 3 60 | Global Const $HDM_GETITEMW = $HDM_FIRST + 11 61 | Global Const $HDM_GETITEMCOUNT = $HDM_FIRST + 0 62 | Global Const $HDM_GETITEMDROPDOWNRECT = $HDM_FIRST + 25 63 | Global Const $HDM_GETITEMRECT = $HDM_FIRST + 7 64 | Global Const $HDM_GETORDERARRAY = $HDM_FIRST + 17 65 | Global Const $HDM_GETOVERFLOWRECT = $HDM_FIRST + 26 66 | Global Const $HDM_GETUNICODEFORMAT = 0x2000 + 6 67 | Global Const $HDM_HITTEST = $HDM_FIRST + 6 68 | Global Const $HDM_INSERTITEMA = $HDM_FIRST + 1 69 | Global Const $HDM_INSERTITEMW = $HDM_FIRST + 10 70 | Global Const $HDM_LAYOUT = $HDM_FIRST + 5 71 | Global Const $HDM_ORDERTOINDEX = $HDM_FIRST + 15 72 | Global Const $HDM_SETBITMAPMARGIN = $HDM_FIRST + 20 73 | Global Const $HDM_SETFILTERCHANGETIMEOUT = $HDM_FIRST + 22 74 | Global Const $HDM_SETFOCUSEDITEM = $HDM_FIRST + 28 75 | Global Const $HDM_SETHOTDIVIDER = $HDM_FIRST + 19 76 | Global Const $HDM_SETIMAGELIST = $HDM_FIRST + 8 77 | Global Const $HDM_SETITEMA = $HDM_FIRST + 4 78 | Global Const $HDM_SETITEMW = $HDM_FIRST + 12 79 | Global Const $HDM_SETORDERARRAY = $HDM_FIRST + 18 80 | Global Const $HDM_SETUNICODEFORMAT = 0x2000 + 5 81 | 82 | ; Notifications 83 | Global Const $HDN_FIRST = -300 84 | Global Const $HDN_BEGINDRAG = $HDN_FIRST - 10 ; Sent when a drag operation has begun 85 | Global Const $HDN_BEGINTRACK = $HDN_FIRST - 6 ; Sent when the user has begun dragging a divider 86 | Global Const $HDN_DIVIDERDBLCLICK = $HDN_FIRST - 5 ; Sent when the user double clicks the divider 87 | Global Const $HDN_ENDDRAG = $HDN_FIRST - 11 ; Sent when a drag operation has ended 88 | Global Const $HDN_ENDTRACK = $HDN_FIRST - 7 ; Sent when the user has finished dragging a divider 89 | Global Const $HDN_FILTERBTNCLICK = $HDN_FIRST - 13 ; Sent when filter button is clicked 90 | Global Const $HDN_FILTERCHANGE = $HDN_FIRST - 12 ; Sent when the attributes of a header control filter are being changed 91 | Global Const $HDN_GETDISPINFO = $HDN_FIRST - 9 ; Sent when the control needs information about a callback 92 | Global Const $HDN_ITEMCHANGED = $HDN_FIRST - 1 ; Sent when a header item has changed 93 | Global Const $HDN_ITEMCHANGING = $HDN_FIRST - 0 ; Sent when a header item is about to change 94 | Global Const $HDN_ITEMCLICK = $HDN_FIRST - 2 ; Sent when the user clicks the control 95 | Global Const $HDN_ITEMDBLCLICK = $HDN_FIRST - 3 ; Sent when the user double clicks the control 96 | Global Const $HDN_TRACK = $HDN_FIRST - 8 ; Sent when the user is dragging a divider 97 | Global Const $HDN_BEGINTRACKW = $HDN_FIRST - 26 ; [Unicode] Sent when the user has begun dragging a divider 98 | Global Const $HDN_DIVIDERDBLCLICKW = $HDN_FIRST - 25 ; [Unicode] Sent when the user double clicks the divider 99 | Global Const $HDN_ENDTRACKW = $HDN_FIRST - 27 ; [Unicode] Sent when the user has finished dragging a divider 100 | Global Const $HDN_GETDISPINFOW = $HDN_FIRST - 29 ; [Unicode] Sent when the control needs information about a callback 101 | Global Const $HDN_ITEMCHANGEDW = $HDN_FIRST - 21 ; [Unicode] Sent when a header item has changed 102 | Global Const $HDN_ITEMCHANGINGW = $HDN_FIRST - 20 ; [Unicode] Sent when a header item is about to change 103 | Global Const $HDN_ITEMCLICKW = $HDN_FIRST - 22 ; [Unicode] Sent when the user clicks the control 104 | Global Const $HDN_ITEMDBLCLICKW = $HDN_FIRST - 23 ; [Unicode] Sent when the user double clicks the control 105 | Global Const $HDN_TRACKW = $HDN_FIRST - 28 ; [Unicode] Sent when the user is dragging a divider 106 | 107 | ; Styles 108 | Global Const $HDS_BUTTONS = 0x00000002 ; Each item in the control looks and behaves like a push button 109 | Global Const $HDS_CHECKBOXES = 0x00000400 ; Allows the placing of checkboxes on header items on Vista 110 | Global Const $HDS_DRAGDROP = 0x00000040 ; Allows drag-and-drop reordering of header items 111 | Global Const $HDS_FILTERBAR = 0x00000100 ; Include a filter bar as part of the standard header control 112 | Global Const $HDS_FLAT = 0x00000200 ; Control is drawn flat when XP is running in classic mode 113 | Global Const $HDS_FULLDRAG = 0x00000080 ; Column contents are displayed while the user resizes a column 114 | Global Const $HDS_HIDDEN = 0x00000008 ; Indicates a header control that is intended to be hidden 115 | Global Const $HDS_HORZ = 0x00000000 ; Creates a header control with a horizontal orientation 116 | Global Const $HDS_HOTTRACK = 0x00000004 ; Enables hot tracking 117 | Global Const $HDS_NOSIZING = 0x0800 ; The user cannot drag the divider on the header control on Vista 118 | Global Const $HDS_OVERFLOW = 0x1000 ; A button is displayed when not all items can be displayed within the header control's rectangle on Vista 119 | Global Const $HDS_DEFAULT = 0x00000046 ; Default header style $HDS_DRAGDROP + $HDS_HOTTRACK + $HDS_BUTTONS 120 | ; =============================================================================================================================== 121 | -------------------------------------------------------------------------------- /Assets/Include/DateTimeConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: DateTime_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for GUI control Date styles and much more. 8 | ; Author(s) .....: Valik, Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Date 13 | Global Const $DTS_SHORTDATEFORMAT = 0 14 | Global Const $DTS_UPDOWN = 1 15 | Global Const $DTS_SHOWNONE = 2 16 | Global Const $DTS_LONGDATEFORMAT = 4 17 | Global Const $DTS_TIMEFORMAT = 9 18 | Global Const $DTS_RIGHTALIGN = 32 19 | Global Const $DTS_SHORTDATECENTURYFORMAT = 0x0000000C ; The year is a four-digit field 20 | Global Const $DTS_APPCANPARSE = 0x00000010 ; Allows the owner to parse user input and take necessary action 21 | 22 | ; _DateDayOfWeek 23 | Global Const $DMW_LONGNAME = 0 24 | Global Const $DMW_SHORTNAME = 1 25 | Global Const $DMW_LOCALE_LONGNAME = 2 26 | Global Const $DMW_LOCALE_SHORTNAME = 3 27 | 28 | ; Success/Failure 29 | Global Const $GDT_ERROR = -1 30 | Global Const $GDT_VALID = 0 31 | Global Const $GDT_NONE = 1 32 | Global Const $GDTR_MIN = 0x0001 33 | Global Const $GDTR_MAX = 0x0002 34 | 35 | ; MonthCal 36 | Global Const $MCHT_NOWHERE = 0x00000000 37 | Global Const $MCHT_TITLE = 0x00010000 38 | Global Const $MCHT_CALENDAR = 0x00020000 39 | Global Const $MCHT_TODAYLINK = 0x00030000 40 | Global Const $MCHT_NEXT = 0x01000000 41 | Global Const $MCHT_PREV = 0x02000000 42 | 43 | Global Const $MCHT_TITLEBK = 0x00010000 44 | Global Const $MCHT_TITLEMONTH = 0x00010001 45 | Global Const $MCHT_TITLEYEAR = 0x00010002 46 | Global Const $MCHT_TITLEBTNNEXT = 0x01010003 47 | Global Const $MCHT_TITLEBTNPREV = 0x02010003 48 | 49 | Global Const $MCHT_CALENDARBK = 0x00020000 50 | Global Const $MCHT_CALENDARDATE = 0x00020001 51 | Global Const $MCHT_CALENDARDAY = 0x00020002 52 | Global Const $MCHT_CALENDARWEEKNUM = 0x00020003 53 | Global Const $MCHT_CALENDARDATENEXT = 0x01020000 54 | Global Const $MCHT_CALENDARDATEPREV = 0x02020000 55 | 56 | ; Month Calendar Styles 57 | Global Const $MCS_DAYSTATE = 0x0001 ; The control sends $MCN_GETDAYSTATE notifications to request information 58 | Global Const $MCS_MULTISELECT = 0x0002 59 | Global Const $MCS_WEEKNUMBERS = 0x0004 60 | Global Const $MCS_NOTODAYCIRCLE = 0x0008 61 | Global Const $MCS_NOTODAY = 0x0010 62 | Global Const $MCS_NOTRAILINGDATES = 0x0040 63 | Global Const $MCS_SHORTDAYSOFWEEK = 0x0080 64 | Global Const $MCS_NOSELCHANGEONNAV = 0x0100 65 | 66 | ; Month Calendar Messages 67 | Global Const $MCM_FIRST = 0x1000 68 | Global Const $MCM_GETCALENDARBORDER = ($MCM_FIRST + 31) 69 | Global Const $MCM_GETCALENDARCOUNT = ($MCM_FIRST + 23) 70 | Global Const $MCM_GETCALENDARGRIDINFO = ($MCM_FIRST + 24) 71 | Global Const $MCM_GETCALID = ($MCM_FIRST + 27) 72 | Global Const $MCM_GETCOLOR = ($MCM_FIRST + 11) 73 | Global Const $MCM_GETCURRENTVIEW = ($MCM_FIRST + 22) 74 | Global Const $MCM_GETCURSEL = ($MCM_FIRST + 1) 75 | Global Const $MCM_GETFIRSTDAYOFWEEK = ($MCM_FIRST + 16) 76 | Global Const $MCM_GETMAXSELCOUNT = ($MCM_FIRST + 3) 77 | Global Const $MCM_GETMAXTODAYWIDTH = ($MCM_FIRST + 21) 78 | Global Const $MCM_GETMINREQRECT = ($MCM_FIRST + 9) 79 | Global Const $MCM_GETMONTHDELTA = ($MCM_FIRST + 19) 80 | Global Const $MCM_GETMONTHRANGE = ($MCM_FIRST + 7) 81 | Global Const $MCM_GETRANGE = ($MCM_FIRST + 17) 82 | Global Const $MCM_GETSELRANGE = ($MCM_FIRST + 5) 83 | Global Const $MCM_GETTODAY = ($MCM_FIRST + 13) 84 | Global Const $MCM_GETUNICODEFORMAT = 0x2000 + 6 85 | Global Const $MCM_HITTEST = ($MCM_FIRST + 14) 86 | Global Const $MCM_SETCALENDARBORDER = ($MCM_FIRST + 30) 87 | Global Const $MCM_SETCALID = ($MCM_FIRST + 28) 88 | Global Const $MCM_SETCOLOR = ($MCM_FIRST + 10) 89 | Global Const $MCM_SETCURRENTVIEW = ($MCM_FIRST + 32) 90 | Global Const $MCM_SETCURSEL = ($MCM_FIRST + 2) 91 | Global Const $MCM_SETDAYSTATE = ($MCM_FIRST + 8) 92 | Global Const $MCM_SETFIRSTDAYOFWEEK = ($MCM_FIRST + 15) 93 | Global Const $MCM_SETMAXSELCOUNT = ($MCM_FIRST + 4) 94 | Global Const $MCM_SETMONTHDELTA = ($MCM_FIRST + 20) 95 | Global Const $MCM_SETRANGE = ($MCM_FIRST + 18) 96 | Global Const $MCM_SETSELRANGE = ($MCM_FIRST + 6) 97 | Global Const $MCM_SETTODAY = ($MCM_FIRST + 12) 98 | Global Const $MCM_SETUNICODEFORMAT = 0x2000 + 5 99 | Global Const $MCM_SIZERECTTOMIN = ($MCM_FIRST + 29) 100 | 101 | ; Month Calendar Notifications 102 | Global Const $MCN_FIRST = -746 103 | Global Const $MCN_SELCHANGE = ($MCN_FIRST - 3) ; The currently selected date or range of dates changed 104 | Global Const $MCN_GETDAYSTATE = ($MCN_FIRST - 1) ; Request information about how individual days should be displayed 105 | Global Const $MCN_SELECT = ($MCN_FIRST) ; The user makes an explicit date selection 106 | Global Const $MCN_VIEWCHANGE = ($MCN_FIRST - 4) 107 | 108 | Global Const $MCSC_BACKGROUND = 0 109 | Global Const $MCSC_MONTHBK = 4 110 | Global Const $MCSC_TEXT = 1 111 | Global Const $MCSC_TITLEBK = 2 112 | Global Const $MCSC_TITLETEXT = 3 113 | Global Const $MCSC_TRAILINGTEXT = 5 114 | 115 | ; Date Time Picker Messages 116 | Global Const $DTM_FIRST = 0x1000 117 | Global Const $DTM_GETSYSTEMTIME = $DTM_FIRST + 1 118 | Global Const $DTM_SETSYSTEMTIME = $DTM_FIRST + 2 119 | Global Const $DTM_GETRANGE = $DTM_FIRST + 3 120 | Global Const $DTM_SETRANGE = $DTM_FIRST + 4 121 | Global Const $DTM_SETFORMAT = $DTM_FIRST + 5 122 | Global Const $DTM_SETMCCOLOR = $DTM_FIRST + 6 123 | Global Const $DTM_GETMCCOLOR = $DTM_FIRST + 7 124 | Global Const $DTM_GETMONTHCAL = $DTM_FIRST + 8 125 | Global Const $DTM_SETMCFONT = $DTM_FIRST + 9 126 | Global Const $DTM_GETMCFONT = $DTM_FIRST + 10 127 | Global Const $DTM_SETFORMATW = $DTM_FIRST + 50 ; [Unicode] 128 | 129 | ; Date Time Picker Notifications 130 | Global Const $DTN_FIRST = -740 131 | Global Const $DTN_FIRST2 = -753 132 | Global Const $DTN_DATETIMECHANGE = $DTN_FIRST2 - 6 ; Sent whenever a change occurs 133 | Global Const $DTN_USERSTRING = $DTN_FIRST2 - 5 ; Sent when a user finishes editing a string in the control 134 | Global Const $DTN_WMKEYDOWN = $DTN_FIRST2 - 4 ; Sent when the user types in a callback field 135 | Global Const $DTN_FORMAT = $DTN_FIRST2 - 3 ; Sent to request text to be displayed in a callback field 136 | Global Const $DTN_FORMATQUERY = $DTN_FIRST2 - 2 ; Sent to retrieve the size of the callback field string 137 | Global Const $DTN_DROPDOWN = $DTN_FIRST2 - 1 ; Sent when the user activates the drop-down month calendar 138 | Global Const $DTN_CLOSEUP = $DTN_FIRST2 - 0 ; Sent when the user closes the drop-down month calendar 139 | Global Const $DTN_USERSTRINGW = $DTN_FIRST - 5 ; [Unicode] Sent when a user finishes editing a string in the control 140 | Global Const $DTN_WMKEYDOWNW = $DTN_FIRST - 4 ; [Unicode] Sent when the user types in a callback field 141 | Global Const $DTN_FORMATW = $DTN_FIRST - 3 ; [Unicode] Sent to request text to be displayed in a callback field 142 | Global Const $DTN_FORMATQUERYW = $DTN_FIRST - 2 ; [Unicode] Sent to retrieve the size of the callback field string 143 | 144 | ; Control default styles 145 | Global Const $GUI_SS_DEFAULT_DATE = $DTS_LONGDATEFORMAT 146 | Global Const $GUI_SS_DEFAULT_MONTHCAL = 0 147 | ; =============================================================================================================================== 148 | -------------------------------------------------------------------------------- /Assets/Include/ComboConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: ComboBox_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for GUI control Combo styles and more. 8 | ; Author(s) .....: Valik, Gary Frost 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | ; Error checking 13 | Global Const $CB_ERR = -1 14 | Global Const $CB_ERRATTRIBUTE = -3 15 | Global Const $CB_ERRREQUIRED = -4 16 | Global Const $CB_ERRSPACE = -2 17 | Global Const $CB_OKAY = 0 18 | 19 | ; States 20 | Global Const $STATE_SYSTEM_INVISIBLE = 0x8000 21 | Global Const $STATE_SYSTEM_PRESSED = 0x8 22 | 23 | ; ComboBox Styles 24 | Global Const $CBS_AUTOHSCROLL = 0x40 ; Automatically scrolls the text in an edit control to the right when the user types a character at the end of the line. 25 | Global Const $CBS_DISABLENOSCROLL = 0x800 ; Shows a disabled vertical scroll bar 26 | Global Const $CBS_DROPDOWN = 0x2 ; Similar to $CBS_SIMPLE, except that the list box is not displayed unless the user selects an icon next to the edit control 27 | Global Const $CBS_DROPDOWNLIST = 0x3 ; Similar to $CBS_DROPDOWN, except that the edit control is replaced by a static text item that displays the current selection in the list box 28 | Global Const $CBS_HASSTRINGS = 0x200 ; Specifies that an owner-drawn combo box contains items consisting of strings 29 | Global Const $CBS_LOWERCASE = 0x4000 ; Converts to lowercase all text in both the selection field and the list 30 | Global Const $CBS_NOINTEGRALHEIGHT = 0x400 ; Specifies that the size of the combo box is exactly the size specified by the application when it created the combo box 31 | Global Const $CBS_OEMCONVERT = 0x80 ; Converts text entered in the combo box edit control from the Windows character set to the OEM character set and then back to the Windows character set 32 | Global Const $CBS_OWNERDRAWFIXED = 0x10 ; Specifies that the owner of the list box is responsible for drawing its contents and that the items in the list box are all the same height 33 | Global Const $CBS_OWNERDRAWVARIABLE = 0x20 ; Specifies that the owner of the list box is responsible for drawing its contents and that the items in the list box are variable in height 34 | Global Const $CBS_SIMPLE = 0x1 ; Displays the list box at all times 35 | Global Const $CBS_SORT = 0x100 ; Automatically sorts strings added to the list box 36 | Global Const $CBS_UPPERCASE = 0x2000 ; Converts to uppercase all text in both the selection field and the list 37 | 38 | ; ComboBox Messages 39 | Global Const $CBM_FIRST = 0x1700 40 | Global Const $CB_ADDSTRING = 0x143 41 | Global Const $CB_DELETESTRING = 0x144 42 | Global Const $CB_DIR = 0x145 43 | Global Const $CB_FINDSTRING = 0x14C 44 | Global Const $CB_FINDSTRINGEXACT = 0x158 45 | Global Const $CB_GETCOMBOBOXINFO = 0x164 46 | Global Const $CB_GETCOUNT = 0x146 47 | Global Const $CB_GETCUEBANNER = ($CBM_FIRST + 4) 48 | Global Const $CB_GETCURSEL = 0x147 49 | Global Const $CB_GETDROPPEDCONTROLRECT = 0x152 50 | Global Const $CB_GETDROPPEDSTATE = 0x157 51 | Global Const $CB_GETDROPPEDWIDTH = 0X15f 52 | Global Const $CB_GETEDITSEL = 0x140 53 | Global Const $CB_GETEXTENDEDUI = 0x156 54 | Global Const $CB_GETHORIZONTALEXTENT = 0x15d 55 | Global Const $CB_GETITEMDATA = 0x150 56 | Global Const $CB_GETITEMHEIGHT = 0x154 57 | Global Const $CB_GETLBTEXT = 0x148 58 | Global Const $CB_GETLBTEXTLEN = 0x149 59 | Global Const $CB_GETLOCALE = 0x15A 60 | Global Const $CB_GETMINVISIBLE = 0x1702 61 | Global Const $CB_GETTOPINDEX = 0x15b 62 | Global Const $CB_INITSTORAGE = 0x161 63 | Global Const $CB_LIMITTEXT = 0x141 64 | Global Const $CB_RESETCONTENT = 0x14B 65 | Global Const $CB_INSERTSTRING = 0x14A 66 | Global Const $CB_SELECTSTRING = 0x14D 67 | Global Const $CB_SETCUEBANNER = ($CBM_FIRST + 3) 68 | Global Const $CB_SETCURSEL = 0x14E 69 | Global Const $CB_SETDROPPEDWIDTH = 0x160 70 | Global Const $CB_SETEDITSEL = 0x142 71 | Global Const $CB_SETEXTENDEDUI = 0x155 72 | Global Const $CB_SETHORIZONTALEXTENT = 0x15e 73 | Global Const $CB_SETITEMDATA = 0x151 74 | Global Const $CB_SETITEMHEIGHT = 0x153 75 | Global Const $CB_SETLOCALE = 0x159 76 | Global Const $CB_SETMINVISIBLE = 0x1701 77 | Global Const $CB_SETTOPINDEX = 0x15c 78 | Global Const $CB_SHOWDROPDOWN = 0x14F 79 | 80 | ; ComboBox Notifications 81 | Global Const $CBN_CLOSEUP = 8 82 | Global Const $CBN_DBLCLK = 2 83 | Global Const $CBN_DROPDOWN = 7 84 | Global Const $CBN_EDITCHANGE = 5 85 | Global Const $CBN_EDITUPDATE = 6 86 | Global Const $CBN_ERRSPACE = (-1) 87 | Global Const $CBN_KILLFOCUS = 4 88 | Global Const $CBN_SELCHANGE = 1 89 | Global Const $CBN_SELENDCANCEL = 10 90 | Global Const $CBN_SELENDOK = 9 91 | Global Const $CBN_SETFOCUS = 3 92 | 93 | ; ComboBoxEx Styles 94 | ; ComboBox styles supported: $CBS_DROPDOWN, $CBS_DROPDOWNLIST, $CBS_SIMPLE 95 | Global Const $CBES_EX_CASESENSITIVE = 0x10 ; Searches in the list will be case sensitive 96 | Global Const $CBES_EX_NOEDITIMAGE = 0x1 ; The edit box and the dropdown list will not display item images 97 | Global Const $CBES_EX_NOEDITIMAGEINDENT = 0x2 ; The edit box and the dropdown list will not display item images 98 | Global Const $CBES_EX_NOSIZELIMIT = 0x8 ; Allows the ComboBoxEx control to be vertically sized smaller than its contained combo box control 99 | 100 | ; ComboBoxEx Messages 101 | Global Const $__COMBOBOXCONSTANT_WM_USER = 0X400 102 | Global Const $CBEM_DELETEITEM = $CB_DELETESTRING 103 | Global Const $CBEM_GETCOMBOCONTROL = ($__COMBOBOXCONSTANT_WM_USER + 6) 104 | Global Const $CBEM_GETEDITCONTROL = ($__COMBOBOXCONSTANT_WM_USER + 7) 105 | Global Const $CBEM_GETEXSTYLE = ($__COMBOBOXCONSTANT_WM_USER + 9) 106 | Global Const $CBEM_GETEXTENDEDSTYLE = ($__COMBOBOXCONSTANT_WM_USER + 9) 107 | Global Const $CBEM_GETIMAGELIST = ($__COMBOBOXCONSTANT_WM_USER + 3) 108 | Global Const $CBEM_GETITEMA = ($__COMBOBOXCONSTANT_WM_USER + 4) 109 | Global Const $CBEM_GETITEMW = ($__COMBOBOXCONSTANT_WM_USER + 13) 110 | Global Const $CBEM_GETUNICODEFORMAT = 0x2000 + 6 111 | Global Const $CBEM_HASEDITCHANGED = ($__COMBOBOXCONSTANT_WM_USER + 10) 112 | Global Const $CBEM_INSERTITEMA = ($__COMBOBOXCONSTANT_WM_USER + 1) 113 | Global Const $CBEM_INSERTITEMW = ($__COMBOBOXCONSTANT_WM_USER + 11) 114 | Global Const $CBEM_SETEXSTYLE = ($__COMBOBOXCONSTANT_WM_USER + 8) 115 | Global Const $CBEM_SETEXTENDEDSTYLE = ($__COMBOBOXCONSTANT_WM_USER + 14) 116 | Global Const $CBEM_SETIMAGELIST = ($__COMBOBOXCONSTANT_WM_USER + 2) 117 | Global Const $CBEM_SETITEMA = ($__COMBOBOXCONSTANT_WM_USER + 5) 118 | Global Const $CBEM_SETITEMW = ($__COMBOBOXCONSTANT_WM_USER + 12) 119 | Global Const $CBEM_SETUNICODEFORMAT = 0x2000 + 5 120 | Global Const $CBEM_SETWINDOWTHEME = 0x2000 + 11 121 | 122 | ; ComboBoxEx Notifications 123 | Global Const $CBEN_FIRST = (-800) 124 | Global Const $CBEN_LAST = (-830) 125 | Global Const $CBEN_BEGINEDIT = ($CBEN_FIRST - 4) 126 | Global Const $CBEN_DELETEITEM = ($CBEN_FIRST - 2) 127 | Global Const $CBEN_DRAGBEGINA = ($CBEN_FIRST - 8) 128 | Global Const $CBEN_DRAGBEGINW = ($CBEN_FIRST - 9) 129 | Global Const $CBEN_ENDEDITA = ($CBEN_FIRST - 5) 130 | Global Const $CBEN_ENDEDITW = ($CBEN_FIRST - 6) 131 | Global Const $CBEN_GETDISPINFO = ($CBEN_FIRST - 0) 132 | Global Const $CBEN_GETDISPINFOA = ($CBEN_FIRST - 0) 133 | Global Const $CBEN_GETDISPINFOW = ($CBEN_FIRST - 7) 134 | Global Const $CBEN_INSERTITEM = ($CBEN_FIRST - 1) 135 | 136 | ; attributes for Extended ComboBox 137 | Global Const $CBEIF_DI_SETITEM = 0x10000000 138 | Global Const $CBEIF_IMAGE = 0x2 139 | Global Const $CBEIF_INDENT = 0x10 140 | Global Const $CBEIF_LPARAM = 0x20 141 | Global Const $CBEIF_OVERLAY = 0x8 142 | Global Const $CBEIF_SELECTEDIMAGE = 0x4 143 | Global Const $CBEIF_TEXT = 0x1 144 | 145 | ; Control default styles 146 | Global Const $GUI_SS_DEFAULT_COMBO = 0x00200042 ; BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL, $WS_VSCROLL) 147 | ; =============================================================================================================================== 148 | -------------------------------------------------------------------------------- /Assets/Include/SecurityConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: Security_Constants 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants for Security functions. 8 | ; Author(s) .....: Paul Campbell (PaulIA), trancexx 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | Global Const $SE_ASSIGNPRIMARYTOKEN_NAME = "SeAssignPrimaryTokenPrivilege" 13 | Global Const $SE_AUDIT_NAME = "SeAuditPrivilege" 14 | Global Const $SE_BACKUP_NAME = "SeBackupPrivilege" 15 | Global Const $SE_CHANGE_NOTIFY_NAME = "SeChangeNotifyPrivilege" 16 | Global Const $SE_CREATE_GLOBAL_NAME = "SeCreateGlobalPrivilege" 17 | Global Const $SE_CREATE_PAGEFILE_NAME = "SeCreatePagefilePrivilege" 18 | Global Const $SE_CREATE_PERMANENT_NAME = "SeCreatePermanentPrivilege" 19 | Global Const $SE_CREATE_SYMBOLIC_LINK_NAME = 'SeCreateSymbolicLinkPrivilege' 20 | Global Const $SE_CREATE_TOKEN_NAME = "SeCreateTokenPrivilege" 21 | Global Const $SE_DEBUG_NAME = "SeDebugPrivilege" 22 | Global Const $SE_ENABLE_DELEGATION_NAME = "SeEnableDelegationPrivilege" 23 | Global Const $SE_IMPERSONATE_NAME = "SeImpersonatePrivilege" 24 | Global Const $SE_INC_BASE_PRIORITY_NAME = "SeIncreaseBasePriorityPrivilege" 25 | Global Const $SE_INC_WORKING_SET_NAME = 'SeIncreaseWorkingSetPrivilege' 26 | Global Const $SE_INCREASE_QUOTA_NAME = "SeIncreaseQuotaPrivilege" 27 | Global Const $SE_LOAD_DRIVER_NAME = "SeLoadDriverPrivilege" 28 | Global Const $SE_LOCK_MEMORY_NAME = "SeLockMemoryPrivilege" 29 | Global Const $SE_MACHINE_ACCOUNT_NAME = "SeMachineAccountPrivilege" 30 | Global Const $SE_MANAGE_VOLUME_NAME = "SeManageVolumePrivilege" 31 | Global Const $SE_PROF_SINGLE_PROCESS_NAME = "SeProfileSingleProcessPrivilege" 32 | Global Const $SE_RELABEL_NAME = 'SeRelabelPrivilege' 33 | Global Const $SE_REMOTE_SHUTDOWN_NAME = "SeRemoteShutdownPrivilege" 34 | Global Const $SE_RESTORE_NAME = "SeRestorePrivilege" 35 | Global Const $SE_SECURITY_NAME = "SeSecurityPrivilege" 36 | Global Const $SE_SHUTDOWN_NAME = "SeShutdownPrivilege" 37 | Global Const $SE_SYNC_AGENT_NAME = "SeSyncAgentPrivilege" 38 | Global Const $SE_SYSTEM_ENVIRONMENT_NAME = "SeSystemEnvironmentPrivilege" 39 | Global Const $SE_SYSTEM_PROFILE_NAME = "SeSystemProfilePrivilege" 40 | Global Const $SE_SYSTEMTIME_NAME = "SeSystemtimePrivilege" 41 | Global Const $SE_TAKE_OWNERSHIP_NAME = "SeTakeOwnershipPrivilege" 42 | Global Const $SE_TCB_NAME = "SeTcbPrivilege" 43 | Global Const $SE_TIME_ZONE_NAME = 'SeTimeZonePrivilege' 44 | Global Const $SE_TRUSTED_CREDMAN_ACCESS_NAME = 'SeTrustedCredManAccessPrivilege' 45 | Global Const $SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege" 46 | Global Const $SE_UNDOCK_NAME = "SeUndockPrivilege" 47 | 48 | Global Const $SE_PRIVILEGE_ENABLED_BY_DEFAULT = 0x00000001 49 | Global Const $SE_PRIVILEGE_ENABLED = 0x00000002 50 | Global Const $SE_PRIVILEGE_REMOVED = 0x00000004 51 | Global Const $SE_PRIVILEGE_USED_FOR_ACCESS = 0x80000000 52 | 53 | Global Const $SE_GROUP_MANDATORY = 0x00000001 54 | Global Const $SE_GROUP_ENABLED_BY_DEFAULT = 0x00000002 55 | Global Const $SE_GROUP_ENABLED = 0x00000004 56 | Global Const $SE_GROUP_OWNER = 0x00000008 57 | Global Const $SE_GROUP_USE_FOR_DENY_ONLY = 0x00000010 58 | Global Const $SE_GROUP_INTEGRITY = 0x00000020 59 | Global Const $SE_GROUP_INTEGRITY_ENABLED = 0x00000040 60 | Global Const $SE_GROUP_RESOURCE = 0x20000000 61 | Global Const $SE_GROUP_LOGON_ID = 0xC0000000 62 | 63 | Global Enum $TOKENPRIMARY = 1, $TOKENIMPERSONATION 64 | Global Enum $SECURITYANONYMOUS = 0, $SECURITYIDENTIFICATION, $SECURITYIMPERSONATION, $SECURITYDELEGATION 65 | Global Enum $TOKENUSER = 1, $TOKENGROUPS, $TOKENPRIVILEGES, $TOKENOWNER, $TOKENPRIMARYGROUP, $TOKENDEFAULTDACL, $TOKENSOURCE, $TOKENTYPE, $TOKENIMPERSONATIONLEVEL, $TOKENSTATISTICS, $TOKENRESTRICTEDSIDS, $TOKENSESSIONID, $TOKENGROUPSANDPRIVILEGES, $TOKENSESSIONREFERENCE, $TOKENSANDBOXINERT, $TOKENAUDITPOLICY, $TOKENORIGIN, $TOKENELEVATIONTYPE, $TOKENLINKEDTOKEN, $TOKENELEVATION, $TOKENHASRESTRICTIONS, $TOKENACCESSINFORMATION, $TOKENVIRTUALIZATIONALLOWED, $TOKENVIRTUALIZATIONENABLED, $TOKENINTEGRITYLEVEL, $TOKENUIACCESS, $TOKENMANDATORYPOLICY, $TOKENLOGONSID 66 | 67 | Global Const $TOKEN_ASSIGN_PRIMARY = 0x00000001 68 | Global Const $TOKEN_DUPLICATE = 0x00000002 69 | Global Const $TOKEN_IMPERSONATE = 0x00000004 70 | Global Const $TOKEN_QUERY = 0x00000008 71 | Global Const $TOKEN_QUERY_SOURCE = 0x00000010 72 | Global Const $TOKEN_ADJUST_PRIVILEGES = 0x00000020 73 | Global Const $TOKEN_ADJUST_GROUPS = 0x00000040 74 | Global Const $TOKEN_ADJUST_DEFAULT = 0x00000080 75 | Global Const $TOKEN_ADJUST_SESSIONID = 0x00000100 76 | Global Const $TOKEN_ALL_ACCESS = 0x000F01FF 77 | 78 | Global Const $TOKEN_READ = 0x00020008 79 | Global Const $TOKEN_WRITE = 0x000200E0 80 | Global Const $TOKEN_EXECUTE = 0x00020000 81 | 82 | Global Const $TOKEN_HAS_TRAVERSE_PRIVILEGE = 0x00000001 83 | Global Const $TOKEN_HAS_BACKUP_PRIVILEGE = 0x00000002 84 | Global Const $TOKEN_HAS_RESTORE_PRIVILEGE = 0x00000004 85 | Global Const $TOKEN_HAS_ADMIN_GROUP = 0x00000008 86 | Global Const $TOKEN_IS_RESTRICTED = 0x00000010 87 | Global Const $TOKEN_SESSION_NOT_REFERENCED = 0x00000020 88 | Global Const $TOKEN_SANDBOX_INERT = 0x00000040 89 | Global Const $TOKEN_HAS_IMPERSONATE_PRIVILEGE = 0x00000080 90 | 91 | Global Const $RIGHTS_DELETE = 0x00010000 92 | Global Const $READ_CONTROL = 0x00020000 93 | Global Const $WRITE_DAC = 0x00040000 94 | Global Const $WRITE_OWNER = 0x00080000 95 | Global Const $SYNCHRONIZE = 0x00100000 96 | Global Const $ACCESS_SYSTEM_SECURITY = 0x01000000 97 | Global Const $STANDARD_RIGHTS_REQUIRED = 0x000f0000 98 | Global Const $STANDARD_RIGHTS_READ = $READ_CONTROL 99 | Global Const $STANDARD_RIGHTS_WRITE = $READ_CONTROL 100 | Global Const $STANDARD_RIGHTS_EXECUTE = $READ_CONTROL 101 | Global Const $STANDARD_RIGHTS_ALL = 0x001F0000 102 | Global Const $SPECIFIC_RIGHTS_ALL = 0x0000FFFF 103 | 104 | Global Enum $NOT_USED_ACCESS = 0, $GRANT_ACCESS, $SET_ACCESS, $DENY_ACCESS, $REVOKE_ACCESS, $SET_AUDIT_SUCCESS, $SET_AUDIT_FAILURE 105 | Global Enum $TRUSTEE_IS_UNKNOWN = 0, $TRUSTEE_IS_USER, $TRUSTEE_IS_GROUP, $TRUSTEE_IS_DOMAIN, $TRUSTEE_IS_ALIAS, $TRUSTEE_IS_WELL_KNOWN_GROUP, $TRUSTEE_IS_DELETED, $TRUSTEE_IS_INVALID, $TRUSTEE_IS_COMPUTER 106 | 107 | Global Const $LOGON_WITH_PROFILE = 0x00000001 108 | Global Const $LOGON_NETCREDENTIALS_ONLY = 0x00000002 109 | 110 | Global Enum $SIDTYPEUSER = 1, $SIDTYPEGROUP, $SIDTYPEDOMAIN, $SIDTYPEALIAS, $SIDTYPEWELLKNOWNGROUP, $SIDTYPEDELETEDACCOUNT, $SIDTYPEINVALID, $SIDTYPEUNKNOWN, $SIDTYPECOMPUTER, $SIDTYPELABEL 111 | 112 | Global Const $SID_ADMINISTRATORS = "S-1-5-32-544" 113 | Global Const $SID_USERS = "S-1-5-32-545" 114 | Global Const $SID_GUESTS = "S-1-5-32-546" 115 | Global Const $SID_ACCOUNT_OPERATORS = "S-1-5-32-548" 116 | Global Const $SID_SERVER_OPERATORS = "S-1-5-32-549" 117 | Global Const $SID_PRINT_OPERATORS = "S-1-5-32-550" 118 | Global Const $SID_BACKUP_OPERATORS = "S-1-5-32-551" 119 | Global Const $SID_REPLICATOR = "S-1-5-32-552" 120 | 121 | Global Const $SID_OWNER = "S-1-3-0" 122 | Global Const $SID_EVERYONE = "S-1-1-0" 123 | Global Const $SID_NETWORK = "S-1-5-2" 124 | Global Const $SID_INTERACTIVE = "S-1-5-4" 125 | Global Const $SID_SYSTEM = "S-1-5-18" 126 | Global Const $SID_AUTHENTICATED_USERS = "S-1-5-11" 127 | 128 | Global Const $SID_SCHANNEL_AUTHENTICATION = "S-1-5-64-14" 129 | Global Const $SID_DIGEST_AUTHENTICATION = "S-1-5-64-21" 130 | Global Const $SID_NT_SERVICE = "S-1-5-80" 131 | Global Const $SID_UNTRUSTED_MANDATORY_LEVEL = "S-1-16-0" 132 | 133 | Global Const $SID_LOW_MANDATORY_LEVEL = "S-1-16-4096" 134 | Global Const $SID_MEDIUM_MANDATORY_LEVEL = "S-1-16-8192" 135 | Global Const $SID_MEDIUM_PLUS_MANDATORY_LEVEL = "S-1-16-8448" 136 | Global Const $SID_HIGH_MANDATORY_LEVEL = "S-1-16-12288" 137 | Global Const $SID_SYSTEM_MANDATORY_LEVEL = "S-1-16-16384" 138 | Global Const $SID_PROTECTED_PROCESS_MANDATORY_LEVEL = "S-1-16-20480" 139 | Global Const $SID_SECURE_PROCESS_MANDATORY_LEVEL = "S-1-16-28672" 140 | Global Const $SID_ALL_SERVICES = "S-1-5-80-0" 141 | ; =============================================================================================================================== 142 | -------------------------------------------------------------------------------- /Assets/Include/APILocaleConstants.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | ; #INDEX# ======================================================================================================================= 4 | ; Title .........: WinAPILocale Constants UDF Library for AutoIt3 5 | ; AutoIt Version : 3.3.14.2 6 | ; Language ......: English 7 | ; Description ...: Constants that can be used with UDF library 8 | ; Author(s) .....: Yashied, Jpm 9 | ; =============================================================================================================================== 10 | 11 | ; #CONSTANTS# =================================================================================================================== 12 | 13 | ; _WinAPI_CompareString() 14 | Global Const $LINGUISTIC_IGNORECASE = 0x00000010 15 | Global Const $LINGUISTIC_IGNOREDIACRITIC = 0x00000020 16 | 17 | Global Const $NORM_IGNORECASE = 0x00000001 18 | Global Const $NORM_IGNOREKANATYPE = 0x00010000 19 | Global Const $NORM_IGNORENONSPACE = 0x00000002 20 | Global Const $NORM_IGNORESYMBOLS = 0x00000004 21 | Global Const $NORM_IGNOREWIDTH = 0x00020000 22 | Global Const $NORM_LINGUISTIC_CASING = 0x08000000 23 | 24 | Global Const $SORT_DIGITSASNUMBERS = 0x00000008 25 | Global Const $SORT_STRINGSORT = 0x00001000 26 | 27 | Global Const $CSTR_LESS_THAN = 1 28 | Global Const $CSTR_EQUAL = 2 29 | Global Const $CSTR_GREATER_THAN = 3 30 | 31 | ; _WinAPI_EnumUILanguages() 32 | Global Const $MUI_LANGUAGE_ID = 0x0004 33 | Global Const $MUI_LANGUAGE_NAME = 0x0008 34 | 35 | ; _WinAPI_GetDateFormat() 36 | Global Const $DATE_AUTOLAYOUT = 0x40 37 | Global Const $DATE_LONGDATE = 0x02 38 | Global Const $DATE_LTRREADING = 0x10 39 | Global Const $DATE_SHORTDATE = 0x01 40 | Global Const $DATE_RTLREADING = 0x20 41 | Global Const $DATE_USE_ALT_CALENDAR = 0x04 42 | Global Const $DATE_YEARMONTH = 0x08 43 | 44 | ; _WinAPI_GetGeoInfo() 45 | Global Const $GEO_NATION = 1 46 | Global Const $GEO_LATITUDE = 2 47 | Global Const $GEO_LONGITUDE = 3 48 | Global Const $GEO_ISO2 = 4 49 | Global Const $GEO_ISO3 = 5 50 | Global Const $GEO_RFC1766 = 6 51 | Global Const $GEO_LCID = 7 52 | Global Const $GEO_FRIENDLYNAME = 8 53 | Global Const $GEO_OFFICIALNAME = 9 54 | Global Const $GEO_TIMEZONES = 10 55 | Global Const $GEO_OFFICIALLANGUAGES = 11 56 | Global Const $GEO_ISO_UN_NUMBER = 12 57 | Global Const $GEO_PARENT = 13 58 | 59 | ; _WinAPI_GetLocaleInfo(), _WinAPI_SetLocaleInfo() 60 | Global Const $LOCALE_ILANGUAGE = 0x0001 61 | Global Const $LOCALE_SLANGUAGE = 0x0002 62 | Global Const $LOCALE_SENGLANGUAGE = 0x1001 63 | Global Const $LOCALE_SABBREVLANGNAME = 0x0003 64 | Global Const $LOCALE_SNATIVELANGNAME = 0x0004 65 | 66 | Global Const $LOCALE_ICOUNTRY = 0x0005 67 | Global Const $LOCALE_SCOUNTRY = 0x0006 68 | Global Const $LOCALE_SENGCOUNTRY = 0x1002 69 | Global Const $LOCALE_SABBREVCTRYNAME = 0x0007 70 | Global Const $LOCALE_SNATIVECTRYNAME = 0x0008 71 | 72 | Global Const $LOCALE_IDEFAULTLANGUAGE = 0x0009 73 | Global Const $LOCALE_IDEFAULTCOUNTRY = 0x000A 74 | Global Const $LOCALE_IDEFAULTCODEPAGE = 0x000B 75 | Global Const $LOCALE_IDEFAULTANSICODEPAGE = 0x1004 76 | Global Const $LOCALE_IDEFAULTMACCODEPAGE = 0x1011 77 | 78 | Global Const $LOCALE_SLIST = 0x000C 79 | Global Const $LOCALE_IMEASURE = 0x000D 80 | 81 | Global Const $LOCALE_SDECIMAL = 0x000E 82 | Global Const $LOCALE_STHOUSAND = 0x000F 83 | Global Const $LOCALE_SGROUPING = 0x0010 84 | Global Const $LOCALE_IDIGITS = 0x0011 85 | Global Const $LOCALE_ILZERO = 0x0012 86 | Global Const $LOCALE_INEGNUMBER = 0x1010 87 | Global Const $LOCALE_SNATIVEDIGITS = 0x0013 88 | 89 | Global Const $LOCALE_SCURRENCY = 0x0014 90 | Global Const $LOCALE_SINTLSYMBOL = 0x0015 91 | Global Const $LOCALE_SMONDECIMALSEP = 0x0016 92 | Global Const $LOCALE_SMONTHOUSANDSEP = 0x0017 93 | Global Const $LOCALE_SMONGROUPING = 0x0018 94 | Global Const $LOCALE_ICURRDIGITS = 0x0019 95 | Global Const $LOCALE_IINTLCURRDIGITS = 0x001A 96 | Global Const $LOCALE_ICURRENCY = 0x001B 97 | Global Const $LOCALE_INEGCURR = 0x001C 98 | 99 | Global Const $LOCALE_SDATE = 0x001D 100 | Global Const $LOCALE_STIME = 0x001E 101 | Global Const $LOCALE_SSHORTDATE = 0x001F 102 | Global Const $LOCALE_SLONGDATE = 0x0020 103 | Global Const $LOCALE_STIMEFORMAT = 0x1003 104 | Global Const $LOCALE_IDATE = 0x0021 105 | Global Const $LOCALE_ILDATE = 0x0022 106 | Global Const $LOCALE_ITIME = 0x0023 107 | Global Const $LOCALE_ITIMEMARKPOSN = 0x1005 108 | Global Const $LOCALE_ICENTURY = 0x0024 109 | Global Const $LOCALE_ITLZERO = 0x0025 110 | Global Const $LOCALE_IDAYLZERO = 0x0026 111 | Global Const $LOCALE_IMONLZERO = 0x0027 112 | Global Const $LOCALE_S1159 = 0x0028 113 | Global Const $LOCALE_S2359 = 0x0029 114 | 115 | Global Const $LOCALE_ICALENDARTYPE = 0x1009 116 | Global Const $LOCALE_IOPTIONALCALENDAR = 0x100B 117 | Global Const $LOCALE_IFIRSTDAYOFWEEK = 0x100C 118 | Global Const $LOCALE_IFIRSTWEEKOFYEAR = 0x100D 119 | 120 | Global Const $LOCALE_SDAYNAME1 = 0x002A 121 | Global Const $LOCALE_SDAYNAME2 = 0x002B 122 | Global Const $LOCALE_SDAYNAME3 = 0x002C 123 | Global Const $LOCALE_SDAYNAME4 = 0x002D 124 | Global Const $LOCALE_SDAYNAME5 = 0x002E 125 | Global Const $LOCALE_SDAYNAME6 = 0x002F 126 | Global Const $LOCALE_SDAYNAME7 = 0x0030 127 | Global Const $LOCALE_SABBREVDAYNAME1 = 0x0031 128 | Global Const $LOCALE_SABBREVDAYNAME2 = 0x0032 129 | Global Const $LOCALE_SABBREVDAYNAME3 = 0x0033 130 | Global Const $LOCALE_SABBREVDAYNAME4 = 0x0034 131 | Global Const $LOCALE_SABBREVDAYNAME5 = 0x0035 132 | Global Const $LOCALE_SABBREVDAYNAME6 = 0x0036 133 | Global Const $LOCALE_SABBREVDAYNAME7 = 0x0037 134 | Global Const $LOCALE_SMONTHNAME1 = 0x0038 135 | Global Const $LOCALE_SMONTHNAME2 = 0x0039 136 | Global Const $LOCALE_SMONTHNAME3 = 0x003A 137 | Global Const $LOCALE_SMONTHNAME4 = 0x003B 138 | Global Const $LOCALE_SMONTHNAME5 = 0x003C 139 | Global Const $LOCALE_SMONTHNAME6 = 0x003D 140 | Global Const $LOCALE_SMONTHNAME7 = 0x003E 141 | Global Const $LOCALE_SMONTHNAME8 = 0x003F 142 | Global Const $LOCALE_SMONTHNAME9 = 0x0040 143 | Global Const $LOCALE_SMONTHNAME10 = 0x0041 144 | Global Const $LOCALE_SMONTHNAME11 = 0x0042 145 | Global Const $LOCALE_SMONTHNAME12 = 0x0043 146 | Global Const $LOCALE_SMONTHNAME13 = 0x100E 147 | Global Const $LOCALE_SABBREVMONTHNAME1 = 0x0044 148 | Global Const $LOCALE_SABBREVMONTHNAME2 = 0x0045 149 | Global Const $LOCALE_SABBREVMONTHNAME3 = 0x0046 150 | Global Const $LOCALE_SABBREVMONTHNAME4 = 0x0047 151 | Global Const $LOCALE_SABBREVMONTHNAME5 = 0x0048 152 | Global Const $LOCALE_SABBREVMONTHNAME6 = 0x0049 153 | Global Const $LOCALE_SABBREVMONTHNAME7 = 0x004A 154 | Global Const $LOCALE_SABBREVMONTHNAME8 = 0x004B 155 | Global Const $LOCALE_SABBREVMONTHNAME9 = 0x004C 156 | Global Const $LOCALE_SABBREVMONTHNAME10 = 0x004D 157 | Global Const $LOCALE_SABBREVMONTHNAME11 = 0x004E 158 | Global Const $LOCALE_SABBREVMONTHNAME12 = 0x004F 159 | Global Const $LOCALE_SABBREVMONTHNAME13 = 0x100F 160 | 161 | Global Const $LOCALE_SPOSITIVESIGN = 0x0050 162 | Global Const $LOCALE_SNEGATIVESIGN = 0x0051 163 | Global Const $LOCALE_IPOSSIGNPOSN = 0x0052 164 | Global Const $LOCALE_INEGSIGNPOSN = 0x0053 165 | Global Const $LOCALE_IPOSSYMPRECEDES = 0x0054 166 | Global Const $LOCALE_IPOSSEPBYSPACE = 0x0055 167 | Global Const $LOCALE_INEGSYMPRECEDES = 0x0056 168 | Global Const $LOCALE_INEGSEPBYSPACE = 0x0057 169 | 170 | Global Const $LOCALE_FONTSIGNATURE = 0x0058 171 | Global Const $LOCALE_SISO639LANGNAME = 0x0059 172 | Global Const $LOCALE_SISO3166CTRYNAME = 0x005A 173 | 174 | Global Const $LOCALE_IDEFAULTEBCDICCODEPAGE = 0x1012 175 | Global Const $LOCALE_IPAPERSIZE = 0x100A 176 | Global Const $LOCALE_SENGCURRNAME = 0x1007 177 | Global Const $LOCALE_SNATIVECURRNAME = 0x1008 178 | Global Const $LOCALE_SYEARMONTH = 0x1006 179 | Global Const $LOCALE_SSORTNAME = 0x1013 180 | Global Const $LOCALE_IDIGITSUBSTITUTION = 0x1014 181 | 182 | Global Const $LOCALE_CUSTOM_DEFAULT = 0x0C00 183 | Global Const $LOCALE_CUSTOM_UI_DEFAULT = 0x1400 184 | Global Const $LOCALE_CUSTOM_UNSPECIFIED = 0x1000 185 | 186 | Global Const $LOCALE_INVARIANT = 0x007F 187 | Global Const $LOCALE_SYSTEM_DEFAULT = 0x0800 188 | Global Const $LOCALE_USER_DEFAULT = 0x0400 189 | 190 | ; _WinAPI_GetTimeFormat() 191 | Global Const $TIME_FORCE24HOURFORMAT = 0x08 192 | Global Const $TIME_NOMINUTESORSECONDS = 0x01 193 | Global Const $TIME_NOSECONDS = 0x02 194 | Global Const $TIME_NOTIMEMARKER = 0x04 195 | 196 | ; _WinAPI_IsValidLocale() 197 | Global Const $LCID_INSTALLED = 1 198 | Global Const $LCID_SUPPORTED = 2 199 | ; =============================================================================================================================== 200 | -------------------------------------------------------------------------------- /Assets/Include/String.au3: -------------------------------------------------------------------------------- 1 | #include-once 2 | 3 | #include "StringConstants.au3" 4 | 5 | ; #INDEX# ======================================================================================================================= 6 | ; Title .........: String 7 | ; AutoIt Version : 3.3.14.2 8 | ; Description ...: Functions that assist with String management. 9 | ; Author(s) .....: Jarvis Stubblefield, SmOke_N, Valik, Wes Wolfe-Wolvereness, WeaponX, Louis Horvath, JdeB, Jeremy Landes, Jon, jchd, BrewManNH, guinness 10 | ; =============================================================================================================================== 11 | 12 | ; #CURRENT# ===================================================================================================================== 13 | ; _HexToString 14 | ; _StringBetween 15 | ; _StringExplode 16 | ; _StringInsert 17 | ; _StringProper 18 | ; _StringRepeat 19 | ; _StringTitleCase 20 | ; _StringToHex 21 | ; =============================================================================================================================== 22 | 23 | ; #FUNCTION# ==================================================================================================================== 24 | ; Author ........: Jarvis Stubblefield 25 | ; Modified.......: SmOke_N - (Re-write using BinaryToString for speed) 26 | ; =============================================================================================================================== 27 | Func _HexToString($sHex) 28 | If Not (StringLeft($sHex, 2) == "0x") Then $sHex = "0x" & $sHex 29 | Return BinaryToString($sHex, $SB_UTF8) 30 | EndFunc ;==>_HexToString 31 | 32 | ; #FUNCTION# ==================================================================================================================== 33 | ; Author ........: SmOke_N (Thanks to Valik for helping with the new StringRegExp (?s)(?i) issue) 34 | ; Modified.......: SmOke_N - (Re-write for speed and accuracy), jchd, Melba23 (added mode) 35 | ; =============================================================================================================================== 36 | Func _StringBetween($sString, $sStart, $sEnd, $iMode = $STR_ENDISSTART, $bCase = False) 37 | ; If starting from beginning of string 38 | $sStart = $sStart ? "\Q" & $sStart & "\E" : "\A" 39 | 40 | ; Set mode 41 | If $iMode <> $STR_ENDNOTSTART Then $iMode = $STR_ENDISSTART 42 | 43 | ; If ending at end of string 44 | If $iMode = $STR_ENDISSTART Then 45 | ; Use lookahead 46 | $sEnd = $sEnd ? "(?=\Q" & $sEnd & "\E)" : "\z" 47 | Else 48 | ; Capture end string 49 | $sEnd = $sEnd ? "\Q" & $sEnd & "\E" : "\z" 50 | EndIf 51 | 52 | ; Set correct case sensitivity 53 | If $bCase = Default Then 54 | $bCase = False 55 | EndIf 56 | 57 | Local $aReturn = StringRegExp($sString, "(?s" & (Not $bCase ? "i" : "") & ")" & $sStart & "(.*?)" & $sEnd, $STR_REGEXPARRAYGLOBALMATCH) 58 | If @error Then Return SetError(1, 0, 0) 59 | Return $aReturn 60 | EndFunc ;==>_StringBetween 61 | 62 | ; #FUNCTION# ==================================================================================================================== 63 | ; Author ........: WeaponX 64 | ; Modified.......: 65 | ; =============================================================================================================================== 66 | Func _StringExplode($sString, $sDelimiter, $iLimit = 0) 67 | If $iLimit = Default Then $iLimit = 0 68 | If $iLimit > 0 Then 69 | Local Const $NULL = Chr(0) ; Different from the Null keyword. 70 | 71 | ; Replace delimiter with NULL character using given limit 72 | $sString = StringReplace($sString, $sDelimiter, $NULL, $iLimit) 73 | 74 | ; Split on NULL character, this will leave the remainder in the last element 75 | $sDelimiter = $NULL 76 | ElseIf $iLimit < 0 Then 77 | ; Find delimiter occurence from right-to-left 78 | Local $iIndex = StringInStr($sString, $sDelimiter, 0, $iLimit) 79 | If $iIndex Then 80 | ; Split on left side of string only 81 | $sString = StringLeft($sString, $iIndex - 1) 82 | EndIf 83 | EndIf 84 | 85 | Return StringSplit($sString, $sDelimiter, $STR_ENTIRESPLIT + $STR_NOCOUNT) 86 | EndFunc ;==>_StringExplode 87 | 88 | ; #FUNCTION# ==================================================================================================================== 89 | ; Author ........: Louis Horvath 90 | ; Modified.......: jchd - Removed explicitly checking if the source and insert strings were strings and forcing an @error return value, czardas - re-write for optimization 91 | ; =============================================================================================================================== 92 | Func _StringInsert($sString, $sInsertString, $iPosition) 93 | ; Retrieve the length of the source string 94 | Local $iLength = StringLen($sString) 95 | ; Casting Int() takes care of String/Int, Numbers 96 | $iPosition = Int($iPosition) 97 | ; Adjust the position to accomodate negative values (insertion from the right) 98 | If $iPosition < 0 Then $iPosition = $iLength + $iPosition 99 | ; Check the insert position is within bounds 100 | If $iLength < $iPosition Or $iPosition < 0 Then Return SetError(1, 0, $sString) 101 | ; Insert the string 102 | Return StringLeft($sString, $iPosition) & $sInsertString & StringRight($sString, $iLength - $iPosition) 103 | EndFunc ;==>_StringInsert 104 | 105 | ; #FUNCTION# ==================================================================================================================== 106 | ; Author ........: Jos van der Zande 107 | ; Modified.......: 108 | ; =============================================================================================================================== 109 | Func _StringProper($sString) 110 | Local $bCapNext = True, $sChr = "", $sReturn = "" 111 | For $i = 1 To StringLen($sString) 112 | $sChr = StringMid($sString, $i, 1) 113 | Select 114 | Case $bCapNext = True 115 | If StringRegExp($sChr, '[a-zA-ZÀ-ÿšœžŸ]') Then 116 | $sChr = StringUpper($sChr) 117 | $bCapNext = False 118 | EndIf 119 | Case Not StringRegExp($sChr, '[a-zA-ZÀ-ÿšœžŸ]') 120 | $bCapNext = True 121 | Case Else 122 | $sChr = StringLower($sChr) 123 | EndSelect 124 | $sReturn &= $sChr 125 | Next 126 | Return $sReturn 127 | EndFunc ;==>_StringProper 128 | 129 | ; #FUNCTION# ==================================================================================================================== 130 | ; Author ........: Jeremy Landes 131 | ; Modified.......: guinness - Removed Select...EndSelect statement and replaced with an If...EndIf as well as optimised the code. 132 | ; =============================================================================================================================== 133 | Func _StringRepeat($sString, $iRepeatCount) 134 | ; Casting Int() takes care of String/Int, Numbers. 135 | $iRepeatCount = Int($iRepeatCount) 136 | If $iRepeatCount = 0 Then Return "" ; Return a blank string if the repeat count is zero. 137 | ; Zero is a valid repeat integer. 138 | If StringLen($sString) < 1 Or $iRepeatCount < 0 Then Return SetError(1, 0, "") 139 | Local $sResult = "" 140 | While $iRepeatCount > 1 141 | If BitAND($iRepeatCount, 1) Then $sResult &= $sString 142 | $sString &= $sString 143 | $iRepeatCount = BitShift($iRepeatCount, 1) 144 | WEnd 145 | Return $sString & $sResult 146 | EndFunc ;==>_StringRepeat 147 | 148 | ; #FUNCTION# ==================================================================================================================== 149 | ; Author ........: BrewManNH 150 | ; Modified ......: 151 | ; =============================================================================================================================== 152 | Func _StringTitleCase($sString) 153 | Local $bCapNext = True, $sChr = "", $sReturn = "" 154 | For $i = 1 To StringLen($sString) 155 | $sChr = StringMid($sString, $i, 1) 156 | Select 157 | Case $bCapNext = True 158 | If StringRegExp($sChr, "[a-zA-Z\xC0-\xFF0-9]") Then 159 | $sChr = StringUpper($sChr) 160 | $bCapNext = False 161 | EndIf 162 | Case Not StringRegExp($sChr, "[a-zA-Z\xC0-\xFF'0-9]") 163 | $bCapNext = True 164 | Case Else 165 | $sChr = StringLower($sChr) 166 | EndSelect 167 | $sReturn &= $sChr 168 | Next 169 | Return $sReturn 170 | EndFunc ;==>_StringTitleCase 171 | 172 | ; #FUNCTION# ==================================================================================================================== 173 | ; Author ........: Jarvis Stubblefield 174 | ; Modified.......: SmOke_N - (Re-write using StringToBinary for speed) 175 | ; =============================================================================================================================== 176 | Func _StringToHex($sString) 177 | Return Hex(StringToBinary($sString, $SB_UTF8)) 178 | EndFunc ;==>_StringToHex 179 | --------------------------------------------------------------------------------