Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughbe/outlookrulesreader
Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift
https://github.com/hughbe/outlookrulesreader
Last synced: 2 months ago
JSON representation
Specification for Outlook rules (rwz) files and experimental implementation of a reader/writer in Swift
- Host: GitHub
- URL: https://github.com/hughbe/outlookrulesreader
- Owner: hughbe
- License: mit
- Created: 2020-08-16T16:30:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T15:32:44.000Z (10 months ago)
- Last Synced: 2024-03-25T21:51:27.816Z (10 months ago)
- Language: Swift
- Size: 16.9 MB
- Stars: 28
- Watchers: 6
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OutlookRulesReader
OutlookRulesReader is a reader of Outlook rules (rwz) files.
## Outlook Rules Wizard File (.rwz) Specification
A PDF of the working specification for Outlook rules files (.rwz) files can be found [here](https://github.com/hughbe/OutlookRulesReader/blob/main/docs/RWZ%20Format.pdf).## Example Usage
```swift
let data = Data(contentsOfFile: ".rwz")!
let file = try OutlookRulesFile(data: data)
print(file.rules.count)
print(file.rules[0].name)
print(file.rules[0].enabled)
print(file.rules[0].conditions.count)
print(file.rules[0].actions.count)
print(file.rules[0].exceptions.count)
```## Contributing
All contributions to the specification and the implementation library are welcome and encouraged!