Jump to content

bencfd

Member
  • Posts

    63
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by bencfd

  1. I'm afraid it's not just a time problem. By pasting the pin code in Alfred, I managed to get Alfred display "pair 1234", and the so-called "Please wait" subtext appears as it should ("Pairing..."). But after few seconds, the fallback searches show again. Has anyone else managed to pair Alfred to iTunes?
  2. Hi, You can add this folder under the Privacy tab of the Spotlight prefpane. Or, if I remember well, you can add to this folder the Spotlight tag alfred:ignore.
  3. Hi! This sounds really great! However, as soon as I start to type the pin, Alfred shows the fallback search (so it's impossible to pair Alfred to iTunes). In addition, do you think it would be possible aldo to support "Add to queue" and generate Genius playlist that way?
  4. dfay is right, this script was written for iTunes 10, and doesn't work anymore with iTunes 11... I wish someone could find a new way to generate genius playlist. Or Apple to make it AppleScriptable.
  5. Which running workflow are you referring to? Then I think I can handle the AppleScript part.
  6. Hi there, I think it would be great to be able to minimize windows directly from Alfred, since it can otherwise be done only for the active application. Here's my idea: this workflow would work very similarly to the quit keyword (say, with a mini keyword). Thanks to a script filter maybe, Alfred would show the list of running processes. When hitting return on one of them, all the windows of this process would be minimized. Do you have any idea how to achieve that? Thanks!
  7. Aaaaaah, I created mine yesterday but I also wanted to make it a real toggle before sharing... You were too fast Anyway, good job!
  8. Doesn't adding <your custom url search with query> in a "Open URL" action do the trick?
  9. I started to simplify the script with your read and toxml functions. The script still works well when it is directly written in the Alfred Script Filter, but (exactly the same script wrapped in <?php / ?>) doesn't work from an external file (still the same bash command than previously posted). Also, running the script from Terminal returned nothing, neither the XML nor an error.
  10. This can be done by enabling the option "Automatically paste to front most app", in the "Copy to clipboard" box.
  11. I definitely want to use this approach. However, just trying to put the php code in a external file (in the workflow folder) makes my creepy-but-functional workflow ineffective. In the script filter settings I chose the language bin/bash and wrote: php -f texshop.php -- "{query}" and it doesn't work anymore. I'm already stuck at this very first step.
  12. In the Workflows tab, create a new one [+] > Templates > Show Alfred > Show Alfred with selected text. In the settings window, give the hotkey you want and choose to place cursor on left side. Thus, you can type the keyword you want. But be sure that this keyword is linked somewhere else to make the manipulations you want, with a script for instance. At the end, the script can copy your manipulated text to the clipboard.
  13. From Alfred v1, I have a set a custom searches to search the iTunes Store (not the Mac AppStore) for either anything: itunes://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?term={query} or a specific kind of content (e.g., a song) itunes://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?entity=song&term={query} and the equivalent for album, artist, track, movie, podcast and app (iOS app). Each of them is meant to be run from a specific keyword. I would like to reproduce your Mac AppStore workflow for these iTunes Store searches. However, I have no idea how to manipulate your Python script. Would you be so nice to provide an example for one them, if possible? Then I should be able to reproduce it for the other searches.
  14. If I understand, you want to open this file in two apps without seeing Alfred. Well for that, I would write an AppleScript to do so, and ask Alfred only to run this script when you hit your hotkey.
  15. Is it always the same file that you want to open, or would you prefer to be able to choose the one you want from Alfred, and then open it?
  16. In Alfred settings > Features > File Search > Actions, you can select your preferred "Show actions" keys, as well as the default actions you want to enable. Typing the name of an app in Alfred, just hit one of these "Show actions" keys, and you should find the "Recent Documents..." action. Hit return and you will see the list of recent files for this app.
  17. Hi, You can do this using a "file filter" (inputs), with the keyword you want, and link it to two different "open file" (actions). For each of them, drop the two applications you want to open the file. Additionally, you can link a "hotkey" (triggers) to your file filter, to get Alfred ready for this specific workflow.
  18. You can assigned hotkey to a vast diversity of actions from the Workflows tab. I was also frustrated at the beginning that hotkeys don't have their own tab in v2, but since I got used to workflows, I now think it makes sense to have them all together.
  19. Ok, I finally managed to get it work. I'm afraid it doesn't follow the Workflow Best Practices, but... Here is a link: http://d.pr/f/SJjW However, the code or Alfred (I don't know) adds an extra carriage return to the text to paste. Any idea where does it come from?
  20. Hi, Using exactly the same code, it works for me, the query goes to the clipboard. Isn't your keyword used in another workflow? And does it require an argument?
  21. Running the command from the Terminal has the expected effect. On 10.8.3. Is the language of the script usr/bin/php right?
  22. Carlos is right if you use the action "Run script". However, if you selected "Run NSAppleScript", wrap your script in: on alfred_script(q) -- your script here end alfred_script To link elements, roll over the first one. An appendix should appear. Click on it and bring it to the next box.
  23. Nope! Also, David provided nice workflows to help to import some of the settings from v1 to v2. I think they are already included in v2. Edit: in case they are not included, here they are.
  24. Never mind, it happens to me quite often!
  25. Isn't Spotlight still indexing?
×
×
  • Create New...