Outlook For Mac 2016 Set Applescript To Run

Although that command still exists in Office 2016 for Mac, MacScript is deprecated. Due to sandbox restrictions, the MacScript command cannot invoke other applications, such as Finder, in Office 2016 for Mac. We recommend that you use the AppleScriptTask command instead of the MacScript command in apps for Office 2016 for Mac. Question: Q: AppleScript is slow to process Outlook folders I've been writing AppleScripts to automate work on my email in Outlook. I then set them up as scheduled runs in the Tools - Run Schedule in Outlook 2011.

Outlook For Mac 2016 Set Applescript To Run Free

Outlook for Mac AppleScript to create an event from a task
Create Event from TaskcmE.scpt

Outlook For Mac 2016 Set Applescript To Run Windows 10

AppleScript is an end user scripting language that has been available in Mac computers since System 7 Pro (7.1.1). It allows for automation of system tasks, communication between processes, and creation of workflows, amongst other functions. Need help understanding why this Applescript works with Outlook 2011 for Mac but not Outlook 2016 or 2019 for Mac. Now when you compile and run the Applescript it will open the eml file and create a new reply message in window but the date in the header of the original message is as expected with the older date and time shown.

(*
Create Event from Task
Copyright (c) Microsoft Corporation. All rights reserved.
Modified by William Smith.
*)
tellapplication'Microsoft Outlook'
-- get the currently selected task or tasks
setselectedTasksto selection
-- if there are no tasks selected, warn the user and then quit
if selectedTasks is {} then
display dialog'Please select a task first and then run this script.'with icon 1
return
end if
repeatwiththeTaskin selectedTasks
-- get the information from the message, and store it in variables
settheNametonameof theTask
settheCategoryto category of theTask
settheContentto content of theTask
if theContent ismissing valuethen
settheContentto'
end if
-- create a new event with the information from the task
setnewEventto make new calendar eventwithproperties {subject:theName, category:theCategory, content:theContent, start time:(current date) +1800, endtime:(current date) +3600}
-- if there was only one task selected, then open that new note
if (countof selectedTasks) =1then open newEvent
endrepeat
endtell

commented Apr 1, 2012

Instructions:

  1. Click the Download button above to download the compressed file.
  2. Locate and double-click the downloaded file to decompress it.
  3. In Outlook for Mac select AppleScript menu (to the right of the Help menu) --> About This Menu...
  4. Click the Open Folder button to open the Outlook Script Menu Items folder.
  5. Drag the Create Event from TaskcmE.scpt file into the Outlook Script Menu Items folder.

To use the script select a task and then select Create Event from TaskcmE from the AppleScript menu.

commented Jan 28, 2014

Hi,
Thanks for the script. I'm trying to create a meeting invite from a selected message. I can create a calendar event but cannot seem to get recipients added. I've tried

then either

or

and neither work. Any help would be great. Thanks.

Outlook for mac 2016 set applescript to run 64-bit

commented Feb 14, 2019

Outlook for mac 2016 set applescript to run faster

Hello talkingmoose,

Can an Apple script be written to- Not allow any meeting invites show up as tentative on the outlook calendar? Then, the user has the option to manually accept the meetings they want.

Luke

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Outlook For Mac 2016 Set Applescript To Run 64-bit

Jan 28, 2017

I recently updated my Mac to OS X Sierra and decided to test the AppleScript in Outlook Mac 2016, the script that converts e-mails to tasks. I had to reinstall it, but it is definitely working now. I placed my updated instructions for getting it installed at the old article about this capability, at this link.

History on This (In case Interested)

When Outlook for Mac 2011 was released in 2010, it shipped with an AppleScript installed that converted e-mails to tasks. It was (and still is) the only way to convert e-mails to tasks on the Mac version of Outlook. The drag and drop functionality of Windows Outlook is not present on the Mac. Using the script does not pick up attachments, but otherwise seems to work.

2016

Outlook For Mac 2016 Set Applescript To Running

In 2011, Microsoft stopped delivering that script with most Outlook for Mac installs. But if you copied the script from somewhere else and installed it in the right script folder, it would work.

Then in 2014 I think it was (I cannot remember), with an OS X update, all script capabilities on Outlook were blocked “for security reasons.” In the years after that some people were able to hack it in, but we didn’t support that.

Outlook For Mac 2016 Set Applescript To Run Windows 7

So it’s good to see that the capability is back. Again, instructions for getting it installed are at my old article about this capability at this link.

Outlook For Mac 2016 Set Applescript To Run Command

Michael