Jump to content

introducing alfred-outlookSuite 📬, a suite of tools to interact with Microsoft Outlook via Alfred


Recommended Posts

On 10/21/2023 at 1:09 AM, joshuadwagner said:

I just created a workflow that uses Applescript to switch folders in Outlook. @giovanni, If you (or anyone) would like to incorporate it into something else, you're welcome to do so. I'm afraid that this is about the extent of my abilities so I may not be of much help with issues.

https://github.com/joshuawagner/alfred-go-to-Outlook-folder/releases/latest

 

 

This is very good and useful. Thank you for sharing. 

 

Is it possible to also navigate to Groups or Smart Folders in similar manner?

Link to comment

Hi all,

 

get an error, has anybody an idea?

try to save an email...

 

 

[17:26:54.066] ERROR: Outlook Suite[Run Script] /Users/artur/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/12B7B6CB-AC11-4D0F-A5F7-F9D1D0F9D671:1517:1539: execution error: „Microsoft Outlook“ hat einen Fehler erhalten: „exchange account 1“ kann nicht gelesen werden. Ungültiger Index. (-1719)

Edited by artiman
Link to comment

Oh I finally figured it out. I never thought of using an Apple Script. 

Here it is if anyone wants to use it:
 

tell application "Microsoft Outlook"

activate

set theMainWindow to make new main window

set view of main window 1 to calendar view

end tell

Edited by 4tify
Link to comment
  • 2 months later...

So I have the same issue as @Marlouis. It almost feels like my instance of Outlook isn't "open" for this workflow to interact with. 

 

Here's the debug when I try -olk:

 

[09:04:45.496] Logging Started...
[09:04:49.324] Outlook Suite[Script Filter] Queuing argument '(null)'
[09:04:49.464] Outlook Suite[Script Filter] Script with argv '(null)' finished
[09:04:49.470] STDERR: Outlook Suite[Script Filter] [{'Name': 'RecentUnread', 'Query': 'to:me is:unread since:20'}]
0 days from last update
checking the JSON snoozer file...
The JSON file has been updated today.
[09:04:49.471] Outlook Suite[Script Filter] {"items": [{"title": "\u2b50Greetings", "subtitle": "1/8  [Placeholder_Drafts_Placeholder] From: None 2024-03-19 09:01 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": "Greetings", "variables": {"mySource": "thread", "threadTopic": "Greetings"}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Tuesday, March 19, 2024 09:01 AM\nFrom: None\nTo: None\n\nSubject: Greetings\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/249/F9EC020D-C1B7-4CCA-882C-44C349BDB66B.olk15Message"}, {"title": "\u2b50Hello", "subtitle": "2/8  [Placeholder_Drafts_Placeholder] From: None 2024-03-18 16:20 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": "Hello", "variables": {"mySource": "thread", "threadTopic": "Hello"}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Monday, March 18, 2024 04:20 PM\nFrom: None\nTo: None\n\nSubject: Hello\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/137/899F09C5-BFE6-4868-9D25-E4DD011E16AE.olk15Message"}, {"title": "\u2b50subject", "subtitle": "3/8  [Placeholder_Drafts_Placeholder] From: None 2024-03-18 16:14 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": "subject", "variables": {"mySource": "thread", "threadTopic": "subject"}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Monday, March 18, 2024 04:14 PM\nFrom: None\nTo: None\n\nSubject: subject\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/15/0F3AFE4B-3DBF-4611-8339-62AB1D2ACFB1.olk15Message"}, {"title": "\u2b50Subject", "subtitle": "4/8  [Placeholder_Drafts_Placeholder] From: None 2024-03-18 16:14 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": "Subject", "variables": {"mySource": "thread", "threadTopic": "Subject"}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Monday, March 18, 2024 04:14 PM\nFrom: None\nTo: None\n\nSubject: Subject\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/158/9E2D4DB6-5577-4F40-B00D-B5D4641B8D5D.olk15Message"}, {"title": "\u2b50Subject", "subtitle": "5/8 \ud83d\udcce [Placeholder_Drafts_Placeholder] From: None 2023-12-01 11:27 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": null, "variables": {"mySource": "thread", "threadTopic": null}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Friday, December 01, 2023 11:27 AM\nFrom: None\nTo: None\n\nSubject: Subject\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/219/DBCBEA27-DEBF-4E16-8CFE-DDFBB6A6EA53.olk15Message"}, {"title": "\u2b50Subject", "subtitle": "6/8 \ud83d\udcce [Placeholder_Drafts_Placeholder] From: None 2023-10-19 16:30 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": null, "variables": {"mySource": "thread", "threadTopic": null}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Thursday, October 19, 2023 04:30 PM\nFrom: None\nTo: None\n\nSubject: Subject\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/121/791B79A4-51BE-4A12-9974-BE4B461B1737.olk15Message"}, {"title": "\u2b50Subject", "subtitle": "7/8 \ud83d\udcce [Placeholder_Drafts_Placeholder] From: None 2023-10-11 13:48 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": null, "variables": {"mySource": "thread", "threadTopic": null}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Wednesday, October 11, 2023 01:48 PM\nFrom: None\nTo: None\n\nSubject: Subject\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/183/B7F18553-8E71-401E-940C-9FAB6D39BF3B.olk15Message"}, {"title": "\u2b50Subject", "subtitle": "8/8 \ud83d\udcce [Placeholder_Drafts_Placeholder] From: None 2023-10-10 14:03 ", "valid": true, "quicklookurl": "", "variables": {}, "mods": {"control": {"valid": "true", "subtitle": "\ud83e\uddf5 filter entire thread", "arg": null, "variables": {"mySource": "thread", "threadTopic": null}}, "shift": {"valid": "true", "subtitle": "\ud83d\udc40 show preview in large font", "arg": "Tuesday, October 10, 2023 02:03 PM\nFrom: None\nTo: None\n\nSubject: Subject\n\nNone"}}, "icon": {"path": ""}, "arg": "/Users/AD66408/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/243/F3D66677-EB9C-459D-9387-E31898CC1C7D.olk15Message"}], "variables": {"mySource": "mailList"}}

 

And -em: 

 

[09:15:26.978] Outlook Suite[Keyword] Processing complete
[09:15:26.996] Outlook Suite[Keyword] Passing output 'Test' to Run Script

 

I hope you can take a look @giovanni

Edited by Dorv
Link to comment

@Dorv happy to help. A couple of questions:

first, can you confirm that you are using the older ('Legacy') version of Outlook?

second: are these real emails or tests? The first seems to be from 'None' to 'None' 

third: when you use `em`, do you get an error or is a draft created? 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...