Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by bengr

  1. This works. I meant the aliasing to /Applications. Is that coming to v3 as well?
  2. Hey, I saw a workflow request on /r/Alfred that interested me as well, and saw that no one made it yet, so I quickly wrapped up one with a little bit of Google-ing. Basically, it's a really basic workflow that moves your current window between monitor(s) with the tap of a hotkey or by entering "jump" into Alfred (both are configurable of course). I don't think I'll be maintaining this workflow, as there really is not much to maintain, it's a very simple AppleScript behind, but feel free to comment here and I'll check it every once in a while to see if anything is needed. Download
  3. Thanks for the workflow, this is the first one I found that actually works (for the most part, see below). Please note that if you're trying to rename a file with more than one word, you only get the first word as the default "rename-to" filename. I don't have much time to look at the code and try to fix it unfortunately, but I'm sure you'll push an update fixing this soon enough, shouldn't be a huge bug to fix, considering the renaming works fine, just the preview doesn't "populate" with the default filename properly.
  4. This could be made in a workflow, like most other stuff in Alfred to be honest (but that's just because the workflows are such a powerful thing in Alfred), but it's such a core thing that it should be integrated into Alfred itself. Hell, it shouldn't even be a Powerpack feature. You can say the same thing on the calculator, custom searches, Terminal execution, file search etc. The list just goes on and on (and if I'm not mistaken, Andrew said once on Twitter that every feature in Alfred 2 is essentially made by a workflow), but that doesn't mean that you shouldn't integrate stuff into Alfred itself. Core thing should come out of the box, and more so when executing them in Alfred itself (integrated rather in a user-made workflow) would be a lot nicer and less "hack-ish". This is a great example - to rename a file using a workflow, you have to re-invoke Alfred after the file action (unless you do it in an AppleScript, which can pop up a message box with a textbox in it etc), but that feels really hack-y to me.
  5. Hey, I suggested this feature back in v1 already, but thought of maybe suggesting it again, hoping it would be added to Alfred 2 sometime. From the file action menu there's no option to rename a file. I can't think it would be that hard to incorporate into Alfred in a nice fashion. This can be done in a workflow I believe, but it would be made in a really "ugly" fashion (like the color labeling workflow here, which re-invokes Alfred after the action is selected), and it's such a useful thing that I think it should be a part of Alfred itself. Please add this to Alfred. Thanks, Ben
  6. Hey all, I've developed a version re-written from the group up again, to ditch WolframAlpha's slow and sluggish API in favor of a faster, lighter one of worldweatheronline.com. This version can be found here, if anyone is interested (also updated the main topic). However, I would recommend using CarlosNZ's TimeZones workflow instead of this one, since it's more robust, custom and faster (relies on Google's API. And to be honest, no service can compete with Google's speeds). Therefore, from hereon forwards I'm freezing the development of TimeIn, as I don't have that much time to develop it, especially since TimeZones does the same thing, better.
  7. The workflow currently relies on WolframAlpha for getting it's data. From my testing, it only shows time in 12-hour format unfortunately (I'd also like it to be location-based, or somehow be able to get the time in a 24 hour format). I'll have to look into other services and see if they're able to retrieve the time in other formats, or build something to convert 12 hours format to a 24-hour one. In any case, I'll look into it when I have the time.
  8. No problem, there's always a first time for everything, even executing a command in Terminal .
  9. I suppose you never messed around in Terminal before, huh? . When you're required your admin password, you don't see the input. So just type it in, trusting that the keyboard works, and press return when you're finished, you should see the command running.
  10. Thanks. Never heard of Shortcat until now, glad I did though , seems very useful, especially with the workflow.
  11. You mean that in the first query, 8:20 is the time in your location, and you'd get the time in New York for that time? Or the other way around (getting the local time for a given time (8:20 in this case) in New York)?
  12. Here's a quick change I made to the existing workflow to work in the said manner - just use it as usual, and it'll output to the Notification Center/Growl. You can download it here. Also, I noticed that it now works for cities too (and not just for countries), so I'll look into this issue later to try and figure out why Wolfram doesn't like city flags, and make it behave again .
  13. The new version works perfectly, tried both English and Hebrew. Thanks .
  14. Hey, I just tried this in Chrome and it doesn't seem to populate results back to Alfred. I'm just getting stuck on this screen:
  15. Could you maybe post the new workflow? I tried changing the file etc but after everything I just get stuck in the "Loading..." phase in Alfred and it doesn't seem to populate with anything. I tried multiple applications.
  16. Thanks for the change. I combined both versions into this. Basically allows "w en <query>" for English Wikipedia and "w he <query>" for Hebrew Wikipedia. You can easily change and duplicate for more languages, just look at the w_he.py file in the workflow and replace every occurrence of "he" with your language's shortened term. Also, I'm sure the main script by Benzi can be changed like so that it'll accept another parameter for language, but I too lazy to change it . Basically you'll need to add another parameter for both the search_for and the resultParse functions, that'll be the language, than parse the query into the first word (which'll be the language), and the rest, which'll be the rest of the query (the actual query that'll be passed on to Wikipedia to be searched for).
  17. Thanks. I currently don't have any use for this feature myself, as I wrote above. I just thought it might be better to write it down here in case someone had an idea oh how to leverage such a feature in their workflow(s). If I'll have an idea that might need this I'll be sure to ask you how to do this though, thanks again.
  18. Basically what the title says. I'm not 100% sure myself if, or how this might be useful to anyone, but I figured I'd at least throw it out there in case somebody might have a good use to it. It'll work in a manner similar to passing a query from one action to the other on a single workflow, but you could set an action to use another (chosen) workflow(s) with the given {query}. This could be utilised, for example in Andrew's "Should I watch this movie?" workflow, where you could just pass the query to three different workflows. This way the user could utilize the use of the workflow further. P.S This could cause some headache and redundancy I presume, since workflows might count on one another, they'll need to install more workflows to work, so something like dependencies in apt-get might be needed (if anyone knows how it works basically, they have a great system for checking for dependencies when installing packages).
  19. I'm also interested in this feature. You can't always use a regex to keep things under control, as sometimes the user input doesn't have any special meaning that can be roofed under a regular expression. I don't have a good example(s) for script(s) that might use this feature apart from mine at least, but I'm sure people on here are creative enough and will find a use to it quickly enough . TL;DR Please add this feature as a checkbox under the settings of a 'Script Filter' in a workflow. I'm sure it'll be useful for enough workflows.
  20. I was just about to try and implement the same thing for Hebrew, glad someone already did the hard work for me . Oddly enough, I can't get it to work in Hebrew though, I presume it has something to do with the script's encoding, which I wasn't able to change to UTF-8 for some reason and still have the script working. Would be more than glad if someone could look into this and maybe help me solve this .
  21. It is, as you can see in the second screenshot, which I took just yesterday. I'll try to look into it, but it's definitely very weird since it worked just fine yesterday.
  22. Seems to me like the WolframAlpha API was installed successfully, so that's good (as confirmed by the Terminal output, as well as the result you're getting for your query, which are obviously from WolframAlpha, based on their content). Please try to enter another query, not for London (oddly enough, I'm getting the same result as you are at the moment for London). Maybe try: "timein New Zeland", that seemed to have worked for me just now.
  • Create New...