Jump to content

metaedge

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    metaedge got a reaction from Mafamaticks in Create new task in OmniFocus inbox   
    Same issue as well...trying to troubleshoot but haven't had much success.
     
    UPDATE: 
     
    Looks like the "parse tasks with transport text" script is not working with latest beta drop from Omnifocus.
     
    I replaced  "parse tasks with transport text q" with "make new inbox task with properties {name:q}" which creates a simple inbox tasks for now (until they fix the issue)
     
    Here is the Applscript, just copy/paste into the script editor.
    on alfred_script(q) set theName to (q) set isRunning to false tell application "System Events" if exists process "OmniFocus" then set isRunning to true end if end tell if isRunning is true then tell application "OmniFocus" tell default document make new inbox task with properties {name:q} end tell end tell else tell application "OmniFocus" to activate tell application "OmniFocus" tell default document make new inbox task with properties {name:q} end tell end tell end if end alfred_script
  2. Like
    metaedge reacted to Mafamaticks in Create new task in OmniFocus inbox   
    Has anyone tried using this with the Omnifocus 2 beta? I love the simplicity of this workflow.
     
     
    This is what I get when I try to run it.
    [ERROR: alfred.workflow.action.applescript] {
        NSAppleScriptErrorBriefMessage = "Expected end of line but found plural class name.";
        NSAppleScriptErrorMessage = "Expected end of line but found plural class name.";
        NSAppleScriptErrorNumber = "-2741";
        NSAppleScriptErrorRange = "NSRange: {278, 5}";
    }
     
     
    It opens OF when it's not open but it doesn't add the task.
×
×
  • Create New...