Examples:
Example 1 - LoopFilePattern (standard)
Example 2 - Binary read
Example 3 - Truncate a file
Example 4 - FileAppend
Example 5 - Change library settings
Example 6 - Using the Store function
Example 7 - LoopFilePattern (advanced)
반응형
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- SetKeyDelay
- API
- if(식)
- autohotkey
- EnvDiv
- EnvSub
- Var:=식
- EnvAdd
- SetControlDelay
- IF (식)
- MouseClick
- ControlGetText
- SetMouseDelay
- StringGetPos
- if
- SetTitleMatchMode
- 함수
- 배열
- EnvSet
- DetectHiddenWindows
- 식
- SetEnv
- IfInString
- ControlSend
- 식의 설명
- IfWinExist
- Threads
- Blocks
- EnvMult
- Menu
Archives
- Today
- Total
ㄴrㅎnㅂrㄹrㄱi
ELP Extended-length path library 1.1 본문
반응형
http://www.autohotkey.com/board/topic/77631-elp-extended-length-path-library-11/
Download: ELP.ahk
Current version: 1.1
This is a reproduction of almost every AutoHotKey file related command for the purpose of adding support for Extended-length paths.
Supports: AHK Basic, AHK_L ANSI, AHK_L Unicode x86, AHK_L Unicode x64
Extended-length paths are any file or folder paths who's total length exceeds 260 characters. More information on Extended-length paths
I tried to reproduce the exact function of every AutoHotKey command and with a few exceptions (see below) I was able to do that.
Note: you MUST have the following declared as a global variable before you use any of these functions:
Ptr := A_PtrSize ? "Ptr" : "UInt"Also, relative paths are NOT supported by any of these functions and if used may generate unknown results.
Some of the special features added over the normal AutoHotKey commands:
- * Extended-length path support (up to 32,000~ characters)
* FileAppend supports code page identifiers in both AHK Basic and AHK_L
* FileRead supports code page identifiers in both AHK Basic and AHK_L and can read into a byref variable or as a return value from the function, it also supports reading raw files with no text conversion
* Loop,File (the library function) has a 2nd option for "Recurse" to only recurse into folders that match the file pattern
* FileGetSize has 2 extra options: "get the size in Gigabytes" and "return the size in decimal form"
* Has the ability to verify read and write operations
* Has functions for doing binary read/write
* Can truncate a file without doing read -> delete -> write
* Can write to the middle of a file overwriting what was already there
The following commands do not exist in this library and I do not have plans to add them:
- FileRecycle
FileRecycleEmpty
FileInstall
FileReadLine
FileSelectFile
FileSelectFolder
- FileGetShortcut
FileCreateShortcut
(limited) Documentation on any new options can be found >>here<<
반응형
'AUTOHOTKEY > 스크립트' 카테고리의 다른 글
브라우저 (0) | 2013.01.17 |
---|---|
GroupBox2() (0) | 2013.01.15 |
돋보기 기능 만들기 (0) | 2011.05.12 |
SendMessage scripts for ListBox (0) | 2010.03.23 |
Custom GUI Controls & GUI related (0) | 2010.02.22 |
Comments