Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hi5/XA
XA - Save/Load AutoHotkey Arrays in XML format
https://github.com/hi5/XA
arrays autohotkey autohotkey-arrays data objects xml
Last synced: 25 days ago
JSON representation
XA - Save/Load AutoHotkey Arrays in XML format
- Host: GitHub
- URL: https://github.com/hi5/XA
- Owner: hi5
- Created: 2017-07-22T07:38:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T12:51:58.000Z (over 4 years ago)
- Last Synced: 2024-11-08T04:44:42.715Z (about 1 month ago)
- Topics: arrays, autohotkey, autohotkey-arrays, data, objects, xml
- Language: AutoHotkey
- Homepage: https://autohotkey.com/boards/viewtopic.php?f=6&t=34849
- Size: 5.86 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-AutoHotkey - XA - by trueski/hi5 - Serialize/deserialize array to/from XML. Forum thread: [link](https://autohotkey.com/boards/viewtopic.php?f=6&t=34849). (Libraries / <a name="libraries-data-format"></a>Data format)
README
# XA - Save/Load AutoHotkey Arrays in XML format
**Introduction**
XA was written by **trueski** and the original source can be found here http://www.autohotkey.com/board/topic/85461-ahk-l-saveload-arrays/
(The code posted there is no longer valid due to errors caused by upgrading the forum software.)* XA_CleanInvalidChars() has been added to remove invalid characters in XML.
* Added InStr(XMLText,"aa
bb
cc```
result of test2
```xmla
b
c```
To check for error
```ahk
if (XA_Load("file.xml") = 1) ; the name of the variable containing the array is returned OR the value 1 in case of error
MsgBox Error loading XML file.
```### AutoHotkey forum discussion
https://autohotkey.com/boards/viewtopic.php?f=6&t=34849