Jump to content

simonbs

Member
  • Content count

    48
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by simonbs

  1. Hello, I have used this workflow developed by Robert Hovath but I often want to look up and actor, so I decided to make my own workflow for searching for actors, movies and TV series on IMDb and I'ld like to share it with you The workflow uses one single command. m [query] Looks up a movie, TV series or actor matching the query.If a movie or TV series is selected, detailed information will be loaded from OMDb and shown. The detailed information includes the option for watching plot summary and a poster in quick look, view a list of actors in Alfred and view a trailer on YouTube. If an actor is selected, the corresponding IMDb website will be opened. I like to keep the commands I often use very short and therefore I chose just 'm'. If you don't like it, I'm sure you know how to change it. You can download the latest version here or grab the source code at GitHub. I'm sorry that the workflow is not yet available on AlfPT but I'm unable to upload my workflows
  2. simonbs

    YouTube workflow

    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.
  3. simonbs

    YouTube workflow

    Hi Shanxs, Recently YouTube changed their API. Due to the changes, the workflow no longer works. I would love to update this workflow to accomodate the changes but right now, I don't have the time. The workflow is open sourced on Github and I will be happy to merge the changes, if someone takes the time to fix it. Actually, it shouldn't be too difficult to make the changes. I recently updated one of our commercial apps to the new YouTube API. Best regards, Simon Støvring
  4. simonbs

    Tweetbot workflow

    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.
  5. Hi, I have just created a little workflow which searches Lyric Wiki for lyrics for the song currently being played in Spotify. Maybe it can be useful for others as well :-) The workflow has a single command lyrics which searches Lyric wiki for the lyric. If the lyric is found, you can open it in your default browser. The source for the workflow is available on GitHub where you can also download the workflow. Best regards, Simon Støvring
  6. simonbs

    CloudApp Workflow

    Hello, I have made a workflow which makes it easy to upload files to CloudApp as well as view and delete recent uploads. The workflow can also be used to create bookmarks on CloudApp. This is practically the same as a cool URL shortener The below description of the workflow is the same that you can find in this blog post or on GitHub. Yup, I'm just being lazy Features Two file actions to upload a file to CloudApp. One action uploads as a public file while to other uploads the file as privately. View items recently uploaded to CloudApp and select one to copy the URL to the item. Send a bookmark to CloudApp. This is practically a very cool URL shortener. Especially if you have your own domain attached to your CloudApp account. You do make mistakes, right? And you don’t want those mistakes on the interwebs, right? Delete items which were recently uploaded. Commands cloud Lists the recently uploaded files. Selecting one will copy the URL to the clipboard. bookmark (url) Bookmarks the URL and copies the URL to the clipboard. This can be disabled in config.json. delcloud Lists the recently uploaded files. Selecting one will delete the file from CloudApp. And of course, files can be uploaded to CloudApp from the file actions. Installation The workflow is written in Python and uses pycloudapp by Luis Nell. Because I have modified this wrapper a bit to get private file uploads working, this is bundled in the workflow. You do however need to install poster which the wrapper uses. This is easily done using the easy_install command. If you don’t have easy_install installed (you probably do if you ever write Python scripts :-)), you can grab it here and follow the installation instructions. Fire up a terminal and write: easy_install poster You’ll probably need to use sudo. Now you’re ready to configure the workflow. Either download the the newest version of the workflow or grab it from GitHub. If you downloaded the workflow with a .alfredworkflow extension, you must change the extension to .zip and decompress the archive. This probably created a directory. If so, open it. Now, copy the file config.temp.json and rename it to config.json. Fill in your username and password for CloudApp. Your username is probably your e-mail address. The attribute ‘copy_to_clipboard’ defines whether or not the URL should be copied to your clipboard when a file has been uploaded or a bookmark has been created. You can disable this, if you don’t want that behaviour. Now you’re almost done. Select all the files in the directory, right click them and choose “Create archive”. Change the extension of the newly created archive from .zip to .alfredworkflow. It is important that you do not archive the folder but only its contents. Double click the file you just created and you’re done :-)
  7. simonbs

    YouTube workflow

    Thanks, that's cool. Didn't know about your site. That's a great initiative. Any chance you can add my other workflows? https://github.com/simonbs/alfred-cloudapp-workflow https://github.com/simonbs/alfred-safari-tabs-workflow https://github.com/simonbs/alfred-movies-workflow https://github.com/simonbs/alfred-tweetbot-workflow
  8. simonbs

    YouTube workflow

    Woaaah!! That's magic! Really cool. Thanks for the tip
  9. simonbs

    Safari Tabs workflow

    Hi, I like the Google Chrome Tab Search workflow that alfredo has developed but as I primarily use Safari, I decided to make a similar workflow which searches tabs in Safari. The workflow allows you to search all open tabs in all open windows and selecting a result will change to the tab and focus the window. The workflow only includes one command: tabs (query) Searches for tabs matching the specified query. Both name of the tab as well as the URL is matched. The query is optional and if no query is specified, all open tabs will be listed.When ”hovering” over a tab in the list, you can use one of the following modifier keys or, of course, simply select the tab to bring it to focus. The modifier keys and their actions are listed below. alt Creates a new e-mail with Mail.app in which the name of the tab is the subject and the URL is included in the contents. ctrl Closes all tabs and windows but the selected tab. cmd Closes the selected tab. Dowload the latest version of the workflow here or, as always, you can grab the source code at GitHub. Please tell me if you find a bug or have a great idea to expand the workflow
  10. simonbs

    Safari Tabs workflow

    Hm, that is strange. I'm glad that it works now
  11. simonbs

    Safari Tabs workflow

    I'm not sure why this might happen for you. Do you have the latest version of Alfred 2 installed? Can you try open just one window with one simple tab (e.g. "Google", nothing fancy) and see if it works?
  12. simonbs

    Safari Tabs workflow

    Thank you! That's great. I had been struggling with focusing the correct window and in the end I came up with some "hack" solution which made the window animate and what not. Your solution is way more elegant. I have also fixed the issue with quotes in names. Anyone using the workflow should update it to the latest version.
  13. simonbs

    Search IMDb with Movies workflow

    Ah, yes. Brain fart. It should be fixed now. Grab the latest version.
  14. I'm getting the below error when trying to upload a workflow. I have tried three different workflows and all have a bundle ID set in Alfred. Am I doing something wrong?
  15. simonbs

    YouTube workflow

    I have seen that before, however, I am not able to reproduce the issue. Do you have the latest version of Alfred (b79)? If not, download it from here and see if that helps. http://media.alfredapp.com/v2beta/
  16. simonbs

    YouTube workflow

    I have updated the workflow to use autocompletion. The commands are now "youtube" for a quick and dirty search and "yt" for full functionality. Type "yt" to show autocompletions. Grab the latest version here.
  17. simonbs

    Tweetbot workflow

    The workflow is updated to only use a single keyword and autocompletion. This makes it way easier to control Tweetbot as well as remember the commands. Grab the new version here.
  18. Hello, It would be great if you could somehow enter configurations in a workflow and these configurations would apply to the entire workflow. This could simply be a textbox with some JSON that the workflows could access and parse. I don't think anything fancy is needed. For example, in my CloudApp workflow (more on this here), I need people who use it to edit a file to enter the credentials for their CloudApp account and archive the files themselves. It would be way easier if they could just import the workflow and fill out the needed fields.
  19. simonbs

    YouTube workflow

    That’s definitely possible but as you mention this would require some configurations and authentication. I would like to keep this workflow very easy to use and therefore I don't think that I will include this yet. Hopefully Alfred will some day include a way to do "workflow wide" configurations from within the workflow editor. I have suggested that here. http://www.alfredforum.com/index.php?/topic/174-configurations-in-a-workflow/
  20. I see. I guess you could return a row when a satisfying pattern is entered (e.g. "timer (min) (message)"). The row would say "Start timer" and have "start-(min)-(message)" as argument, call a script (possibly another dunction in the same script) as action and the newly called function will set the timer with the argument parsed and display a notification. There might be a better way but this is what just what popped into my head
  21. It's correct why aiyo says. That's the way to do it. To avoid having multiple notifications shown, you could remove the bash script and the notification action from your workflow and make your script filter display the notifications and only do it when you want it to.
  22. simonbs

    Workflow Updater alpha

    I was actually thinking something like this too. I don't think that the directories need to be named something specific. Each directory is just initialized with a git repository. Then it's easy to see if there are any updates and pull those. You can even just do a completely new checkout or in any other way force the update to overwrite everything. Of course, developers would have to put configurations in a config file then but that's best practice any way This also solves the problem of storing and managing all available workflows. They could simply sit in a repository on GitHub. This is also discussed here. New workflows are then added with a pull request. Easy peasy.
  23. simonbs

    Transmit favorites workflow

    Sweet! Thank you :-)
  24. I have updated Peter Okmas Feedback class to set "valid" and "autocomplete" on the item. Read more about this here. You can download the updated class here, if you want it.
×