hoppfrosch / cPath

AutoHotkey class to work with pathes

Home Page:https://hoppfrosch.github.io/cPath/#File:Readme.txt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cPath AutoHotkey2

This library uses AutoHotkey Version 2. (Tested and developed with v2.0-a104 x64 Unicode)

Description

AHK class Path for working with Pathes in Windows. It relies heavily on Win-API functionality, which is exposed by several functions (within module PathAPI.ahk) and offers an additional class encapsulating these functionality.

The class Path tries to mimic Perls Path::Tiny.

Usage

Include cPath.ahk from the lib folder into your project using standard AutoHotkey-include methods.

#include <cPath.ahk>
mypath := path("C:/tmp/..\test", "../tmp", "test.txt")
doesExist := mypath.exists
isDir := path("C:\Windows).is_dir

Further Information

About

AutoHotkey class to work with pathes

https://hoppfrosch.github.io/cPath/#File:Readme.txt

License:MIT License


Languages

Language:HTML 55.1%Language:JavaScript 31.3%Language:AutoHotkey 7.9%Language:CSS 5.6%Language:Batchfile 0.0%