Jump to content

vdesabou

Member
  • Posts

    465
  • Joined

  • Last visited

  • Days Won

    22

Reputation Activity

  1. Like
    vdesabou reacted to rice.shawn in Packal Updater   
    Finally here: Update your workflows with the Packal Updater.
     
    There is a longer explanation on the Packal page, so just check that one out, but I'll give you a short version here.
     
    The updater will upgrade any workflows that you have downloaded from Packal when an upgrade becomes available. It cannot upgrade any workflows that you did not download from Packal.
     
    When you launch it the first time, head over to the settings and configure how you want it to work. If you write workflows, then put in the name that you most often use. If you have a Packal account, put that name in there too. If you do those two things, then the updater won't try to upgrade your workflows. If there are workflows that you do not want to update if, say, you've modified them, then Blacklist them in the appropriate place, and the updater will ignore those workflows. 
     
    If you're running Mavericks (or, theoretically, Yosemite), then you'll have access to a nifty little GUI. If you're not, then, well, you don't, but you can still configure and do everything from Alfred itself. See the animated screenshots below for a quick demo of both.
     
    Three other notes:
     
    (1) The Updater Workflow uses the Alfred Bundler, which has been receiving an overhaul. If you run into some trouble with it, then just go ahead and delete your bundler directory, and it will re-install itself. A newer version of the bundler should be coming out soon that will make some great fixes, but you needn't worry about that because the bundler will update itself.
     
    (2) The Updater can send information to Packal about what workflows you have installed, enabled, and downloaded from Packal. It'll try to do this once a week if you do not disable the feature. It is anonymous reporting in that there is no way for me to figure out who you are from the data. Here's the command that I use to generate your unique identifier:
    ioreg -rd1 -c IOPlatformExpertDevice | awk '/IOPlatformUUID/ { split($0, line, "\""); printf("%s\n", line[4]); }' If you just plug that into a terminal, then you'll probably see something akin to:
      .
     
    (3) The Updater keeps backups of the workflows you've updated, so, if anything breaks, just open the backups folder and double-click the most recent version of the workflow to restore.
     
    Anyway, go grab it from Packal, and start updating.
     
    (And, as always, I think I've removed all the bugs, but, as I release this into the wild, I expect to find more. Just report them here.)
     
    Lastly, the updater can update itself according to my tests. Cool, right?
     
    Demo — Packal "GUI"
     

     
     
    Demo — Packal Script Filter Interface
     

  2. Like
    vdesabou reacted to Florian in History for hotkey triggered workflows   
    Hey guys,
    I really like how a hotkey triggered script filter behaves, with the nice icon on the left I use it for all of my main workflows, but then, I don't have any history...
    I was wondering if there is a reason why it is that way. For example ctrl+g is my google autocomplete search hotkey. And I'd really like to browse my last searches. Any idea?
    And if there is no real reason, any way it could be a new feature?
    Kisses
  3. Like
    vdesabou reacted to rice.shawn in Google Translate (Languages Configurable)   
    Note: the original version of this workflow utilized an unofficial API that Google Translate exposed. Unfortunately, the Google has shut down the API. There is an alternative workflow that uses the official (paid) Google Translate API that you can find here: http://www.packal.org/workflow/translate-api. It's actually pretty cheap. 
     
    Here's a little ditty that interfaces with Google Translate. The upside of this one is that it gives you access to all of Google Translate's languages (or at least about 80 of them). You can enable/disable languages from inside the workflow.
     
    Find it on Packal.
     
    Demo:
     

     
     
    Current Languages:
    Afrikaans Albanian Arabic Armenian Azerbaljani Basque Belarusian Bengali Bosnian Brazilian Portuguese Bulgarian Catalan Cebuano Chinese Croatian Czech Danish Dutch English Esperanto Estonian Filipino Finnish French Galician Georgian German Greek Gujarati Hatian Creole Hausa Hebrew Hindi Hmong Hungarian Icelandic Igbo Indonesian Irish Italian Japanese Javanese Kannada Khmer Korean Lao Latin Latvian Lithuanian Macedonian Malay Maltese Maori Marathi Mongolian Nepali Norwegian Persian Polish Portuguese Punjabi Romanian Russian Serbian Slovak Slovenian Somali Spanish Swahili Swedish Tamil Telugu Thai Turkish Ukranian Urdu Vietnamese Welsh Yiddish Yoruba Zulu
  4. Like
    vdesabou reacted to targumanu in Safari Reading List   
    This workflow allows you to view, open and add Safari reading list items.
     
    Features:
    View all your reading list items (keyword: RL). Search for specific items: Entering "rl apple iphone" will return reading list items whose page title or URL contains both "apple" and "iphone". View (and search) only unread reading list items (keyword: RLU). Add new items to your reading list (using keyword RLADD or hotkeys). Open all unread items (keyword: RLALL).   Direct download   Packal page   This workflow uses the awesome Alfred Objective-C framework.   Updates: v1.1: Option to view only unread Reading List items (default keyword: RLU).
      v1.2: Option to add new items to your reading list (keyword: RLADD).
    If the currently active app is a browser (Safari, Webkit, Chrome, Canary and Chromium are currently supported), you can just press Enter to add the URL of its active tab.
    You can also add URL's by typing or pasting.
    The workflow uses AppleScript to add new reading list items, so it requires Safari to be running.
    However, if Safari wasn't running, the workflow will quit it after it's done. (If you had no open windows in Safari, you won't even notice anything).
    Additionally, the workflow checks if the URL you are trying to add is valid by trying to download the <head> element of the corresponding page. So if you are disconnected from the Internet, or the page you are trying to add is unreachable, the workflow will consider the URL as invalid and won't add it.
    To make it add that URL without checking it for validity, use the modifier key (⌃).
      v1.3: Option to open all reading list items (keyword: RLALL).
      v1.4: The open all feature has been modified to open only unread items.
    (You can still open all your reading list items (including the read ones) by pressing Option.)
      v1.4.1: Fixed a typo
      v1.4.2: Fixed yet another typo
  5. Like
    vdesabou reacted to dfay in Workflow Picker   
    Yeah, it's reading your .plist correctly but it seems there's no 'categories' key in your plist.  This probably means you haven't created any.
     
    I just posted an updated version which should handle this situation and just default to All.
  6. Like
    vdesabou reacted to Jono in Add reminders & tasks to Reminders.app   
    There are already a few Alfred workflows out there for adding reminders and tasks to Reminders.app. Mine is about quickly adding tasks to different lists by typing the first letter of the name of the list, then the task or reminder.   Usage  
    Here’s some examples:       Typing ‘w finish the report' would add that task to the list named Work. Typing ‘r pick up dry cleaning sat at 6:30pm' would add that task to the list named Reminders with an alert set for 6:30pm on Saturday. Typing ‘g milk' would add that item to the Groceries list.   Because of my OCD the workflow will automatically capitalise the first letter of the task The workflow uses the best parsing engine, Fantastical's, so you’ll need to have that app to be able to use this workflow.   To show all of your lists type +r in Alfred       The workflow shows Notification Centre messages when items are added       Holding down the Option key when hitting Return it will open up the item in Fantastical. Otherwise hitting Return (without Option) will add the task without showing Fantastical.   Download: Add Reminders Alfred workflow   Setup The workflow comes with some pre-named lists:   Reminders Home Work Study Groceries   In the workflow editor delete ones you don’t want or duplicate them to create more. To rename the lists to match yours open the script part of the workflow ‘Run NSAppleScript’ on the right hand side and change the name and list colour (for Notification Centre) at the top between the double lines. To change the colour of a list icon shown in Alfred open the keyword part of the workflow (left hand side) and drag the icon from the ‘Alfred - Reminders List Icons’ folder into the image well.   The workflow uses MountainNotifier for the Notification Centre messages. Once downloaded place it in /usr/bin/   To do this, in Finder’s menu bar select Go > Go to Folder… (or hit Command-Shift-G) and paste in: /usr/bin/   Then place the ‘Automation’ folder (inside the ‘Notification Centre’ folder) in your ~/Documents folder.   (Ignore this if you don’t want to see Notification Centre messages.)     The idea for the Reminders list icons was blatantly pinched from LaunchBar 6        
  7. Like
    vdesabou reacted to Tyler Eich in Blur Alfred   
    I've updated the workflow to version 1.1, which handles this error. Thanks for the report!
     
    I've also started a separate thread for any new issues that may arise
  8. Like
    vdesabou reacted to Carlos-Sz in Using the new External Triggers in Alfred   
    I’m using your approach in one of my workflows setup that require two steps for each custom item available and I really think the setup is now easier to understand and even more flexible.
     
    Thank you again for sharing it with us.
  9. Like
    vdesabou reacted to djc in Alfred Tea Master: reference for tea information, without leaving Alfred   
    Also, if you're interested in how this workflow is set up (being able to pull up data (e.g. steep time, temp) on a result (a certain tea in the search) without leaving Alfred), I am currently developing the "Alfred Reference Framework" which makes it easy to set up a workflow similar to this. The github page is here.
  10. Like
    vdesabou reacted to rice.shawn in Alfred Dependency Downloader Framework   
    Do you want to have versioned libraries and utilities live side-by-side? Do you want to make your workflows smaller but keep or expand the functionality with helper apps? Do you want to make sure that everything works regardless of whether Gatekeeper is active on other users' computers? Then you might consider implementing the Alfred Bundler* dependency framework in your workflows.
     
    To use it, all you have to do is include a small file in your workflow and make, usually, one call per utility/library you want to use, and, that's it. The bundler will automatically download any utility that you attempt to use that the user doesn't have installed, and, what's even better, is that it will keep everything in the Alfred 2 data directory instead a workflow directory or a user's Applications directory.
     
    If you want to see a _very_ basic implementation, then download an example workflow from Packal and open it up to see the workflow's anatomy.
     
    The libraries / utilities mentioned below are just pre-defined assets that you can load with no additional work. You can actually use this framework for any asset** by including a small JSON file with your workflow.
     
    Take a look at the documentation page on Github for more information.
     
    * The bundler is intentionally poorly named because it makes it so that you don't have to bundle dependencies.
    ** Don't try this with python or ruby libraries/modules/gems yet. A future version of the framework might support those languages, but, for now the idiosyncratic nature of package management with those languages makes this sort of approach difficult.
     
    ---
     
    So, for a variety of reasons, I wrote a framework to use with Alfred to manage dependencies for some types of libraries as well as commonly used "utilities" like terminal notifier.
     
    I'll push the release shortly, but I want to make sure that I include some good defaults with the initial version.
     
    Right now, I've included:
     
    PHP
    Workflows.php (v0.3.3) CFPropertyList (v2.0) Bash
    BashWorkflowHandler Utilities
    SetupIconsForTheme GlyphManager Terminal-Notifier (v1.5.0) CocoaDialog v3.0.0-beta7 v2.1.1 Pashua PHP5.5.5-CLI Viewer (an automator application that shows a pop-up HUD) I can't include Python or Ruby libraries (modules/gems) yet because they work entirely differently and call for a much more complex and intense setup. But, are there any other utilities or libraries that I should include?
     
    Let me know, and when you do, post a link.
  11. Like
    vdesabou reacted to rice.shawn in Alfred Cron: Execute Scripts (and workflows) on Intervals [v1.1]   
    Quite a few people have asked for the ability to execute workflows at certain times. Well, here's (kind of) a solution.
     
    Alfred Cron (note: consider this workflow to be a 'beta' right now) with will run any bash command on any interval that you define. Now, this means that you can run any script of any kind (to run a python script, you'd just write: python "/path/to/script.py" 'args'). It also means that you can take advantage of the new External Triggers in Alfred. So, if you want to run a workflow in the background at a certain time, then you can as long as there is an External Trigger for that workflow.
     
    Fun idea: if you're decently good at scripting, then you can replace Hazel with this workflow.
     
    You can define cron jobs through a nifty little GUI box. Just, see it in action in the GIF below:

     
    More detailed documentation is available at http://shawnrice.github.io/alfred-cron.
     
    Download it from Packal.
     
    Note: Alfred Cron uses the Alfred Bundler framework, so when you first execute the workflow, it will take a moment to install the bundler, Pashua, BashWorkflowHandler, and Terminal Notifier. So, be patient at first. They need to download only once.
     
    Also, Alfred Cron makes use of Ctwise's brilliant SetupIconsForTheme, so the workflow will adjust to your Alfred whether it is light or dark.
  12. Like
    vdesabou reacted to moul in Gauth: Google Authenticator (Time-Based Two-Factor Authentication)   
    Description
    Equivalent of the mobile versions of Google Authenticator: https://itunes.apple.com/en/app/google-authenticator/id388497605?mt=8.
     
    I personally use it on Gmail, Amazon AWS, Github, Evernote and Dropbox
     
    A bigger list is available on Wikipedia: http://en.wikipedia.org/wiki/Two-step_verification
     
    There is also a Pam module project on Github: https://github.com/nlm/pam-google-authenticator
     

     
    Non-exhaustive list of links for "secret" installation
    Google: http://www.google.com/landing/2step/ Dropbox: https://www.dropbox.com/help/363/en Evernote: http://blog.evernote.com/blog/2013/05/30/evernotes-three-new-security-features/ Github: https://github.com/blog/1614-two-factor-authentication Amazon AWS: http://aws.amazon.com/iam/details/mfa/ Facebook: https://www.facebook.com/settings?tab=security Dependencies
    Python>=2.7  
    System Modifications
    Create a ~/.gauth file with your secrets, ie:
    [google - bob@gmail.com] secret = xxxxxxxxxxxxxxxxxx [evernote - robert] secret = yyyyyyyyyyyyyyyyyy It's also possible to add credentials with "gauth add [account] [secret]" from Alfred
     
    Source Code: Github
    https://github.com/moul/alfred-workflow-gauth  
    Download Links
    Packal: http://www.packal.org/workflow/gauth-google-authenticator Direct link: https://github.com/packal/repository/raw/master/com.alfredapp.moul.gauth/google_authenticator.alfredworkflow  
    Screenshots
     

     

     

     
    Acknowledgments
    Original alarm clock iconAlex Auda Samora from The Noun Project Licensed under Creative Commons Attribution Status & signs iconsHereldar Terkenya Licensed under a Creative Commons Attribution-Share Alike 3.0 License Original source codeManfred Touron Serial contributorGilberto Olimpio  
    License
    MIT
  13. Like
    vdesabou reacted to deanishe in Packal Search — search for cool new workflows from the comfort of Alfred   
    Packal.org Alfred Workflow Search  
    Search Packal.org's collection of workflows from the comfort of Alfred.  
     
    Downloading
    Get the workflow from GitHub or Packal.
     
    Usage
     
    packal workflows [query] — View/search for workflows by name/category/author/tag ↩ — Open workflow page on Packal.org in your browser ⌘+↩ — View/search workflows by the same author  
    packal tags [query] — View/search workflow tags ↩ or ⇥ — View/search workflows with selected tag  
    packal categories [query] — View/search workflow categories ↩ or ⇥ — View/search workflows in selected category  
    packal authors [query] — View/search workflow authors ↩ or ⇥ — View/search workflows by selected author  
    packal versions [query] — View/search OS X versions and compatible workflows ↩ or ⇥ — View/search workflows compatible with selected OS X version  
    packal status — Show a list of workflows that are out-of-date or are available on Packal.org, but were installed from elsewhere (i.e. they contain no Packal metadata, so can't be versioned by this workflow or updated by the Packal update workflow).  
    Icons
    Sometimes, an icon is shown after a workflow's name. They have the following meanings:
     
     
    Thanks, Licence Thanks to Shawn Patrick Rice for building Packal.org.
    Much use made of docopt and Alfred-Workflow.
    This workflow, excluding the Packal icon, is released under the MIT Licence.
    The Packal icon is the property of Shawn Patrick Rice.
     
     
       
  14. Like
    vdesabou got a reaction from gb0 in Spotify Mini Player: Control your Spotify library at your fingertips   
    Hi,
     
    Suggest you remove everything in App folder, you can access it by invoking spot_mini_debug, and then browse to app support folder like this
    Remove library.db and settings.db in there. If your library is totally different, you can also remove artwork directory (but the next update will have to re-download everything)
     
    If you still experience issues after this, please raise an issue on github page by invoking "spot_mini_issue"
     
     

  15. Like
    vdesabou reacted to Carlos-Sz in Screenshots 1.1: capture, save to Dropbox, get Link and manage files and past links   
    Screenshots

    Overview

    Take screenshots and manage files within a Dropbox Public subfolder.

    Main features:
    custom filename with constants always use the last filename pattern (useful for a set of screenshots from the same theme) capture screen, selection and window with or without shadow optional 5 seconds delay get URL to the clipboard: normal and shortened by bitly or Brb.bz manage screenshots (that's why a subfolder in Dropbox Public folder is recommended): preview, get public link, upload to Cloud App, upload to imgru and all Alfred file actions list past links then copy to the clipboard, paste or open in the default browser Setup

    Bring Alfred and type the keyword setupss
    Select the Dropbox Public folder: it is recommended to, first, create a subfolder into Dropbox Public folder, e.g. ~/Dropbox/Public/Screenshots/ so you can easily manage only the screenshots taken instead of all image files inside your Dropbox Public folder Type your Dropbox Public folder ID: go to your Dropbox Public folder, right click a file and select Copy Public Link, then paste it in a text editor and copy the number there Select the URL type to be copied to the clipboard (bitly and Brb.bz require registration and an API key) Take a Screenshot

    Bring Alfred and type the keyword ss then select the capture mode from the list.



    Optionally type the filename. You can use constants such as $d (day), $m (month), $y (year), $h (hour), $n (minute) and $s (second). The last typed pattern is always automatically used.
    Command key: set a 5 seconds delay before the screenshot Option key: save the screenshot to the clipboard instead the folder Control key: reset the filename pattern to the default one Note that you can set hotkeys for all screenshot types.

    Screenshots Manager

    Bring Alfred and type the keyword ssm

    You will see a list of screenshots and you can:
    Return key: open the file Shift key: preview the file Command key: get link Option key: upload to Cloud App (install the app first) Control key: upload to imgru Righ arrow: for Alfred file Action (delete, copy and so on) Screenshots Cloud

    Bring Alfred and type the keyword ssc

    You will see a list of past links made by the workflow. You can:
    Return key: copy the link to the clipboard Shift key: preview the lined image Control key: copy and paste the link to the topmost application Option key: open the link in the default browser What's New
    Keyword ssc to list past links List screenshots using Finder if Spotlight is not available Download
     
    Version 2.0
    Download Now

    Version: 1.1
    Date: 01 Mar 2014
    Made on OSX 10.9.1
    Download Now
  16. Like
    vdesabou reacted to ctwise in Funnel (a variant of the Pipe workflow)   
    Funnel takes text and converts it to some other text by running it through a filter. The filter can be a shell script one-liner or a full script. Anything that takes standard input and outputs to standard out. At the moment, the following filters are implemented:
     
    - Base64 - decode - Base64 - encode - AES-256 - decrypt with passphrase 'X' - AES-256 - encrypt with passphrase 'X' - x509 - fingerprint - x509 - hash - x509 - certificate information - Change case - lowercase - Change case - uppercase - Change case - capitalize - Change case - title case - JSON - format - String - reverse - String - format US phone number - Lines - clear bullets - Lines - sorted unique lines - Lines - number lines - Lines - bulletize - Lines - top 10 unique lines - Lines - remove blanks - Lines - unique lines only - Lines - doublespace - Markdown - convert search links to normal links - Markdown - convert to HTML - URL - encode - HTML - encode - Sort IPv4 addresses  
    The Funnel workflow is a variant of the preexisting Pipe workflow (http://www.alfredforum.com/topic/1187-filter-clipboard-through-your-favourite-one-liners). I wasn't happy with how the workflow presented options and I didn't want the options sorted by Alfred. I also wanted to bundle some heavier processing scripts, so I created my own version of the workflow from scratch.
     
    The workflow can operate on text on the clipboard, on a file whose filename is on the clipboard, on selected text (using a hotkey) or on a selected file (using a hotkey). No matter where the text comes from, it is piped through the selected filter. If the text came from the clipboard or a selection, it is pasted into the active application after being processed. If the text came from a file, the file contents are replaced with the processed text.
     
    So, for example, if you select a block of text and trigger the workflow with a hotkey, you can choose 'Lines - bulletize' and the selected text will be replaced with bulleted lines. If you select a JSON file in Finder (or Path Finder) and trigger the file hotkey, you can choose 'JSON - format' and the file contents will be replaced with formatted JSON.
     
    Update: As Vitor pointed out, I forgot the link :-) https://github.com/packal/repository/raw/master/com.tedwise.funnel/funnel.alfredworkflow
  17. Like
    vdesabou reacted to vitor in MarkdownTransform — Convert Markdown to other formats   
    Each Hotkey and Universal Action Trigger in the workflow corresponds to a different type of Markdown conversion:
    Markdown → BBCode Markdown → HTML Markdown → RTF
    Supported in conversion to RTF:
    Italic Bold Italic and Bold Strikethrough Links Unordered lists Ordered lists Superscript Subscript
    Supported in conversion to BBCode:
    Italic Bold Italic and Bold Horizontal rule Strikethrough Images Links Quotes Inline code Code blocks Headers Unordered lists Ordered lists Superscript Subscript
    Supported in conversion to HTML:
    Everything supported by MultiMarkdown
     
    Download | Source
  18. Like
    vdesabou reacted to rice.shawn in New Workflow and Theme Repository: Packal   
    I'm happy to announce that after months of development, I'm ready to make a new workflow and theme repository available to the public as an open beta: Packal. Workflows and themes are taggable and searchable. You can add in the icons, screenshots, long descriptions, and brief ones. There are many different ways to find whatever you need there. Since this is an initial announcement, there isn't much content there yet, except for the workflows and themes that a few kind testers uploaded.
     
    Themes are stored as a simple application URL, which means there are no files to download, but, instead, they import directly into Alfred2. Workflows are scanned for viruses after they are submitted but before they are made available publicly. Workflow authors can easily update their workflows just by editing the page and replacing the workflow file there.
     
    What is even better is that there is a soon-to-be-released companion workflow that will interface with Packal.org allowing for you to update your workflows directly from Alfred. I've worked out a method for updating workflows with Andrew that provides all of the security migration features that Alfred does natively. In order for a workflow to be updatable, the author needs to do nothing other than upload the file to Packal. All the packaging information necessary is automatically created for each workflow by the website itself. Besides the virus scan, the workflow also signs each package in order to verify its authenticity.
     
    I think that these are exciting developments for Alfred, and this sort of repository is what many people have been waiting for since these forums were created.
     
    So, please, head over to Packal, browse what's there, and, very importantly, submit your own workflows and themes.
     
    --Shawn
  19. Like
    vdesabou reacted to rice.shawn in Packal: Workflow and Theme Repository   
    I'm happy to announce that after months of development, I'm ready to make a new workflow and theme repository available to the public as an open beta: Packal. Workflows and themes are taggable and searchable. You can add in the icons, screenshots, long descriptions, and brief ones. There are many different ways to find whatever you need there. Since this is an initial announcement, there isn't much content there yet, except for the workflows and themes that a few kind testers uploaded.
     
    Themes are stored as a simple application URL, which means there are no files to download, but, instead, they import directly into Alfred2. Workflows are scanned for viruses after they are submitted but before they are made available publicly. Workflow authors can easily update their workflows just by editing the page and replacing the workflow file there.
     
    What is even better is that Packal has its own updater for workflows. So, you have the option to update any workflows that you have downloaded from Packal.
     
    I think that these are exciting developments for Alfred, and this sort of repository is what many people have been waiting for since these forums were created.
     
    One great advantage for distributing your workflows via Packal is that you do not need to maintain your own download links for your workflows anymore, so you won't need to worry about download limits on sharing services. Another advantage is that it will receive more visibility as it is a place where people can look for workflows and themes without having to page through the impressive number of posts in these forums.
     
    So, please, head over to Packal, browse what's there, and, very importantly, submit your own workflows and themes.
     
    --Shawn
  20. Like
    vdesabou reacted to Tyler Eich in Versions — Copy Version Information for Applications and Operating Systems   
    If you do any bug reporting, you may know what a pain it is to get version information for the application in question. Usually, it means going to the 'About' menu and copying version information from there.
     
    This workflow lets you copy and paste version information with a few keystrokes. The keyword is 'version'.
     
    Download • Packal (Beta)
     
    Example outputs:
    Alfred 2 v2.1.1 (227) on Mac OS X 10.9.1 (13B42) Safari v7.0.1 (9537.73.11) Mac OS X 10.9.1 (13B42)  
    You can get version information for:
    The current application Any application on your disk Your operating system  
    There are also several choices when retrieving the information:
    When dealing with application or OS info: Command: Copy and paste immediately When dealing with application info: Option: Copy with OS information Control: Copy with OS information and paste immediately  
    Here's what it looks like:

     
    Enjoy
  21. Like
    vdesabou reacted to ramiro.araujo in ImageOptim Workflow   
    ImageOptim Workflow for Alfred app
    This is a wrapper Alfred workflow around the great ImageOptim-CLI library from Jamie Mason. Mason's library uses three image optimization applications to automate optimization of JPEGs and PNGs. It uses the open source ImageAlpha and ImageOptim apps, and the JPEGmini app, which is not free, but highly recommended. Together they shrink images like a beast.
    My own addition to this image processing is that if JPEGmini is unavailable, it uses ImageMagik's mogrify to compress JPEGs to quality 75, if they're actually higher than 75. To do this, I'm also bundling ImageMagik'smogrify and identify. A quality of 75 is usually pretty safe and it still has a way smaller size and usual JPEGs saved from Photoshop without optimization. That being said, JPEGmini does way better job and it's recommended.
     
    Requirements
    ImageOptim, installed in /Applications folder. ImageAlpha, installed in /Applications folder. JPEGmini, optional but recommended, installed in /Applications folder. If using JPEGmini, you need to add Alfred 2 to the allowed apps in the accesibility list. Go to Preferences, Security and Privacy, Privacy tab, click the lock to allow changes, and drag the Alfred 2 app into the list. Usage
     
    1. find or select one or more images or folders, show the file actions in Alfred, and select "Optimize Images". Note that any Alfred's way of selecting files work, such us:
    select one or multiple files/folder in finder and press ⌘ alt \ browsing or finding files in Alfred, and triggering actions for the file saving files in Alfred's file buffer, and then ⌘ → to action buffered files.
     
    2. You'll see a notification indicating the number of files to process. The work is done partially with AppleScript, so even if it's happening in the background, the apps are actually laoded and you can focus on them to check the status. Depending on the number and size of images, it could take a while.

     
    3. When the optimization is completed, you'll see another notification, indicating the original Kilobytes, the current Kilobytes, total savings and savings percent.

     
    Caveats
    You shouldn't run optimizations in parallel. Tecnically you could if the batch already jumped to the next app (from JPEGmini to ImageOptim for example), but it's looking for trouble. I'll consider adding a check in the future to prevent parallel process from happening, but I'm affraid this could add other complications, as in how to clear the processing flag if optimization process is interrumpted earlier.
     
    Installation
    For OS X 10.9 Mavericks, Download the alfred-image-optim-workflow.alfredworkflow and import to Alfred 2.
    For Previous OS X Versions, Download the alfred-image-optim-workflow.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-image-optim-workflow
     
    Changelog
    2014-01-06 - Released 2014-01-23 - Added folder support, and correctly counting number of files inside folders
  22. Like
    vdesabou reacted to spacek33z in Upload files to Cloudup   
    This workflow lets you upload selected files to Cloudup.
     
    If you don't have a Cloudup account, I can highly recommend it if you want to share files with other people very fast. It's owned by Automattic (the company that also owns WordPress.com) and is free to use! You can upload a maximum of 1000 files with a max. filesize of 200mb. It currently is invite only, but you can register with this link (I think, haven't tested this).
     
    You have three options:



     
     
     
    Download
    Github
     
    Ideas and questions are very welcome .
  23. Like
    vdesabou reacted to miked in Spotify Mini Player: Control your Spotify library at your fingertips   
    Thanks! Can't wait for the update!
  24. Like
    vdesabou reacted to ramiro.araujo in Transmit 4 Favorites Workflow, FAST   
    Transmit 4 Workflow for Alfred app
    Workflow for searching and opening Favorites in Transmit 4 App. It's really fast, because it reads the SQLite Database or XML datasource in latests releases of Transmit 4.
    There are already at least 2 Transmit workflows, but one is incompatible with latests Transmit 4 and the other, although very good, uses AppleScript to do the searching, and thus you need to wait for Transmit to open to get feedback. This is particulary slow on non SSD machines.
     
    Usage
    Type the keyword (default ftp) and start typing the name of the favorite to search; dead simple.

     
    Installation
    For OS X 10.9 Mavericks, Download the alfred-transmit.alfredworkflow and import to Alfred 2.
    For Previous OS X Versions, Download the alfred-transmit.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-transmit-workflow
     
    Changelog
    2013-12-16 - Released 2014-01-02 - Added support for previous OS versions, using System Ruby 1.8, tested up to Lion 2014-01-03 - Search in both Favorite name and host 2014-01-20 - Added support for Favorites.xml 2014-01-30 - Rebuilt XML search to use different Ruby xml parser Note: I updated the original description to match the project readme file
  25. Like
    vdesabou reacted to Tyler Eich in Colors Beta   
    Colors 2.0 is currently in the works. Improvements include:
    Speed (written in Objective-C; near-instantaneous results) Full support for NSColor and UIColor Better preview images (uses a different, higher-contrast transparency background) ⌘C will copy the result's text Opacity slider in the OS X color panel Hotkey for revealing the OS X color panel Download • View on Github
     
    Looking for the stable release? Check out the main Colors thread
     
    You can run the beta parallel to the stable release; it uses a different BundleID (until v2.0 is stable, at least). Beta testing is strictly voluntary, with no obligation to myself or the beta tester.

    I'm mainly trying to stabilize the code (e.g. removing bugs, fixing performance issues, etc.), but feature requests are welcome!

    Here are some images of the workflow in action:



    And the workflow editor:


    Cheers, and many thanks for your help
×
×
  • Create New...