Jump to content

akrabat

Member
  • Posts

    22
  • Joined

  • Last visited

Reputation Activity

  1. Like
    akrabat got a reaction from 40-02 in Compress Universal Action   
    This is simple Universal Action that compresses the selected file or folder and creates a zip file in the same directory.
     
    The GitHub Directory is here: https://github.com/akrabat/alfred-compress. and you can download the latest version from https://github.com/akrabat/alfred-compress/releases/latest.
     
    To use, select a file or folder in Finder and trigger Alfred's universal actions. Start typing "compress" or "zip" in order to find the action and then press enter. A Zip file of the same name as the selection will appear in the Finder window.     In this example, the file My Report.zip appears on the Desktop.  
  2. Thanks
    akrabat reacted to Terminal in Compress Universal Action   
    Love this workflow
  3. Like
    akrabat got a reaction from Terminal in Compress Universal Action   
    This is simple Universal Action that compresses the selected file or folder and creates a zip file in the same directory.
     
    The GitHub Directory is here: https://github.com/akrabat/alfred-compress. and you can download the latest version from https://github.com/akrabat/alfred-compress/releases/latest.
     
    To use, select a file or folder in Finder and trigger Alfred's universal actions. Start typing "compress" or "zip" in order to find the action and then press enter. A Zip file of the same name as the selection will appear in the Finder window.     In this example, the file My Report.zip appears on the Desktop.  
  4. Thanks
    akrabat reacted to vitor in Detect modifier key pressed when file action is selected?   
    Yes, you add the modifier just like for any other action, by double-clicking the connection.
  5. Thanks
    akrabat reacted to vitor in Compress universal action   
    Thank you for the fast fixes. The workflow will be live later today at https://alfred.app/workflows/akrabat/compress/.
     
    Another tip for the future: you don’t need to specify a path to mktemp. You can just use the command and it’ll create a temporary file, and in a place (determined by the OS) with a lower chance of collisions.
     
  6. Thanks
    akrabat reacted to vitor in Compress universal action   
    This is useful, but I can see possible improvements:
    No need to have two Universal Actions. If you have just one named (e.g.) “Compress to Zip”, both zip and compress will work to filter for it. Despite using $@ in the code (which suggests multiple inputs), the workflow only works for single inputs. The unpacked zip creates a full folder structure of the original file. I.e. if we use the workflow to compress a file on the Desktop, when uncompressing the zip it will create a folder called Users, with a child with the user’s name (which can reveal who created it), which a child named Desktop, with finally a child which is the file. That will be unexpected for most people. Zips can take time to create, so a notification and/or a sound when it’s done would provide an important clue.

  7. Thanks
    akrabat got a reaction from sepulchra in apple mail and markdown links   
    FWIW, I also have a workflow that does this.

     
  8. Like
    akrabat reacted to sepulchra in Playing With Fire   
    Dark
     

    https://www.alfredapp.com/extras/theme/zbCCokE2zP/
  9. Thanks
    akrabat reacted to Andrew in Order of universal actions doesn't change with usage?   
    Alfred doesn't sort Universal Actions by default to keep the order predictable. You can enable the actions to be sorted by last used per type in Prefs > Features > Universal Actions > Action Ordering.
×
×
  • Create New...