Skip to content

Instantly share code, notes, and snippets.

@NSBum
Created February 24, 2017 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NSBum/1b951f9e1df163770bc72271bf74b868 to your computer and use it in GitHub Desktop.
Save NSBum/1b951f9e1df163770bc72271bf74b868 to your computer and use it in GitHub Desktop.
This will set the label of the every global inbox item to the first label
--
-- Created by: Alan Duncan
-- Created on: 2017-02-24
--
-- Copyright (c) 2017 OjisanSeiuchi
-- All Rights Reserved
--
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
tell application id "com.devon-technologies.thinkpro2"
set inboxItems to every record of the inbox
repeat with inboxItem in inboxItems
set the label of inboxItem to 1
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment