Jump to content

forgetfulfellow

Member
  • Posts

    98
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by forgetfulfellow

  1. Throwing in my two-cents, I learn best by dissecting other people's workflows and seeing how they work. Lately, I've been dissecting the Alfred Todoist Workflow which is showing me how someone wrote a workflow using Typescript. I obviously wouldn't recommend this workflow to someone just starting out, but since I code in typescript for my day job, it was quite interesting to see someone structure a workflow app using Typescript.

     

    If you're just starting out, there are some great workflow examples built into Alfred. When you press the plus button in the workflows tab, there are "Getting Started" and "Example" workflows. 

  2. It's a bit late, so I might just be doing something dumb...

     

    But anyways, I have this code in my Script Filter:

    #!/usr/bin/env bash
    
    
    export PATH="$PATH:$node_path:/usr/local/bin:/usr/bin"
    
    
    node $node_flags javascript-file.js comments "{var:task}"

     

    And I'm getting this error:

    Code 1: undefined:1
    {var:task}
     ^
    
    SyntaxError: Unexpected token t in JSON at position 1

     

    I have an Alfred Variable Object assigning the `task` variable to a value, but I'm not sure how to use it.

     

    Could I get some help? Thanks!!

  3. Hey @noki,

     

    I imagine that Mac probably updated the contacts app in Mojave to get numbers in a smart way (or maybe totally eradicated the API in the newest OS, given their track record). I'm still on El Capitan, so I have no idea sadly... I guess theoretically it must be possible, as UniCall has been doing it for a while. I just never dived into the code base itself to look.

     

    -Nolan

  4. Hey everyone,

     

    I know this update is comically late, but if you were still interested in an Alfred 3 working version, I've uploaded it. I've changed the contact search to use OSX's contact list to make it a bit simpler to start on the app.

     

    If you've moved onto another workflow, let me know as well so other people can discover them!

     

    -Nolan

  5. This doesn't seem to be working anymore. I will type im and then begin to write the name but then when i press enter it just closes Alfred.

     

    Any ideas?

     

     

    Hi

    I'm having problems getting this to work. I get as far as getting the notification that my iMessage has been sent, but it's not actually sending anything.

     

    Any ideas? Thanks.

     

    Hi az566, zimbo, 

     

    The update to Alfred 3 broke my workflow. Ultimately though, my workflow has also been surpassed by different and better workflows (example http://www.alfredfor...red/?hl=unicall) so I would recommend using theirs. 

     

    Thank you for supporting my project!

     

    -Nolan

×
×
  • Create New...