Jump to content

CarlosNZ

Member
  • Posts

    392
  • Joined

  • Last visited

  • Days Won

    11

Reputation Activity

  1. Like
    CarlosNZ got a reaction from nik in Tiny PNG workflow [Updated to v1.2]   
    This workflow will take a set of PNG or JPG files and compress them using the online TinyPNG service.

    For more info on what it does to the image, see http://tinypng.com/

    Usage:

    This workflow works as either a File Action or a regular keyword process.

    Either:
    1) Select the PNG or JPG files you want processed (in Finder or Alfred), then select the "Compress with TinyPNG" File Action in Alfred.
    2) Select the PNG or JPG files you want processed in Finder, launch Alfred, then use the “tinypng" keyword.

    The processed files will be downloaded to a TinyPNG folder on your Desktop, along with a Report showing the success/failure of each file, and how much it has been compressed by.

    The process may take some time, especially if you have selected several large image files, but you will notified on completion. However, if you have Growl/growlnotify installed, you will get a per-file notification as it progresses.
     
    A Note on Heavy Usage:
     
    The TinyPNG API has a limit of 500 files per month. As you can imagine, once a few people are using the workflow substantially, this doesn't take long to reach. I have provided a default API key built-in so you can use the workflow immediately. However, if you intend to continue using it in any substantial capacity I strongly suggest you visit https://tinypng.com/developers and register for your own API key. You can jump there with the keyword “tinypng_getkey” in Alfred. Once you’ve got your key, save it into the workflow configuration with the keyword  “tinypng_config”
     
    Download v1.3
     
    Cheers,
    Carl
     
    ----
     
    28 November 2013 - updated to v1.1
    Updated to use the new TinyPNG.com API Now works as a regular Alfred keyword (with Finder selection) as well as File Action  
    19 March 2014 - updated to v1.2
    Now gives better error reporting on failures. (You’ll be able to tell if the monthly limit has been exceeded.) Consolidated processing to a single bash script. The Finder Selection script now just parses the input and sends it to the main script. (Irrelevant to user experience.) User can enter their own API key to prevent reaching the Free account limit when using a shared key. Updated icons (from TinyPNG.com)  
    6 October 2015 - updated to v1.3
        Now supports JPG files as well.  
  2. Like
    CarlosNZ got a reaction from jdkram in Simple word count worlkflow   
    http://cl.ly/MHBA
     
    A fairly basic word count workflow for Alfred 2. Keyword "wc" shows clipboard word count in Alfred results box:
     

    And a hotkey shows the word count of either the selected text (Ctrl-W by default) or in the clipboard (Ctrl-Shift-W). It's currently set to show notifications using Large Type, but you can replug the config to go to "Post Notification" if you prefer.
  3. Like
    CarlosNZ got a reaction from dfay in Simple word count worlkflow   
    http://cl.ly/MHBA
     
    A fairly basic word count workflow for Alfred 2. Keyword "wc" shows clipboard word count in Alfred results box:
     

    And a hotkey shows the word count of either the selected text (Ctrl-W by default) or in the clipboard (Ctrl-Shift-W). It's currently set to show notifications using Large Type, but you can replug the config to go to "Post Notification" if you prefer.
  4. Like
    CarlosNZ reacted to mhannemann in New workflow - Time & Date Paste [updated to v1.2a]   
    Very nice, thank you!  I love the built-in editing ability you have in there.
  5. Like
    CarlosNZ got a reaction from emilingerslev in TimeZones - a World Clock script filter [updated to v1.7]   
    Here's another little tool I've just whipped up:
     

    Get an instant list of the current time in various cities around the world. Which you can customize, of course.
     
    Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a
     
    This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset.
     
    Enjoy. As usual, I welcome comments, bug reports, feature requests, etc.
     
    ----
     
    28 March 2013 - UPDATE to v1.5
    Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle.
     
    A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers.
     
    ----
     
    31 March 2013  - UPDATE to v1.6
    New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think.
    [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole.   ) ----
     
    2 April 2013 — UPDATE to v1.61
    Small fix for Dutch (Netherlands) flag matching.  
    ----
     
    22 March 2014 — UPDATE to v1.7
    City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ----


    22 March 2014 — UPDATE to v1.7a
        New 256x256px icon
  6. Like
    CarlosNZ reacted to MikeAlt in Toggle fn Key Behavior   
    Toggles behavior of function keys between standard and special features (e.g., volume, play/pause), as described here.
     

     
    Specifically, accomplishes the following when keyword "fn toggle" is entered:
    Choose System Preferences from the Apple menu. From the View menu choose Keyboard (or Keyboard & Mouse in Mac OS X v10.5.8 and earlier). Check / uncheck "Use all F1, F2, etc. keys as standard function keys"
    (Note: when checked, requires holding the fn key to press standard function keys, 
    when unchecked, does not require holding the fn key to press standard function keys)
     
    Download workflow
     
     
  7. Like
    CarlosNZ reacted to dan_djorgi in TimeZones - a World Clock script filter [updated to v1.7]   
    CarlosNZ, thank you so much for this great workflow! 
  8. Like
    CarlosNZ got a reaction from dan_djorgi in TimeZones - a World Clock script filter [updated to v1.7]   
    v1.6 released.
     
    One main new feature: custom lookups — just keep typing after the tz to look up the time in a place without saving it to your list:

     
    Also, I've added experimental support for autocomplete for adding place names. You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. I'd be keen to know what people think.
     
    Full deets and download link in initial post (now supports Alleyoop auto-updates too ).
  9. Like
    CarlosNZ got a reaction from dan_djorgi in TimeZones - a World Clock script filter [updated to v1.7]   
    UPDATED to v1.5
     
    Hey guys, fairly significant update here - the workflow now uses Google Maps APIs to get the timezone data, which you should find substantially more reliable than Wolfram Alpha.
     
    Also, FLAGS! 
         
    See the first post for detailed changelist and download link.
     
    PLEASE NOTE: Because this version stores its data substantially differently to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle. Sorry for any inconvenience.
  10. Thanks
    CarlosNZ got a reaction from bivalvegruff in TimeZones - a World Clock script filter [updated to v1.7]   
    Here's another little tool I've just whipped up:
     

    Get an instant list of the current time in various cities around the world. Which you can customize, of course.
     
    Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a
     
    This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset.
     
    Enjoy. As usual, I welcome comments, bug reports, feature requests, etc.
     
    ----
     
    28 March 2013 - UPDATE to v1.5
    Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle.
     
    A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers.
     
    ----
     
    31 March 2013  - UPDATE to v1.6
    New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think.
    [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole.   ) ----
     
    2 April 2013 — UPDATE to v1.61
    Small fix for Dutch (Netherlands) flag matching.  
    ----
     
    22 March 2014 — UPDATE to v1.7
    City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ----


    22 March 2014 — UPDATE to v1.7a
        New 256x256px icon
  11. Like
    CarlosNZ reacted to Andrew in Large text display adds unnecessary new line in certain situations. [Fixed 2.0.3 b184]   
    Ah, so it is! I'll get this fixed in the next release cheers
  12. Like
    CarlosNZ reacted to oderwat in Find files recently changed (similar to Trickster functionality)   
    I added the attribute type="file" to <item> in the xml result for the filter.
     
    Actually I am using here the workflow class by David Ferguson and there it comes after the last parameter he has documented (which is autocompletion text).
  13. Like
    CarlosNZ got a reaction from Misha in TimeZones - a World Clock script filter [updated to v1.7]   
    Here's another little tool I've just whipped up:
     

    Get an instant list of the current time in various cities around the world. Which you can customize, of course.
     
    Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a
     
    This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset.
     
    Enjoy. As usual, I welcome comments, bug reports, feature requests, etc.
     
    ----
     
    28 March 2013 - UPDATE to v1.5
    Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle.
     
    A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers.
     
    ----
     
    31 March 2013  - UPDATE to v1.6
    New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think.
    [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole.   ) ----
     
    2 April 2013 — UPDATE to v1.61
    Small fix for Dutch (Netherlands) flag matching.  
    ----
     
    22 March 2014 — UPDATE to v1.7
    City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ----


    22 March 2014 — UPDATE to v1.7a
        New 256x256px icon
  14. Like
    CarlosNZ reacted to DJay in TimeZones - a World Clock script filter [updated to v1.7]   
    It's getting better and better. Thanks CarlosNZ
  15. Like
    CarlosNZ reacted to parekh in TimeZones - a World Clock script filter [updated to v1.7]   
    Thanks for your detailed response. Is there any way for me to modify this workflow such that it checks online for every place every time? I don't mind that it would take several seconds longer.
     
    Also, thanks for creating this great workflow. The best solution to this problem would be if countries all over the world decided to abandon the silly concept of daylight savings!
  16. Like
    CarlosNZ got a reaction from jdkram in TimeZones - a World Clock script filter [updated to v1.7]   
    Here's another little tool I've just whipped up:
     

    Get an instant list of the current time in various cities around the world. Which you can customize, of course.
     
    Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a
     
    This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset.
     
    Enjoy. As usual, I welcome comments, bug reports, feature requests, etc.
     
    ----
     
    28 March 2013 - UPDATE to v1.5
    Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle.
     
    A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers.
     
    ----
     
    31 March 2013  - UPDATE to v1.6
    New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think.
    [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole.   ) ----
     
    2 April 2013 — UPDATE to v1.61
    Small fix for Dutch (Netherlands) flag matching.  
    ----
     
    22 March 2014 — UPDATE to v1.7
    City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ----


    22 March 2014 — UPDATE to v1.7a
        New 256x256px icon
  17. Like
    CarlosNZ got a reaction from Ramshank in TimeZones - a World Clock script filter [updated to v1.7]   
    Here's another little tool I've just whipped up:
     

    Get an instant list of the current time in various cities around the world. Which you can customize, of course.
     
    Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a
     
    This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset.
     
    Enjoy. As usual, I welcome comments, bug reports, feature requests, etc.
     
    ----
     
    28 March 2013 - UPDATE to v1.5
    Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle.
     
    A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers.
     
    ----
     
    31 March 2013  - UPDATE to v1.6
    New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think.
    [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole.   ) ----
     
    2 April 2013 — UPDATE to v1.61
    Small fix for Dutch (Netherlands) flag matching.  
    ----
     
    22 March 2014 — UPDATE to v1.7
    City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ----


    22 March 2014 — UPDATE to v1.7a
        New 256x256px icon
  18. Like
    CarlosNZ got a reaction from parekh in TimeZones - a World Clock script filter [updated to v1.7]   
    Yeah, I mentioned that in my initial post. That's the price of instant access. The reason why the workflow runs so fast is that all the time offsets are stored on your computer. If it was to check online for every place every time, then it would take several seconds at least to generate the main list.
     
    Realistically, daylight saving changes are fairly predictable. AFAIK they all happen overnight between Sat-Sun, and it's around this time of year. So really, all you'd need to do is run "timezone update" once every Sunday for March & April, and again in Sept/Oct. And remember, you can always get the exact current time in any place by entering "tz name of place".
     
    One way I could improve this is to store the date of the next daylight savings change for each city and then check that when showing the main list and updating if that date is passed. However, I don't know of a decent online source that can provide this information in an easy-to-parse format (ie. an API). If you know of such a thing, then I'd be happy to implement it.
  19. Like
    CarlosNZ reacted to rice.shawn in Workflows Help Workflow   
    And... updated again (v 1.05). This one should fix the ALP errors. Really incomplete workflows might not show up on the list because, well, I haven't figured out a way to write this workflow without relying on the info.plist that defines every workflow...
     
    Let me know if there is a particular one that doesn't show up. And, again, let me know of any errors you encounter. Hopefully that will be none.
  20. Like
    CarlosNZ got a reaction from parekh in TimeZones - a World Clock script filter [updated to v1.7]   
    When you say "stopped working", you mean it gives the wrong times now?
     
    You should be able to run "timezone update" and it will acquire new offsets for all your stored places. Let me know how that goes.
  21. Like
    CarlosNZ reacted to blueshirt in TimeZones - a World Clock script filter [updated to v1.7]   
    Thank you yet again for another wonderful workflow. I had issues with previous versions but 1.61 seems to fix everything. Successfully updated via Alleyoop. I love tz nameofthecity functionality. Switching from Wolfram Alpha improved accuracy, at least here.
  22. Like
    CarlosNZ got a reaction from thec13 in TimeZones - a World Clock script filter [updated to v1.7]   
    Here's another little tool I've just whipped up:
     

    Get an instant list of the current time in various cities around the world. Which you can customize, of course.
     
    Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a
     
    This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset.
     
    Enjoy. As usual, I welcome comments, bug reports, feature requests, etc.
     
    ----
     
    28 March 2013 - UPDATE to v1.5
    Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle.
     
    A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers.
     
    ----
     
    31 March 2013  - UPDATE to v1.6
    New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think.
    [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole.   ) ----
     
    2 April 2013 — UPDATE to v1.61
    Small fix for Dutch (Netherlands) flag matching.  
    ----
     
    22 March 2014 — UPDATE to v1.7
    City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ----


    22 March 2014 — UPDATE to v1.7a
        New 256x256px icon
  23. Like
    CarlosNZ got a reaction from nm1 in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    NOTE: This workflow has not been updated to work with Alfred 3.0 and above, and is known to cause issues. Use at your own risk.
     
    ----
     
    Keep all the miscellaneous crap off your Desktop by sweeping everything into a "DeskDrawer" folder, which is easily accessible from our good friend Alfred.
     
    Download DeskDrawer v1.5
    [updated 25 March 2014]
     
    Okay, the idea is not completely original — I've used apps like DesktopTidy and Unclutter to achieve this, but it's amazing how simple it is to replicate the basic concept with an Alfred workflow.
     

    This is your "DeskDrawer" in Alfred (keyword "drawer", default hotkey Shift-Cmd-D). From there you can:
    search the list (just start typing) open an item (select it) move it back to your Desktop (option-select) reveal it in DeskDrawer/Finder (cmd-select) browse/open it in Alfred (ctrl-select) for further action. Move item to the Trash (fn-select) [NEW in 1.3] There is a file action, "Move to DeskDrawer" (as well as the  keyword "move") for quickly flicking items into the Drawer. There is also the keyword "sweep" to scoop all your Desktop items into DeskDrawer in one hit. And finally, "deskrestore" will dump the contents of your DeskDrawer back on the Desktop in all its messy glory.
     
    You can also undo your last file/folder movement with the "unmove" keyword. [New in v1.5]
     
    And now you can protect certain items on your Desktop from being moved during a sweep, with either the File Action "Protect from DeskDrawer Sweep" or the keyword "protect". (Reverse this with the File Action "UnProtect from DeskDrawer Sweep" or keyword "unprotect".) [New in v1.5]
     
    And finally, for full documentation, use the keyword "deskdrawer help". [New in v1.5]
     
    I don't about the rest of you, but I like to keep my Desktop as clutter-free as possible (unlike my IRL desktop! ), so having this capability in Alfred is great.
     
    Let me know what you think, or any bugs you find.
     
    Features I'd still like to add:
    The ability to "protect" certain files from the "sweep" and "deskrestore" actions. [DONE in v1.5] Be able to specify the location of your DeskDrawer folder. [DONE in v1.2] Any requests?  
    UPDATE:  1 April 2013 - v1.3
    New action: "fn-select" item to Trash it. Consolidated and tidied up workflow setup panel. Support for Alleyoop auto-updater Minor cosmetic tweaks. UPDATE: 2 April 2013 - v1.4
    New keyword: "move" — moves selected items to Drawer (same as the file action, but you just enter it in Alfred's main window — some people seem to prefer this approach.) UPDATE: 25 March 2014 - v1.5
    New icon for DeskDrawer folder (to fit in with OS X custom folder look). DeskDrawer is now allowed on the Desktop itself. “Undo” function to reverse the last “Move” to DeskDrawer or Sweep. “Protect” specified Desktop items from being moved to the DeskDrawer during Sweeps. Fix for XML-illegal characters in filenames. More icons. Removed AlleyOop updater support. Default DeskDrawer location is now Home folder. Local documentation (keyword: deskdrawer help) Miscellaneous minor tweaks and fixes.
  24. Like
    CarlosNZ got a reaction from TFV in DeskDrawer (Keep the clutter off your Desktop!) [Updated to 1.5]   
    NOTE: This workflow has not been updated to work with Alfred 3.0 and above, and is known to cause issues. Use at your own risk.
     
    ----
     
    Keep all the miscellaneous crap off your Desktop by sweeping everything into a "DeskDrawer" folder, which is easily accessible from our good friend Alfred.
     
    Download DeskDrawer v1.5
    [updated 25 March 2014]
     
    Okay, the idea is not completely original — I've used apps like DesktopTidy and Unclutter to achieve this, but it's amazing how simple it is to replicate the basic concept with an Alfred workflow.
     

    This is your "DeskDrawer" in Alfred (keyword "drawer", default hotkey Shift-Cmd-D). From there you can:
    search the list (just start typing) open an item (select it) move it back to your Desktop (option-select) reveal it in DeskDrawer/Finder (cmd-select) browse/open it in Alfred (ctrl-select) for further action. Move item to the Trash (fn-select) [NEW in 1.3] There is a file action, "Move to DeskDrawer" (as well as the  keyword "move") for quickly flicking items into the Drawer. There is also the keyword "sweep" to scoop all your Desktop items into DeskDrawer in one hit. And finally, "deskrestore" will dump the contents of your DeskDrawer back on the Desktop in all its messy glory.
     
    You can also undo your last file/folder movement with the "unmove" keyword. [New in v1.5]
     
    And now you can protect certain items on your Desktop from being moved during a sweep, with either the File Action "Protect from DeskDrawer Sweep" or the keyword "protect". (Reverse this with the File Action "UnProtect from DeskDrawer Sweep" or keyword "unprotect".) [New in v1.5]
     
    And finally, for full documentation, use the keyword "deskdrawer help". [New in v1.5]
     
    I don't about the rest of you, but I like to keep my Desktop as clutter-free as possible (unlike my IRL desktop! ), so having this capability in Alfred is great.
     
    Let me know what you think, or any bugs you find.
     
    Features I'd still like to add:
    The ability to "protect" certain files from the "sweep" and "deskrestore" actions. [DONE in v1.5] Be able to specify the location of your DeskDrawer folder. [DONE in v1.2] Any requests?  
    UPDATE:  1 April 2013 - v1.3
    New action: "fn-select" item to Trash it. Consolidated and tidied up workflow setup panel. Support for Alleyoop auto-updater Minor cosmetic tweaks. UPDATE: 2 April 2013 - v1.4
    New keyword: "move" — moves selected items to Drawer (same as the file action, but you just enter it in Alfred's main window — some people seem to prefer this approach.) UPDATE: 25 March 2014 - v1.5
    New icon for DeskDrawer folder (to fit in with OS X custom folder look). DeskDrawer is now allowed on the Desktop itself. “Undo” function to reverse the last “Move” to DeskDrawer or Sweep. “Protect” specified Desktop items from being moved to the DeskDrawer during Sweeps. Fix for XML-illegal characters in filenames. More icons. Removed AlleyOop updater support. Default DeskDrawer location is now Home folder. Local documentation (keyword: deskdrawer help) Miscellaneous minor tweaks and fixes.
  25. Like
    CarlosNZ reacted to rice.shawn in Workflows Help Workflow   
    Maybe I can add in a testing script to see if I can get some debugging info.
×
×
  • Create New...