Skip to content

Commit

Permalink
Tune Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xeric committed Jan 15, 2020
1 parent 0d8f966 commit c2a21f3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ You can also apply some simple keywords filter on it:

olk recent:30 {keyword1} {keyword2}

## Attachment Download (**Alfred V3** and up only)
After search result listed, an icon with <img src="https://raw.githubusercontent.com/xeric/alfred-outlook/master/attachment.png" width="20" height="20"> means this mail contains attachment, Press 'CTRL' and click, all attachments will be save to disk

Default Path to save is '~/Downloads/outlook_attachments', you can change it to your preferred folder with changing Alfred Workflow Environment Variables:
* Open 'Alfred Preferences' -> Click on tab 'Workflows' -> Choose 'Outlook Search' in sidebar
* Click the [x] in the top right of workflow to show the Workflow Environment Variables panel
* There is a variable named 'olk_attachment_path' with default value '~/Downloads/outlook_attachments', change it to your own folder
* All attachments will be save to a sub-folder named with your mail subject with 'Folder Allowed Characters'
* After attachments downloaded, saved path will be in clipboard

### This workflow search result supports Powerful Pagination:
> * 'Next Page' if there's more pages available.
> * If you are using **Alfred V3**, Press 'CTRL' on 'Next Page' item as modifier, then it behave as 'Previous Page'
Expand All @@ -64,16 +74,6 @@ You can use olkc to set some configurations for search:
> * '%test%' to filter all Subject contain 'test'
> * (Limitation: only allow one filter in current version)
## Attachment Download (**Alfred V3** and up only)
After search result listed, an icon with <img src="https://raw.githubusercontent.com/xeric/alfred-outlook/master/attachment.png" width="25" height="25"> means this mail contains attachment, Press 'CTRL' and click, all attachments will be save to disk

Default Path to save is '~/Downloads/outlook_attachments', you can change it to your preferred folder with changing Alfred Workflow Environment Variables:
* Open 'Alfred Preferences' -> Click on tab 'Workflows' -> Choose 'Outlook Search' in sidebar
* Click the [x] in the top right of workflow to show the Workflow Environment Variables panel
* There is a variable named 'olk_attachment_path' with default value '~/Downloads/outlook_attachments', change it to your own folder
* All attachments will be save to a sub-folder named with your mail subject with 'Folder Allowed Characters'
* After attachments downloaded, saved path will be in clipboard

## Command olknew - Compose a new mail

olknew {optional: email address}
Expand Down

0 comments on commit c2a21f3

Please sign in to comment.