Jump to content

ramiro.araujo

Member
  • Posts

    84
  • Joined

  • Last visited

  • Days Won

    6

Reputation Activity

  1. Like
    ramiro.araujo got a reaction from cands in TMUX Workflow   
    Tmux Workflow for Alfred app
    Alfred workflow to manage tmux sessions, integrated with iTerm2. It can list current sessions, connect to them, kill them or create a new one. The connect or create action actually opens iTerm2 and connects to the session. Additionally, in all the open actions (new session or connect to session) it can cd to the current Finder's or Path Finder's directory.
    Please note: the workflow only handles tmux sessions. It doesn't handle windows, panes, or any other tmux command.

    Dependencies
    iTerm2 installed tmux installed in /usr/local/bin/tmux; easily installed with homebrew doing brew install tmux Usage
    Write the tmux keyword in Alfred to trigger the workflow. 

    The initial menu options are:
    An initial not actionable menu item indicating to keep writing after the keyword to search/filter or create a new session. Option to connect to a default tmux session. It's a session named "default" that will always appear in the menu, and if it doesn't exists it will be automatically created. You can start typing right away after the keyword for search or create a session, or optionally add a space after the keyword for readability; the space is ignored. You'll see the filtered results (bash/zsh included), and a last option to created a new tmux session with the entered name, if non existent.


    If you want to kill a session, action it with ⌥ down. If failure, for example trying to kill the bash/zsh option, you'll hear a classic error sound.
    If you want to open the current Finder's or Path Finder's folder, action the current or new session with ⌘down. This command is very fast for new tmux sessions but adds a delay of 1 second for existent tmux sessions, since I cannot find a way to wait for tmux session to load, except by waiting long enough. Still, opening current Finder's path in already existing sessions shouldn't be that common.

    Installation
    For OS X 10.9 Mavericks, Download the alfred-tmux.alfredworkflow and import to Alfred 2.
    For Previous OS X Versions, Download the alfred-tmux.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-tmux-workflow

    Changelog
    2014-02-05 - Released
  2. Thanks
    ramiro.araujo got a reaction from howdytom 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
  3. Like
    ramiro.araujo got a reaction from Empyreal in Type (not paste) Clipboard Workflow   
    Type Clipboard Workflow for Alfred App
    Simple workflow to write the clipboard content in those situations where ⌘ → V doesn't work, typically in non Cocoa application dialogs. It has happened to me in older Flash versions, Intellij IDEA and a few others. You have to go and paste with right clicking the mouse or pad... Atrocious!!

    Setup
    After installing the workflow you have to setup the default keyboard shortcut, since Alfred does not auto-import keyboard shortcuts on workflows. I use ⇧⌃⌥⌘ → V, since I don't use it that often.
    Alternatively, you can trigger the typing with the typeclipboard keyword.

    Usage
    Just trigger the shortcut or keyword to type the clipboard content. There's a character cap of 500 characters, to avoid accidents, since the typing takes time depending on the length of the text. If you hit the cap, you'll hear a classic error sound.

    Installation
    Download the alfred-type-clipboard.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-type-clipboard-workflow

    Changelog
    2014-02-04 - Released
  4. Like
    ramiro.araujo got a reaction from Wildcard in Simple Timer   
    great
    One thing I would add is an optional message. Say:
    timer 2m hey there! would Large Type "hey there!" instead of "2m"
  5. Like
    ramiro.araujo got a reaction from tedsung in Set/Change Resolution Workflow (works with Retina!)   
    Set Resolution Workflow for Alfred App
    Handy workflow to change between available screen resolutions, even between normal and HiDPI mode (Retina).
    It allows you to list and search available resolutions for each connected display, and action the result to do the change. The change persists between logout (ex: restart, shutdown, etc).
    It filter's out duplicated resolutions where a retina resolution is available, for example, if you have available 1280x960 in both retina and non-retina, you'll only see the retina option; no need to set the pixelated one.

    Usage
    Type the keyword setresolution to show a list of resolutions. You'll see that the first result is actually a non-actionable result which shows the current resolution.

    If you have more than one display, you'll see instead the displays to select, and by actioning on any display the workflow will reload with the display index and after the keyword, and ready to search/select the proper resolutions. When using multiple displays, the display index is needed, but you can write it down yourself to make it faster, like setresolution 1 1280 to search for 1280 on display index 1 (the second from the list)

    You can also type after the space to search for resolutions (searches the numbers).

    The available resolutions list is usually quite large. You can delete available resolutions from the list by actioning the result while holding the ⌥ (alt) key.

    If you connect a different display, or want to undo a deleted resolution you need to reset the list by actioning the keyword resetresolution


    Installation
    For OS X 10.9 Mavericks, Download the alfred-set-resolution.alfredworkflow and import to Alfred 2.
    For Previous OS X Versions, Download the alfred-set-resolution.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-set-resolution-workflow

    Credits
    Build around a modified version (my fork) of a fork of Robbert Klarenbeek's ResolutionMenu app, by Anthony Dervish.

    Changelog
    2014-02-24 - Released
  6. Like
    ramiro.araujo got a reaction from juliosecco 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
  7. Like
    ramiro.araujo got a reaction from Cedric 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
  8. Like
    ramiro.araujo got a reaction from Nolff in ImageOptim Workflow   
    Yay! I've rebuilt this workflow from scratch! I now uses bundled binaries from all the different optimization libraries, all orchestrated by the image_optim library, which is great, since it now longer depends on having ImageOptim, ImageAlpha and more importantly JPEGmini installed! I'll update packal when possible, but right now you can check it out and download it from github: https://github.com/ramiroaraujo/alfred-image-optim-workflow
  9. Like
    ramiro.araujo got a reaction from mixterdee 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
  10. Like
    ramiro.araujo got a reaction from Don Dahl 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
  11. Like
    ramiro.araujo got a reaction from blkrk4000 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
  12. Like
    ramiro.araujo got a reaction from Carlos-Sz in Type (not paste) Clipboard Workflow   
    Type Clipboard Workflow for Alfred App
    Simple workflow to write the clipboard content in those situations where ⌘ → V doesn't work, typically in non Cocoa application dialogs. It has happened to me in older Flash versions, Intellij IDEA and a few others. You have to go and paste with right clicking the mouse or pad... Atrocious!!

    Setup
    After installing the workflow you have to setup the default keyboard shortcut, since Alfred does not auto-import keyboard shortcuts on workflows. I use ⇧⌃⌥⌘ → V, since I don't use it that often.
    Alternatively, you can trigger the typing with the typeclipboard keyword.

    Usage
    Just trigger the shortcut or keyword to type the clipboard content. There's a character cap of 500 characters, to avoid accidents, since the typing takes time depending on the length of the text. If you hit the cap, you'll hear a classic error sound.

    Installation
    Download the alfred-type-clipboard.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-type-clipboard-workflow

    Changelog
    2014-02-04 - Released
  13. Like
    ramiro.araujo got a reaction from CarlosNZ in Type (not paste) Clipboard Workflow   
    Type Clipboard Workflow for Alfred App
    Simple workflow to write the clipboard content in those situations where ⌘ → V doesn't work, typically in non Cocoa application dialogs. It has happened to me in older Flash versions, Intellij IDEA and a few others. You have to go and paste with right clicking the mouse or pad... Atrocious!!

    Setup
    After installing the workflow you have to setup the default keyboard shortcut, since Alfred does not auto-import keyboard shortcuts on workflows. I use ⇧⌃⌥⌘ → V, since I don't use it that often.
    Alternatively, you can trigger the typing with the typeclipboard keyword.

    Usage
    Just trigger the shortcut or keyword to type the clipboard content. There's a character cap of 500 characters, to avoid accidents, since the typing takes time depending on the length of the text. If you hit the cap, you'll hear a classic error sound.

    Installation
    Download the alfred-type-clipboard.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-type-clipboard-workflow

    Changelog
    2014-02-04 - Released
  14. Like
    ramiro.araujo got a reaction from David 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
  15. Like
    ramiro.araujo got a reaction from jarhead 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
  16. Like
    ramiro.araujo got a reaction from arsenty 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
  17. Like
    ramiro.araujo got a reaction from miketheburrito 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
  18. Like
    ramiro.araujo got a reaction from miketheburrito 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
  19. Like
    ramiro.araujo got a reaction from vdesabou 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
  20. Like
    ramiro.araujo got a reaction from spacek33z 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
  21. Like
    ramiro.araujo got a reaction from vdesabou 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
  22. Like
    ramiro.araujo got a reaction from wiiwaker 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
  23. Like
    ramiro.araujo got a reaction from surrealroad in Reminders   
    for the record, I love and need this workflow so much that I'm working on a command line implementation for reading and writing to the Event Store, where reminders and calendars are located I will take a while though, I'm not very keen with Obj-C
  24. Like
    ramiro.araujo got a reaction from slappy in Toggle Notification Center Alerts   
    Simple Workflow to disable or re-enable Notification Center Alerts from 10.8. It's the same behavior as manually disabling them by sliding the de Notification Center, scrolling up, and turning off the "Show Alerts and Banners" badge. The Notifications will resume tomorrow, or so NC says (didn't wait until tomorrow yet).
     
    Here is how it looks (I got all fancy with the keyword)

     
    The Workflow it's named Toggle, but actually gives you both options ON and OFF. I'll probably change it to a real toggle later (maybe a pull request?)
     
    BTW, notifications are turned off 7 seconds after you call it off, in order to see that last notification of the Notifications being turned off
     
    Hope you like it!
     
    Download:
    https://github.com/ramiroaraujo/AlfredWorkflows/blob/master/Toggle%20Notification%20Center%20Alerts/Toggle%20Notification%20Center%20Alerts.alfredworkflow?raw=true
     
    Fork:
    https://github.com/ramiroaraujo/AlfredWorkflows
  25. Like
    ramiro.araujo got a reaction from vdesabou in Toggle Notification Center Alerts   
    Simple Workflow to disable or re-enable Notification Center Alerts from 10.8. It's the same behavior as manually disabling them by sliding the de Notification Center, scrolling up, and turning off the "Show Alerts and Banners" badge. The Notifications will resume tomorrow, or so NC says (didn't wait until tomorrow yet).
     
    Here is how it looks (I got all fancy with the keyword)

     
    The Workflow it's named Toggle, but actually gives you both options ON and OFF. I'll probably change it to a real toggle later (maybe a pull request?)
     
    BTW, notifications are turned off 7 seconds after you call it off, in order to see that last notification of the Notifications being turned off
     
    Hope you like it!
     
    Download:
    https://github.com/ramiroaraujo/AlfredWorkflows/blob/master/Toggle%20Notification%20Center%20Alerts/Toggle%20Notification%20Center%20Alerts.alfredworkflow?raw=true
     
    Fork:
    https://github.com/ramiroaraujo/AlfredWorkflows
×
×
  • Create New...