Jump to content

simonbs

Member
  • Posts

    48
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by simonbs

  1. I'll update this thread and the GitHub repository when new versions are available.
  2. I would also like to see support for JSON as output for script filters.
  3. It sure is! https://github.com/simonbs/alfred-youtube-workflow
  4. There you go, both of you I have added the "channel" keyword for showing a users YouTube videos and a configuration in top of youtube.py to show the view count in the subtitle. I can't really figure out if the view count should be enabled by default. Personally, I like to keep it simple. You can download the updated workflow here.
  5. Good idea. Let's do that. Do you have an idea for the keyword? Maybe just "channel"? Great! :-)
  6. That's right. If the articles haven't got the same name, my approach will not work. I have modified your Feedback class a bit to also set the 'valid' and the 'autocomplete' options. I hope that's all right. I have uploaded it here.
  7. I can't get the autocomplete flag working. Am I doing something wrong or is this not supported yet? This is what I am doing. When an invalid result is chosen, the Alfred window will disappear. { "uid": "someUID", "title": "Demo Title", "subtitle": "", "valid": "no", "autocomplete": "Demo Title", "icon": "icon.png" }
  8. You should either pass the query as commandline arguments to your script or parse the query yourself (e.g. split by words).
  9. I just added eight standard feeds. It can be downloaded here The commands for the standard feeds are quite long but they are just meant to show up when typing "youtube" and then let you choose from the list.
  10. Very nice, thanks! I added another Open URL action and set the it to open articles in my native language, Danish. Then, I added this as another action for the script filter and assigned a modifier key to it so I can choose to open the article in English or Danish. Just though I would share this "tip".
  11. The ZIP archive is not right. Download the ZIP from GitHub, unpack it and open the folder it creates. Select the files icon.png and info.plist and compress those. Now, change the extension of your new archive to alfredworkflow.
  12. Evernote has a pretty extensive support for AppleScript as well as great examples to get you started, so this should be fairly simple
  13. Hello, I quickly put together a workflow for controlling Tweetbot which I wanted to share The workflow uses the Tweetbot URL scheme. Currently, the following commands are supported. Parameters in brackets are optional and parameters in square brackets are required. When an account name can be specified and none is specified, the current account will be used. t (message) Posts a new tweet. tt (account name) Shows the timeline of specified account. tu [screen name] Shows the user profile of the user with the specified screen name. tmm (account name) Shows the mentions for the specified account. (Note: This command is ‘tmm’ because by default OS X will replace ‘tm’ with ™) tr (account name) Shows the retweets which appears in the accounts timeline. tdm (account name) Shows the direct messages that the account has received. tl (account name) Shows the lists that the account owns. tf (account name) Shows the tweets the account has marked as favorited. ts (account name) Searches using the specified account. (Note: Sadly this doesn’t seem to work with the ‘query’ parameter on OS X) tfo [screen name] Follows the user with the specified screen name. tun [screen name] Unfollows the user with the specified screen name. You can download it by following this link or grab the source code at GitHub.
  14. That is correct. That will not work currently. However, I'm not sure I agree that it should be changed as that action is meant for searching. If you want to open a specific URL, you could just use an AppleScript. In the current version of Alfred 2.0 you can just add an AppleScript as action and set the contents of the ActionScript to: on alfred_script(q) open location q end alfred_script This only works if the URL contains http:// but you can make sure that's add in your trigger or modify the AppleScript to add it if necessary.
  15. I have just added the standard YouTube video feeds but I have not uploaded the workflow yet as I can't really figure out if it's worth including or if it's just too much unnecessary fucntionality. Maybe you guys can help me figure out? I have added the following eight standard feeds. Googles "Most linked" standard feed seems to be broken at the moment. It doesn't return any items and therefore I haven't included it. What do you say? Is there any interest for adding this?
  16. I'm glad you liked it. Dissect it all you want
  17. Haha, could be it I'm glad to hear that it works!
  18. I think this is because you don't have the gdata module for Python installed. I have rewritten parts of the workflow to pull the JSON feed from Google directly and not use the gdata module. Instead, the urllib and json modules are used and I bet you have these installed Could you try to download the workflow again from this link and reinstall it? Maybe you have to delete the previous and install the new. I don't know if Alfred will overwrite previous installations of a workflow. Please let me hear if it works
  19. Hi, Just wanted to share the workflow I just created with other Alfred 2.0 beta testers. I hope that this is the right place to do so. The workflow allows the user to search YouTube and have the results returned to Alfred and then choose a video to watch. Just type youtube followed by the query. For example, the below will search for Rebecca Black videos. You can downloaded the latest version here and the source code is available at GitHub.
×
×
  • Create New...