Jump to content

uscmeche

Member
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    uscmeche reacted to _mk_ in OmniFocus Task Actions [Updated to 3.1]   
    The clip.png was in there for that purpose.   I'll include your addition in the next release.
    I am still trying to display the note in the task details but that's giving me a hard time as the note is in rich text format.
  2. Like
    uscmeche got a reaction from _mk_ in OmniFocus Task Actions [Updated to 3.1]   
    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 item 1 of taskList set theNote to note of theTask --add in updated date set theUpdateDate to (current date) tell application "System Events" display dialog "What's Happening?" default answer "" set theNewText to (text returned of result) end tell set theText to return & "_______________________________________________________________________________________________________________________ #" & theUpdateDate & return & theNewText --append note to selection set theNote to theNote & theText set note of theTask to theNote set thisName to name of theTask end tell end tell --notify on success set successNotify to "You Added the text " & theNewText & " to the project " & thisName return successNotify end addNoteTask
×
×
  • Create New...