forked from xeric/alfred-outlook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsts.py
17 lines (15 loc) · 802 Bytes
/
consts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# coding:utf-8
PAGE_SIZE = 20
# OUTLOOK_DATA_PATH = r'/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/'
OUTLOOK_DATA_PARENT = r'/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/'
OUTLOOK_DEFAULT_PROFILE = r'Main Profile'
OUTLOOK_DATA_FOLDER = r'/Data/'
OUTLOOK_SQLITE_FILE = r'Outlook.sqlite'
KEY_PAGE_SIZE = 'pagesize'
KEY_FOLDER = 'folder'
KEY_PROFILE = 'profile'
KEY_FILTER = 'filter'
ALL_KEYS = [KEY_PAGE_SIZE, KEY_FOLDER, KEY_PROFILE, KEY_FILTER]
ALL_KEY_DESCS = ['one page result size', 'search folder', 'outlook profile', 'search result filter']
ALL_VALS = ['[number]', '[folder name]', '[profile name]', '[LIKE string]']
RULES = [r'(pagesize)\s+(\d+)', r'(folder)\s+(\d+)', r'(profile)\s+([\w\s_]+)', r'(filter)\s+(%?[^%]*%?)']