Jump to content

amoodie

Member
  • Posts

    4
  • Joined

  • Last visited

amoodie's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. @Vero Actually, I figured it out! If you add the Copy To Clipboard output right at the end, and select the "Automatically paste into frontmost app", the content can be added here as the second last step opens the app, and then there is a {{cursor}} placement option.
  2. Thank you @Vero!! This is exactly what I was after. Great to be able to see how you put this together. Thanks for sharing. One last thing, in the snippets there's an option for the {{cursor}} placement. Do you know if there is any way to do this in the Write Text File output? Thanks, Aaron
  3. I ended up just resorting back to a bash script, which is how I've done it in the past query="{query}" timestamp=$(date +%Y%m%d%H%M) dir=/Users/me/some\ dir # Create new file touch "$dir"/"$query $timestamp".md # Open file open $l -a /Applications/iA\ Writer.app "$dir"/"$query $timestamp".md I was trying to also incorporate snippets so that I could open and auto populate some text, but I've got this as two seperate steps for now.
  4. Hi there, long time Alfred user, first time poster. I've been trying to create a workflow in Alfred that doesn't rely completely on a script. The steps I want to do are: Keyword + args New markdown file named with args+date open the new file with iA Writer I've got the first two steps working, using a Ruby script for the second step. I was trying to use the "open file" action for the third step by passing in the newly created file into this action. However I've been unable to work out if args can be passed out of the script to the next step. Is passing args out of a script and into another step possible? Or is there a better approach to creating and opening a MD file?
×
×
  • Create New...