Jump to content

fort

Member
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

192 profile views

fort's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Hi, I've got some workflows that I only want to enable on one of my machines, and not the others. Is this possible? If I simply enable a workflow anywhere, it's enabled everywhere, but I was hoping there was a hack or workaround that would allow me to do what I want. Thanks, fort
  2. Hi, Like most Alfred users, I sync my settings via Dropbox. However, there are some workflows that I would like to enable on certain computers and not on others. Is this possible? Cheers, fort
  3. Yes, I remember coming up against this problem before and I don't know why it didn't occur to me sooner. I think I was thrown by the fact that this workflow used to work (which doesn't make sense, in hindsight), and I didn't make any changes to it. Thanks.
  4. I get Starting debug for 'Edit hosts' [ERROR: alfred.workflow.action.script] Code 1: sudo: mate: command not found which suggests that the workflow needs the full path to any text editor (even though they're definitely in my PATH). I just tried it with the absolute path, and it now works. I'm wondering wtf has changed though, because this same workflow was working a couple of months ago. Many thanks for the tip, in any case. It immediately led me to the solution, and it'll be useful for future debugging! fort
  5. Hi all, I'm sure there's an easy answer to this, but could someone explain to me why a simple Keyword to Script workflow, consisting of a keyword foo and the following one-line bash script (where mate is the TextMate shell utility and bar is the absolute path to a text file) sudo mate bar does absolutely nothing, even though it works fine when I run it in Terminal,. This workflow used to work, but it hasn't for the past couple of months (I think, because I don't use it very often). It's not a huge deal, but I'd like to understand what's broken it. It's not because it's run with sudo, because mate bar does nothing (where bar is in my home directory in this case), and neither is it a problem with mate, because vi bar doesn't work either. All my other Keyword to Script workflows are working fine, including a test one I just created with rm bar as the script. Any ideas as to why I can't invoke text editors in workflows? Thanks! fort
  6. AFAICT, those are relevant to triggering actions in workflows, not System commands directly. Anyway, I managed to get things working by setting up external triggers to system commands in a workflow like the one David suggsted, and then calling those via AppleScript. Thanks!
  7. That would work, but I was actually hoping for something simpler: a way to directly trigger Alfred's System keywords via AppleScript. I'm assuming there's no way to do that, so I'll create the workflow you suggest instead. Thanks!
  8. Is there any way to trigger Alfred "System" commands via AppleScript, e.g., ejectall, lock, and so on? I'd like something like the following, but without having to specify a workflow tell application "Alfred 2" to run trigger "foo" in workflow "test.workflow.com" or to be able to specify that it's one of the commands in the System list. Thanks.
×
×
  • Create New...