Jump to content

woofy31

Member
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    woofy31 got a reaction from Ingolmo in Generating Feedback in Workflows   
    It's currently not possible, but that would definitely be an awesome feature! Alfred devs, this one would really make us "see" the results better
  2. Like
    woofy31 got a reaction from surrealroad in [Workflow Helpers] AppleScript solution   
    Hey all Alfred lovers out there,
     
    After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps.
     
    This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows).
     
    P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  3. Like
    woofy31 reacted to kizu in Some feedback on workflows   
    Hi there. Today I moved from Alfred to Alfred 2 and saw that the widely used hotkeys should be done now in workflows. While moving all my previous ones I've generated this feedback, maybe something of it already been discussed here, but I hope most of it would be useful
     
    1. New workflow for hotkeys work _slower_ than the original feature in Alfred. The difference is about 0.5s. While it's not that big, it's still noticable — I used to switch between apps fast, firing their shortcuts right after I presset the hotkey for launching an app. It worked before, but right now this shortcut I use is triggered not on the app I launched — there is that ~0.5s lag. (Added a bit later — sometimes there was even a 1-2s lag, however I couldn't reproduce it later)
     
    2. Creating workflows could have so much improvements!
     
    2.1. When you add a key trigger and then add an action, in 99% of cases you'd want them to be connected, right now it's manual work.
    2.2. When you don't have an icon associated with workflow, but you've added only one app to launch, then it would be nice to use that icon instead workflow's default icon automatically.
    2.3. If you didn't set the “author” for the workflow, then it would be better not to display “by Unknown” in the workflow list.
    2.4. In Alfred 1 on the Hotkeys tab you could see the associated hotkeys for the apps right from start. It would be nice to show in the list of workflows the shortcut too, or any other trigger if possible — that could be used as a cheatsheet sometimes.
    2.5. It would be nice to have a “Clone workflow” option under the “+” dropdown. When adding a lot of app-launching workflows it would be easier to clone and then edit existing ones than to create a new one from scratch each time.
    2.6. Is there a way to add a workflow as a “Template”? It would be handy.
    2.7. It would be nice if dragging app to a Alfred's workflow setup window would create a “launch app” action automatically.
    2.8. And so on — there could be made a lot of similar little shortcuts and helpers to make creating workflow easier.
     
    3. Feature request/quiestion: is there a way to make a workflow that would launch an app only if it's not already launched? There are some heavy-long-loading apps like Photoshop or Parallels which I don't want to launch occasinally when pressing some hotkey, howeever, if they're already run, I'd like to switch to them with that hotkey.
     
    4. I can't see any way to attach a script that would fire _after_ the app launches. What I want to do is to launch/switch to an app using Alfred Workflow and then, when it runs and the focus is on it, run the script. “Output: Run Script” don't work — it triggers before the focus goes to the launched app. I can use `delay` in the script of course, but that would be ugly.
     
    5. It would be nicer to have a way to select multiple blocks in a workflow editor, so I could drag them here and there altogether.
     
    6. It would be nice to have a way to split one workflow to multiple. Like if I have multiple hotkey-app pairs and would want to move one of them to a new workflow. Cloning workflows would be one of the way to do this, or/and it would be nice to drag multiple selected blocks to a “+” sign to create a new workflow from those items.
     
    - - -
     
    While new Alfred is great, it's really sad that you need to move all your previous hotkey actions by hand and that the replacement for them is slower
  4. Like
    woofy31 got a reaction from sylumer in Workflows Best Practices   
    Hey,
     
    I just wanted to ask you if it's OK if I write the equivalent Workflow library using AppleScript with the help of your code.. of course I will include in my source code the link to the original source, and the library will be shared for free on github. I'm just trying to help out all my fellow AppleScript gurus
     
    Please let me know if it's fine
  5. Like
    woofy31 got a reaction from Ginfuru in Run Simple Terminal Command in Alfred   
    Finally, a solution to the "open with.." list bug! Thanks so much
  6. Like
    woofy31 reacted to jdfwarrior in Problem generating feedback from file action   
    As Florian mentioned, you can only generate and pass back results using a script filter module. If you need to string several of those together, you would have to make another script filter, and make the final step of the previous run an applescript to "search" the keyword of the next step. OR you could erased the content of the current workflow, and save the previous value in a file to save context and continue
  7. Like
    woofy31 got a reaction from twinpeaks in [Workflow Helpers] AppleScript solution   
    Hey all Alfred lovers out there,
     
    After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps.
     
    This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows).
     
    P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  8. Like
    woofy31 got a reaction from palobo in [Workflow Helpers] AppleScript solution   
    Hey all Alfred lovers out there,
     
    After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps.
     
    This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows).
     
    P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  9. Like
    woofy31 got a reaction from Jono in [Workflow Helpers] AppleScript solution   
    Hey all Alfred lovers out there,
     
    After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps.
     
    This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows).
     
    P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  10. Like
    woofy31 got a reaction from Benzi in [Workflow Helpers] AppleScript solution   
    Hey all Alfred lovers out there,
     
    After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps.
     
    This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows).
     
    P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  11. Like
    woofy31 got a reaction from mdelegge in [Workflow Helpers] AppleScript solution   
    Hey all Alfred lovers out there,
     
    After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps.
     
    This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows).
     
    P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  12. Like
    woofy31 got a reaction from thesmer in Workflows Best Practices   
    Hey,
     
    I just wanted to ask you if it's OK if I write the equivalent Workflow library using AppleScript with the help of your code.. of course I will include in my source code the link to the original source, and the library will be shared for free on github. I'm just trying to help out all my fellow AppleScript gurus
     
    Please let me know if it's fine
×
×
  • Create New...