Jump to content

palobo

Member
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    5

Reputation Activity

  1. Like
    palobo got a reaction from arsenty in Mail Actions Workflow [Updated v0.7]   
    Introducing Mail Actions

     
    Go crazy minimal with Mail.app and still stay functional thanks to the power of Alfred 2 Workflows. See it in Action here

    Features
    Use Alfred to:
    Navigate Mailboxes from Alfred.
    Drill down to the Mailbox you want and action the result. Move/Copy selected emails with Alfred.
    Type a few keywords to choose the desired folder. ↩ to move, ⌥+↩ to copy. Optimisations
    In order to limit the overhead of always having to query and generate a list of all Mailboxes, the workflow store the information in a plist file that is updated every 7 days. The file is located at:
    ~/Library/Application Support/Alfred 2/Workflow Data/com.palobo.mailactions/mbCache.plist Installation
    Download and import or alternatively use AlfPT.

    Usage
    Keywords
    mm - Move the selected messages to the chosen folder; mm - With ⌥ as modifier copies the messages rather than moving mg - Go To the chosen folder. mgu - Show list of mailboxes with unread messages
    minfo - Choose to view either Info & Usage or Change Log. Tries to use Marked otherwise it will use your default app for .md files. Hotkeys
    ⇧⌘A - Toggle script to Move/Copy messages ⇧⌘Z - Toggle script to Go To Mailbox; ⇧⌘R - Mark every unread message in current mailbox as read; ⇧⌘D - Delete every message in current mailbox!! (USe with caution) ⌘U - Show list of mailboxes with unread messages  
    Todo
    Implement an action to update the cache on demand; Add history feature, showing list of last X used mailboxes for quick access; Filter list of mailboxes with unread mail; Integrate other useful workflows such as send to evernote/taskpaper etc.; Changelog
    23-04-2013FIXED: Code optimisation by Carlos-SZ. Results are now limited to 20 mailboxes at a time. XML Encoding has also been optimised (Initial work by Carlos-Sz, improved by Ursan Razvan). 04-02-2013FIXED: Unread count was getting stored with folder list and not being updated on each run;
    NEW: Hotkey to mark all messages (unread messages in current mailbox) as read;
    NEW: Hotkey to delete every message in current mailbox (useful for me anyway)
     
    NEW: Keyword/Hotkey to show list of mailboxes with unread messages
    03-02-2013Now shows unread count next to mailboxes that have unread emails. 29-01-2013Added Support for Local Mailboxes Added a new Action to view Info & Usage or Change Log 28-01-2013Fixed small encoding bug where special characters weren't encoded thus forming invalid XML. 27-01-2013Fixed wrong information in the Go To action (Thanks CarlosNZ); Uploaded to AlfPT (Forgot to do that initially)
  2. Like
    palobo got a reaction from CarlosNZ in Add a notes section for developers and users to comment/note workflow and script usage/instructions/features...   
    For me, an ideal way of dealing with this would be to have an extra "action block" in the workflow. Imagine a block you can drag onto the workflow canvas and add any number of key:value pairs that would then be fed into the other blocks.
    Of course Andrew would have to weigh in on this with regards to complexity of such an implementation. Otherwise, it shouldn't be too hard to write, as CarlosNZ suggested, an AppleScript boilerplate for requesting some initial user input and saving this in a pliant,Jason, Xmas file in the workflow non-volatile directory.
  3. Like
    palobo reacted to phyllisstein in [Fixed] Search iTunes Store w/ feedback   
    Yeah, the iTunes API seems a little sluggish. I found that just caching images was enough, but that doesn't do a lick of good with new searches. As for bundling requests_cache, if you have both "requests" and "requests_cache" in your workflow's folder, you can alter `requests_cache/core.py` so that its imports look like this:
    import os import sys superpath = os.path.realpath("../") if superpath not in sys.path: sys.path.insert(0, superpath) from requests import Request try: from requests.hooks import dispatch_hook except ImportError: dispatch_hook = None  
    That'll cause it to find the requests module and patch it appropriately, at least as far as I can tell from eyeballing the speed pre- and post-change. When downloading a bundleable requests, be sure to check their git repository for a version tagged 0.14.2; 1.x.x won't work with requests_cache.
  4. Like
    palobo got a reaction from mlgill in XML parsing with bash script?   
    Alfredo has put together a nice little python module that generates the appropriate feedback.
     
    Download here: http://d.pr/f/GMO8
     
    Original source: http://www.alfredforum.com/index.php?/topic/63-wikipedia-auto-complete-workflow-python/
  5. Like
    palobo reacted to robhor in Drill-Down Menus: Movie search (OMDb-API) & Alfred Repo   
    Hey,   I was experimenting with workflows that allowed "drilling down" into an result to provide more options, and here's what I came up with.   Firstly, a workflow that uses omdbapi.com to search for movies, actioning a result shows you more information and actions.   Download: here or via AlfPT     As a second workflow using this I built an alternative client workflow to Tom Hunt's Alfred Workflow repository. It has some performance improvements over the "official" AlfPT workflow, and a few extras like updating all workflows, uninstalling and opening workflow folder from within the workflow.    
    Download: here or via AlfPT
  6. Like
    palobo got a reaction from davidzumini in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  7. Like
    palobo got a reaction from papayaboy80 in TicToc Toolbelt [Updated]   
    This is a Workflow solely aimed at TicToc



    You can download from here or install/update via AlfPT.

    Usage is rather simple
    ttlist - Lists all tasks in TicToc. It supports a quasi fuzzy search so start typing to filter the list. Actioning a result will toggle the task on/off ttrun - Lists running tasks. Actioning a result will toggle it off; ttinfo - Will show you a list of tasks, actioning a result item will show more detailed info for that particular task. Start date for each session, session duration and if a note is available, actioning will open it in Growl ttnew - Create a new task and start tracking it. Tip: Remember that you can set a modifier to action all visible results, effectively toggling all visible tasks.

    Here's a quick video of the workflow in action: http://cl.ly/0w2F0x1L2O44
     
    Update
    23-01-2013: Added ability to create a new task from Alfred.
    Todo
    Improve fuzzy search and add additional features... Suggestions?
  8. Like
    palobo got a reaction from Boarder24 in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  9. Like
    palobo reacted to MorseCode in FoldingText workflow   
    An Alfred workflow that compiles several useful FoldingText script extensions. Most of the individual scripts are available from the FoldingText homepage. I decided to create a streamlined workflow to house them in Alfred, which is much more user friendly than a bunch of random keyboard shortcuts. 
     
    Download FoldingText.alfredworkflow
     
    or clone repo from GitHub: github.com/Morse-Code/Alfred
     
     
    Actions available within the workflow inlclude the following:
    Expand/collapse document folds to a given level. Export from FoldingText to OmniFocus, OmniOutliner, OmniGraffle, or OPML. View current document in Marked.  Create Markdown links to open Safari tab(s). Thank you to everyone who contributed to this workflow with their open source code, and please let me know if I missed anyone. A special thanks to Robin Trew for providing most of the guts for the first three workflows. The scripts used can be found on Robin's GitHub repo at RobTrew/tree-tools.
     
    The workflow is for use with Alfred v. 2.x and will not work with earlier versions. Cheers.
  10. Like
    palobo reacted to ClintonStrong in Search Safari and Chrome Tabs [Updated Feb 8, 2014]   
    Search your tabs in Safari, Chrome, Chromium, Chrome Canary, and Webkit.



    When you action a result, it'll bring your browser to the front and switch to the selected tab. You can also close a tab by holding down alt when actioning a result.

    Download from Packal
     
    Updated Feb 8, 2014: Made it more resilient to an AppleScript error that could cause a blank output.
     
    Update #2, Feb 1, 2014: Fixed regression with searching. You should be able to search anchored by words (and capital letters in CamelCase words) again.
     
    Updated Feb 1, 2014: Rewrote the workflow. It now supports copying the URL of a tab, viewing a tab in QuickLook, and closing a tab with a modifier key.
     
    Updated Oct 11, 2013: Fixed issue with improper string encoding in Mavericks and Ruby 2.0 breaking the workflow.
     
    Updated Oct 9, 2013: Updated for Mavericks and Ruby 2.0.0. Removed thumbnails for now (beta versions of Safari don't seem to generate them anymore). Fixed some issues where the proper window wouldn't always focus correctly.
     
    Updated May 4, 2013: Experimental support for webpage thumbnails. Prevent launching browsers when WebKit is open.

    Updated Mar 26, 2013: (Hopefully) prevent launching browsers when it's not supposed to, and fix an issue with it not detecting WebKit.
  11. Like
    palobo got a reaction from MikhailT in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  12. Like
    palobo reacted to JonB in Minimal HUD   
    Thoughts? It would nice to be able to change the thickness of the border, but apart from that the customisation is pretty good!
     

  13. Like
    palobo got a reaction from bfolberth in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  14. Like
    palobo reacted to ClintonStrong in Debugging your workflows   
    Just wanted to share a few quick tips for debugging. If you're using /bin/bash to run a script, you can add "2> error.log" to output errors to a file. Example:
    ruby script.rb "{query}" 2> error.log  
    All errors will then be logged to error.log in your workflow's folder.
     
    Or if you want all output logged (perhaps so you can view the xml from a script filter), you could use tee:
     
    ruby script.rb "{query}" 2>&1 | tee output.log  
    That'll log errors from stderr in addition to standard output. Note that PHP doesn't output to stderr, so if you're using PHP you'll have to check PHP's error log instead.
     
    Also, if you have any formatting errors in a script filters' XML, Alfred will log it to Console.app.
     
    Hope this helps, and feel free to share your own tips.
     
  15. Like
    palobo got a reaction from MorseCode in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  16. Like
    palobo reacted to tomhunt in Workflow Updater alpha   
    Using a git repo could be a good goal for the future, but personally I think it could be a bit of overkill in these early stages.

    AlfPT (Alfred Package Tool)

    I've implemented a simple system on my server. Download this workflow to test it:

    http://alfredrepo.tom-hunt.co.uk/wf/th_alfpt.alfredworkflow


    Go to http://alfredrepo.tom-hunt.co.uk to upload your workflows. Make sure they have bundle id assigned!

    Once you've uploaded your workflow you can search for it using alfpt install. To update already installed workflows use alfpt update / alfpt update -f. Currently it is assumed that you've installed your workflows entirely using alfpt which is obviously not acceptable, but it shouldn't be too hard to test whether a workflow is available in the repo before listing it for update.

    I'm sure this is completely bug-ridden at the moment (I'm rushing through this as fast as possible while I've got the time). Please upload a workflow (even just a test one at the moment) and let's see how this performs.

    Next steps:

    Verify if a workflow is available in the repo for update
    Use the icon.png from each uploaded workflow
    Search terms (it currently just lists everything)



    Tom
  17. Like
    palobo reacted to jdfwarrior in Workflow Updater alpha   
    I can't confirm the naming of the folders issue as I haven't tried it but.. yeah, github COULD potentially do some of this stuff but that requires that every use have git installed and things like that. It could work as a stop-gap but not near as elegant of a solution as what tomhunt and I are discussing. The reason I say this is, yes, you could stick stuff on github and make it read a file there and such. I did that in v1. The major difference here that it seems like both tomhunt and I are searching for is a central location that would manage them all so it could be searched, pull updates, rate stuff etc. His solution is smaller initially but it would be amazing if we could pull something together that is similar to the overall goal I mentioned above. I'd really be interested to see if we could get a group of guys with some design, web experience and get something like this created. This could be the "Unofficial Alfredapp Workflow/Extension Store". Imagine how awesome it would be to be able to enter a keyword to fire a script filter and search the site and get back a list of matching workflows, press enter, and that be installed on your machine. Want simons youtube workflow, enter 'ws youtube' and it shows in a list of youtube related workflows, <enter>, its installed.
  18. Like
    palobo reacted to mcskrzypczak in Tiny theme   
    Hi all!

    Just want to show you my theme - tiny with no borders, no rounded rectangles, whites and grays, a little bit of transparency and Lucida Grande font.

    Hope you like it.

    You can add it by download this file (minimum Alfred v2 b74 required). - updated Jan 21st 2013



     
    Here is v2 of my tiny theme with gray selection for better readability.
     
    Download here.
     

  19. Like
    palobo got a reaction from Enhorn in Workflow Updater alpha   
    Hey guys, I'll be away from the Mac for a few days so I can't look into this myself, but here's a quick thought/question. Currently, when importing a workflow, Alfred generates some random numbered folder, if however it would generate a folder base on the workflow name, this could be done which great ease using git.
    Just include and action in the workflow to issue a git update and pull anything that had change, no need to download the whole workflow again. Feasible? Totally absurd? Let me know.
  20. Like
    palobo reacted to simonbs in 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 :-)
  21. Like
    palobo reacted to untidey in "50 Shades of Grey" Dark, monotone theme   
  22. Like
    palobo got a reaction from drking in Minimal [Updated - Download Available]   
    I like mine minimal. 
     
    v3 Download here (Over 1000 downloads already. Thank you all!)
    v2 Download here
    v1 Download here
     
     


     
    Although you can't see it, it has a very slight transparency letting th back show just a tad.
     
    Tip: Install the latest version and apply a blur to it. Looks SO cool.
  23. Like
    palobo got a reaction from Florian in App Store Linker   
    Ok, so I can't yet post the complete workflow because my batteries are dying (Mac and me both) but here's a little teaser http://cl.ly/M8Vf
     
    The workflow pulls each apps icon from the itunes store as well as the link. Then it forms a proper affiliate link and copies it to clipboard.
     
    Tomorrow I'll post the complete workflow... Just couldn't go to bed without joining in on the fun
     
    NIght all
    PL
  24. Like
    palobo reacted to jdfwarrior in Pinboard Search (beta?)   
    There may be issues with this, I wanted to post it to let people test it. Special characters may still cause an issue.
     
    http://d.pr/f/YzAy
     
    To set it up, go log into your Pinboard account on pinboard.in. Then go to Settings, and Password. Toward the bottom they provide you with API key. Copy that value. In Alfred, use the pinboardsetup keyword to enter that key. So: pinboardsetup <key>
     
    After that, just use: pb <query> 
     
    It may take a second to sync your bookmarks to local. Subsequent calls should be fast. It will update the next time you search if the last time was more than 5 minutes ago. I still need to work on getting just the updated bookmarks and adding those in. I just wanted a few people to test this and play with it.
  25. Like
    palobo reacted to dansherman in Solarized - Light   
    Pretty much what the title says. Most of the time I use plain old white, but I thought I'd try something new with the new version.
     

×
×
  • Create New...