Jump to content

jdfwarrior

Member
  • Posts

    2,028
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by jdfwarrior

  1. Thats not what the alfred:// url scheme is for. However, you could easily create this functionality using Applescript.
  2. Actions aren't limited to a single input. Why not just have the separate keyword that both use the same action/script?
  3. Alfred has the ability to do such this but Andrew has tried to make features that REQUIRE an internet connection a default feature. I know most of the time now days people will have an internet connection, but there are always special cases. You can set your own fallback search but workflows currently aren't available as fallback searches. Andrew and I have discussed the possibility of adding that feature but it isn't a definite as Andrew says there could be some serious implications with adding this functionality. I'm not sure what they are myself but I'm sure if Andrew left it out there is definitely a reason. I hope this clears things up.
  4. Just made a little update to this to make it so that you could remove servers from the list. Just use the srv keyword to get your server list, highlight the server you want to delete, and press cmd+enter to delete it from the server list Download
  5. I didn't add that because it wasn't something that Steven_ originally asked for. I guess I could make a quick edit to remove one by typing 'srv' and in the list, highlight one and press cmd+enter. I'll try to get it posted later.
  6. You can do a file search by pressing cmd+space then pressing space on more time. It places a ' at the beginning but that does a file search. If you are dead set on having a hotkey, I can make something for you. Just let me know.
  7. Guys, This is something that Andrew and I had discussed before. He's aware of the fact that it would be useful for workflow devs to have little things like this. Hopefully this is something that can be added in the future.
  8. Yeah that's probably what it is.. I can update it again and put the epoch in the uid as well so it won't get sorted via knowledge.
  9. Does it do it every time? Can you try this version and see if it works correctly? I made a small comparison function to sort the array items based on the epoch value of that day. I can't test it properly because I've never noticed it do that. They have always shown up in the correct order for me. http://d.pr/f/rEpc
  10. By Alfred feedback I mean that, with Alfred 2 you now have the ability to generate results that show up in Alfred. So, as you would do a typical search in Alfred and you get the list of results, with workflows now, you can generate your own list of items to show as results and action those. To actually grab that data from mdfind for use... you would have to use some kind of script to grab the output of the mdfind command. The majority of my workflows are based on PHP. With PHP I can run system commands (mdfind) and grab that output (the list of matching files) and have them show up as results in Alfred. This feedback is XML based. See the documentation for Alfred Feedback here
  11. tomhunt: I don't know if I mentioned before but, let me know if there is anything that I can do to help.
  12. Yea but, what I'm saying is... in both keywords... it shows <location>: <condition> High: <temp f> (<temp c>) Low: <temp f> (<temp c>) It shows both. Why would you need to tinker with anything? It shows both formats
  13. Very possible. I've done just that with my mail workflow. It uses mdfind to search the drive using Spotlights metadata and grabs the results and shows those as Alfred feedback
  14. It shows F and C in the conditions and the forecast data... I did that intentionally so people wouldn't have to worry with setting the default kind
  15. I may have to find another way to make it locate the chrome bookmarks file. I was trying to make it link directly to where the file should be but foreign languages are making that difficult because the file structure is diff. I may have to do a rewrite of this workflow to make it work for the users with foreign languages. I also accidentally included a database file that had MY path saved in it originally so people had to delete the bookmarks.db file to get it to work.
  16. I'll give you a quick overview. addserver - Accepts the input and then splits it into an array based on <space> so it can grab the name and server values separately. It checks to see if servers.json exists. If so, adds the new entry to the servers list and writes it back to the json file. If the servers.json file doesn't exist, it makes a new array (the single, new server), and writes that to a new servers.json. Echos success. srv - Looks for the servers.json file. If it's there, it reads the file and formats the server list as xml for Alfred feedback. If the file doesn't exist, it returns a feedback item saying that no servers are available.
  17. If you need help with any of this, let me know. I'd be glad to help you out with any of it. Really like the workflow. It was an awesome idea.
  18. Well done sir. I like it. Also, just as a note, instead of the applescript, this could have been done with the Open File action, or a script. The Open File requires no code, just drag the Finder icon into the box to tell it to open with Finder
  19. you could add an output item of "Copy to Clipboard" and attach that to the back end of your script item and I think that will push the errors to your clipboard
  20. Yeah sorry I forgot to tell you how to enter them Use: Syntax addserver <name> <path> Example addserver file_server afp://127.0.0.1 My bad.. I added a "name" so you could have an easily recognizable name for the servers too if you wanted.. One downside to it is that it doesn't spaces in the name right now. I can fix that for you later if you'd like. Let me know if you get it working
  21. And by the way, good idea on making the python module to speed up making workflows and dealing with results. I have the same thing for php because that's what I do most of my workflows in. I have a helper class object that has functions for: 1. converting associative arrays or json objects into properly formatted xml for alfred 2. creating local sqlite databases and working with them (helper functions to make working with the database easier 3. getting/setting data to plists 4. getting/setting data to json files for storage/cache and more.. Maybe that will give you some ideas of other ways to expand it. Good luck
  22. Is this a script that has no argument? A script filter with no argument fires as soon as the keyword is matched. That keyword can also still be used to search other stuff as well. My example would be, for the Rdio workflow I made.. entering 'Rdio' in Alfred results in... Rdio.app (the application) Search Rdio (the search script filter I made for Rdio.. keyword = rdio) Now Playing (another script filter that has no argument, fires immediately, and provides feedback of whats playing in Rdio, keyword = rdio) Does that make sense?
  23. Mind if I ask what language you are creating this script in? I do similar things with php all the time.
×
×
  • Create New...