Jump to content

jonmountjoy

Member
  • Posts

    2
  • Joined

  • Last visited

jonmountjoy's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Thank you. Ah - so when Alfred records the "currently highlighted text" it effectively does it by overwriting the clipboard. Dang, so there's no way to implement this in Alfred then. You're right - programmatic access to the clipboard history will help - but there doesn't appear to be any (that I could find).
  2. I'm writing a simple script that takes 1. the currently highlighted text, 2. the clipboard text, And creates a new piece of text with both. Sadly it doesn't work because it looks like Alfred totally kills the clipboard text. I have a workflow with 1. a hotkey with "pass through to workflow" and Argument set to "Selection in OS X" 2. A script. X=`pbpaste` echo "[{query}](`pbpaste`)`echo $X`" | pbcopy Basically, "X" is always set to "{query}". It looks like Alfred totally kills the clipboard text when an argument is sent. Can someone please verify this is a bug? PS I'm looking for a way to highlight "foo" while "http://bar" is in the clipboard, and it generates markdown: [foo](http://bar)
×
×
  • Create New...