{"id":13445665,"url":"https://github.com/Masonjar13/AHK-Library","last_synced_at":"2025-03-20T21:30:59.778Z","repository":{"id":50730844,"uuid":"64459159","full_name":"Masonjar13/AHK-Library","owner":"Masonjar13","description":"Most of my personal AHK stdlib.","archived":false,"fork":false,"pushed_at":"2022-11-20T22:39:20.000Z","size":209,"stargazers_count":75,"open_issues_count":0,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-01T05:15:44.610Z","etag":null,"topics":["ahk","ahkscript","autohotkey"],"latest_commit_sha":null,"homepage":null,"language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Masonjar13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-29T07:11:48.000Z","updated_at":"2024-06-23T13:44:54.000Z","dependencies_parsed_at":"2023-01-22T02:16:04.445Z","dependency_job_id":null,"html_url":"https://github.com/Masonjar13/AHK-Library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonjar13%2FAHK-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonjar13%2FAHK-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonjar13%2FAHK-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Masonjar13%2FAHK-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Masonjar13","download_url":"https://codeload.github.com/Masonjar13/AHK-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221807771,"owners_count":16883643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ahk","ahkscript","autohotkey"],"created_at":"2024-07-31T05:00:37.566Z","updated_at":"2025-03-20T21:30:59.772Z","avatar_url":"https://github.com/Masonjar13.png","language":"AutoHotkey","funding_links":[],"categories":["AutoHotkey"],"sub_categories":[],"readme":"# AHK-Library\n[Most of my personal AHK stdlib.](https://autohotkey.com/boards/viewtopic.php?p=88651#p88651)\n\n\n## Functions\n| Function | Description |\n|--------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [binSearch()](Lib/binSearch.ahk) | Performs a binary search on a given index-based object. |\n| [borderlessMode()](Lib/borderlessMode.ahk) | Toggles AlwaysOnTop and caption for a specified window (active window, if unspecified). |\n| [borderlessMove()](Lib/borderlessMove.ahk) | Enables click-and-drag movement for windows without captions. |\n| [checkSession()](Lib/checkSession.ahk) | Creates a callback for user session messages, such as logging off or locking the session. |\n| [commaFormat()](Lib/commaFormat.ahk) | Performs a comma format on numbers, eg., `123456789.12345 \u003e 123,456,789.12345`. |\n| [compileScript()](Lib/compileScript.ahk) | **Requires:** AHK to be installed on the system.\u003cbr\u003e\u003cbr\u003eAllows compilation of a script from a script, which could be self-compilation. |\n| [downloadGithubRelease()](Lib/downloadGithubRelease.ahk) | **Requires:** [urlDownloadToVar()](Lib/urlDownloadToVar.ahk)\u003cbr\u003e\u003cbr\u003eDownloads latest Git repo release from any repo. |\n| [dpiOffset()](Lib/dpiOffset.ahk) | Adds DPI offset to the given value, based on the current system DPI setting. |\n| [externalIP\\[_old\\]()](Lib/externalIP.ahk) | Retrieves the visible information of a given IP. If no IP is given, the information for the external IP of the local machine is retrieved. |\n| [fileUnblock()](Lib/fileUnblock.ahk) | Removes the \"file came from another computer\" security flag on a specified file. |\n| [getCurrentTime()](Lib/getCurrentTime.ahk) | **Requires:** [urlDownloadToVar()](Lib/urlDownloadToVar.ahk), [strToLower()](Lib/strToLower.ahk)\u003cbr\u003e\u003cbr\u003eRetrieves the current time of the specified [region of a] country. Utilizing the boolean `countryIsTimezone` parameter, the `country` parameter may be a timezone acronym instead. |\n| [getImageSize()](Lib/getImageSize.ahk) | Returns the image resolution (width and height) of a given image file. |\n| [getPosFromAngle()](Lib/getPosFromAngle.ahk) | Calculates and returns a coordinate based off of a given coordinate, length/distance in pixels, and angle. |\n| [getSelected()](Lib/getSelected.ahk) | Returns the path[s] of selected file[s] when using a file explorer. |\n| [getUTCOffset()](Lib/getUTCOffset.ahk) | **Requires:** [urlDownloadToVar()](Lib/urlDownloadToVar.ahk), [strToLower()](Lib/strToLower.ahk)\u003cbr\u003e\u003cbr\u003eRetrieves the UTC offset of a timezone. |\n| [getWinClientSize()](Lib/getWinClientSize.ahk) | Returns the size (width and height) of the client area of a specified window handle. |\n| [hToMs()](Lib/hToMs.ahk) | Converts hours into milliseconds. |\n| [hwndHung()](Lib/hwndHung.ahk) | Checks if a window handle is hung/frozen. |\n| [ifContains()](Lib/ifContains.ahk) | Function wrap for [if var contains matchList](https://autohotkey.com/docs/commands/IfIn.htm). |\n| [ifIn()](Lib/ifIn.ahk) | Function wrap for [if var in matchList](https://autohotkey.com/docs/commands/IfIn.htm). |\n| [imageSearchc()](Lib/imageSearchc.ahk) | **Requires:** [Gdip_All](Required-Libraries/Gdip_All.ahk)\u003cbr\u003e\u003cbr\u003eGDI based image search, to replace [ImageSearch](https://autohotkey.com/docs/commands/ImageSearch.htm). |\n| [internetConnected()](Lib/internetConnected.ahk) | Pings given URL (Google if unspecified) to check connection. |\n| [invertCaseChr()](Lib/invertCaseChr.ahk) | Inverts the case of a given character. |\n| [invertCaseStr()](Lib/invertCaseStr.ahk) | Inverts the case of a given string. |\n| [is64bitExe()](Lib/is64bitExe.ahk) | Checks if a specified executable is 64-bit. |\n| [isAlpha()](Lib/isAlpha.ahk) | Wrap for [if var is alpha](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isAlphaNum()](Lib/isAlphaNum.ahk) | Wrap for [if var is alphaNum](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isBetween()](Lib/isBetween.ahk) | Wrap for [if var is between lowerBound and upperBound](https://autohotkey.com/docs/commands/IfBetween.htm). |\n| [isDigit()](Lib/isDigit.ahk) | Wrap for [if var is digit](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isFloat()](Lib/isFloat.ahk) | Wrap for [if var is float](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isHex()](Lib/isHex.ahk) | Wrap for [if var is hex](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isInt()](Lib/isInt.ahk) | Wrap for [if var is int](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isLower()](Lib/isLower.ahk) | Wrap for [if var is lower](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isNum()](Lib/isNum.ahk) | Wrap for [if var is num](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isSpace()](Lib/isSpace.ahk) | Wrap for [if var is space](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [isUpper()](Lib/isUpper.ahk) | Wrap for [if var is upper](https://autohotkey.com/docs/commands/IfIs.htm). |\n| [lanConnected()](Lib/lanConnected.ahk) | Checks if the local device is connected to a local area network. |\n| [msToH()](Lib/msToH.ahk) | Converts milliseconds into hours. |\n| [msToM()](Lib/msToM.ahk) | Converts milliseconds into minutes. |\n| [msToS()](Lib/msToS.ahk) | Converts milliseconds into seconds. |\n| [mToMs()](Lib/mToMs.ahk) | Converts minutes into milliseconds. |\n| [multiKeyStates()](Lib/multiKeyStates.ahk) | Allows to check for multiple key states at a time, keeping the return boolean to match getKeyState(). |\n| [mouseOverWin()](Lib/mouseOverWin.ahk) | Checks if the mouse is over a specified window. |\n| [muteWindow()](Lib/muteWindow.ahk) | **Requires:** [VA](Required-Libraries/VA.ahk)\u003cbr\u003e\u003cbr\u003eMutes, unmutes, or toggles mute state for a specified window in the volume mixer. |\n| [nicRestart()](Lib/nicRestart.ahk) | **Requires:** [nicSetState()](Lib/nicSetState.ahk)\u003cbr\u003e\u003cbr\u003eDisables and re-enables a specified network adapter. |\n| [nicSetState()](Lib/nicSetState.ahk) | Enables or disables a specified network adapter. |\n| [processExist()](Lib/processExist.ahk) | Wrap for [process, exist](https://autohotkey.com/docs/commands/Process.htm). |\n| [processPriority()](Lib/processPriority.ahk) | Returns the priority level of a given process/PID. |\n| [rand()](Lib/rand.ahk) | Wrap for [random](https://autohotkey.com/docs/commands/Random.htm). |\n| [randStr()](Lib/randStr.ahk) | Generates a random string of a given length, with options to include any combination of lowercase, uppercase, digits, and symbols. |\n| [readHotkeys()](Lib/readHotkeys.ahk) | Creates a list of all hotkeys/hotstrings and directives from a script file (from disk, not active). |\n| [regExMatchI()](Lib/regExMatchI.ahk) | **Requires:** [strI()](Lib/strI.ahk)\u003cbr\u003e\u003cbr\u003ePerforms an inverted (end to start) [regExMatch](https://autohotkey.com/docs/commands/RegExMatch.htm). |\n| [regExReplaceI()](Lib/regExReplaceI.ahk) | **Requires:** [strI()](Lib/strI.ahk)\u003cbr\u003e\u003cbr\u003ePerforms an inverted (end to start) [regExReplace](https://autohotkey.com/docs/commands/RegExReplace.htm). |\n| [setWindowVol()](Lib/setWindowVol.ahk) | **Requires:** [VA](Required-Libraries/VA.ahk)\u003cbr\u003e\u003cbr\u003eSets the volume for a specified window in the volume mixer. |\n| [StdOutStream()](Lib/StdOutStream.ahk) | Creates a callback for all standard output lines of a program. |\n| [StdOutToVar()](Lib/StdOutToVar.ahk) | Returns all standard output of a program. |\n| [strI()](Lib/strI.ahk) | Inverts a given string. |\n| [strReplaceI()](Lib/strReplaceI.ahk) | **Requires:** [strI()](Lib/strI.ahk)\u003cbr\u003e\u003cbr\u003ePerforms an inverted (end to start) [strReplace](https://autohotkey.com/docs/commands/StringReplace.htmunction). |\n| [strToLower()](Lib/strToLower.ahk) | Wrap for [stringLower](https://autohotkey.com/docs/commands/StringLower.htm). |\n| [strToUpper()](Lib/strToUpper.ahk) | Wrap for [stringUpper](https://autohotkey.com/docs/commands/StringLower.htm). |\n| [stringify()](Lib/stringify.ahk) | Returns a specified object in the form of a string. |\n| [tool()](Lib/tool.ahk) | Creates a tooltip for a specified amount of time. |\n| [toolSpeak()](Lib/toolSpeak.ahk) | Speaks a given string. |\n| [urlDownloadToFile()](Lib/urlDownloadToFile.ahk) | Downloads a URL resource to a file. |\n| [urlDownloadToVar()](Lib/urlDownloadToVar.ahk) | Downloads a URL resource to a variable. |\n| [urlFileGetSize()](Lib/urlFileGetSize.ahk) | Retrieves the file size of a URL resource. |\n| [winInfo()](Lib/winInfo.ahk) | Returns information about the specified window. |\n\n## Classes\n| Class | Description |\n|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [audioRouter](Lib/audioRouter.ahk) | **Requires:** [VA](Required-Libraries/VA.ahk), [Audio Router](https://github.com/audiorouterdev/audio-router/releases)\u003cbr\u003e\u003cbr\u003eAllows using/interacting with Audio Router from AHK. |\n| [IEObj](Lib/IEObj.ahk) | Contains an instance of IE via COM, with methods that wrap basic interactions, such as URL navigation. Features extensive error catching. |\n| [threadMan](Lib/threadMan.ahk) | **Requires:** [_MemoryLibrary](Required-Libraries/_MemoryLibrary.ahk), [_Struct](Required-Libraries/_Struct.ahk), [AutoHotkey.dll](https://hotkeyit.github.io/v2) (v1 zip download)\u003cbr\u003e\u003cbr\u003eWraps functionality of AutoHotkey.dll to allow multi-threading with AHK v1.1. |\n| [db](Lib/db.ahk) | Base DB class, with methods for reading, writing, and removing key-value pairs to/from a file. |\n\n## Other\n| Name | Description |\n| ------------------------------------- | --------------------------------------------------------- |\n| [functionalAHK](Lib/functionalAHK.ahk) | Wraps all AHK commands, so functions may be used instead. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMasonjar13%2FAHK-Library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMasonjar13%2FAHK-Library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMasonjar13%2FAHK-Library/lists"}