Jump to content

uscmeche

Member
  • Content Count

    3
  • Joined

  • Last visited

  1. Amazing script! Thank you. I was just about to code this myself, but thought I would search first.
  2. Was browsing and really appreciate the script. Added a bit to it for enumerating the files listed. Hopefully this code works for others. set filelist to "{query}" set oldDelimiters to AppleScript's text item delimiters set AppleScript's text item delimiters to " " set theArray to every text item of filelist set AppleScript's text item delimiters to oldDelimiters set itemList to "Attachments" & return set theCount to 0 if length of theArray is greater than 1 then repeat with eachitem in theArray set theCount to theCount + 1 try set oldDelims to AppleScript's text item delimiter
  3. Absolutely love this! I expanded a use case as well (possibly it is only a feature I would request), but the ability to append notes. I am not a great coder, so it is cobbled together on your front end (I am sure someone could optimize my code). Below is the look (used your clip.png) and then added a line calling the applescript. on run argv try my addNoteTask(item 1 of argv) on error errmsg return errmsg end try end run on addNoteTask(theTaskId) tell application "OmniFocus" tell default document set taskList to flattened tasks where id = theTaskId set theTask to
×
×
  • Create New...