Jump to content

pwc

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by pwc

  1. I'm trying to create a File Action workflow to open selected files in Kaleidoscope (a diff tool). There are two steps in the workflow: A File Action, named "Compare in Kaleidoscope", that accepts multiple files. A Bash script that runs "open -a Kaleidoscope {query}" The Bash script has all six escaping checkboxes checked. There is no option to escape a single quote character, though. As a result, this breaks when comparing files that contain a single quote in the filename. On Twitter, @alfredapp suggested wrapping {query} in double quotes and escaping the double quotes. This broke the workflow, I'm guessing because it looks to the Bash script that {query} is a single argument. Any suggestions on how to get this to work?
×
×
  • Create New...