Mac: AppleScript for getting/changing priority

  • 1
  • Question
  • Updated 3 years ago
Is it possible to change a task's priority using AppleScript? I don't see it in the MindManager dictionary (unless its somehow hidden under attributes).
Photo of David Rees

David Rees

  • 4 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of aHa!Coaching

aHa!Coaching, Champion

  • 1192 Posts
  • 113 Reply Likes
On Mindjet for Mac version 1.3.605 the following works:

tell application "Mindjet MindManager"
set centralTopic to central topic of document 1
set currentTask to task of centralTopic
set priority of currentTask to 1
end tell

I did a quick search for priority in the dictionary and this came up: