Jump to content

Benzi

Member
  • Posts

    146
  • Joined

  • Last visited

  • Days Won

    25

Reputation Activity

  1. Like
    Benzi got a reaction from adri2906 in Wikipedia workflow (alternate)   
    Quite a simple workflow to search articles on wikipedia (English version). Inspired by a similar workflow here, but it appears the download link is broken...
     

     
    Based on feedback from folks, I have an updated version of this workflow. It allows you to
    Search against regional Wikipedia sites. E.g. to search against German wikipedia, type "w de what to search for" i.e. "w <language code> <search term>" Language codes are from Wikipedia. You can also configure it to search against just one default Wikipedia by modifying the script filter as mentioned in the workflow. Against each result, a snippet of the text from the wiki page is displayed Remember, you can press the Shift key against a search result to quickly view the associated web page from within Alfred.
     
    Try the new version and let me know your comments.
     
     
    Q: How can I set one language as the default?
     
    Open the workflow's Script Filter in Alfred, and follow the steps mentioned in there.
  2. Like
    Benzi got a reaction from gautjac in "Todo" - a todo list workflow, with Remember The Milk (beta) support   
    Until I get something more robust in place - here is a manual workaround approach in v1.6
     
    I have included the option to export and import todo lists in Taskpaper-like format. So you can export your current todo list to an existing .Taskpaper file or the clipboard. You can import all items also from a .Taskpaper file. Since importing items always adds to the existing list, you should clear all items and then import the .taskpaper file.
     
    It is a slight pain though (because of the manual intervention required), but it should work.
     
    There are some limitations with the integration to Taskpaper (no support for notes, no sub projects, projects cannot have a space in between etc).
     
    PS. stumbled across this workflow called TodoFlow which has a Taskpaper-ready format for its todo files, maybe you can give that a try too - I haven't tried the workflow myself, but I did borrow some code for the import functionality.
     
    Download the latest version here or update via Alleyoop.
  3. Like
    Benzi reacted to ClintonStrong in Search Safari and Chrome Tabs [Updated Feb 8, 2014]   
    Search your tabs in Safari, Chrome, Chromium, Chrome Canary, and Webkit.



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

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

    Updated Mar 26, 2013: (Hopefully) prevent launching browsers when it's not supposed to, and fix an issue with it not detecting WebKit.
  4. Like
    Benzi got a reaction from meflou in "Todo" - a todo list workflow, with Remember The Milk (beta) support   
    v1.7 introduces managing multiple lists using the new list keyword (thanks to a suggestion from @twinpeaks)
     
     

     
    If you want more control over your todo items apart from tagging, pinning and setting due dates for them, you can split up your todo items with lists.
    By default, Todo uses a list called todo, but you can create new lists using the list keyword.
    Typing list will display all available lists Typing list <name> will select a list titled name if it exists or allow you to create a new list At any point in time only one list will be active, and all actions performed by using thetodo,add,import,export etc keywords will be working against the currently active list.
    In list view, Cmd + Enter will help you to delete a list altogether.
  5. Like
    Benzi reacted to Carlos-Sz in Rename 4.0 beta 2 for Alfred 3: Batch Rename files or folders (supports Regular Expression and EXIF date)   
    Overview
    Rename a file or a folder selected in Finder or in Alfred Batch rename files or folders using Regular Expression Add additional steps such as find and replace, remove space, remove diacriticals, capitalize, add current date, file modified date, custom number sequence, EXIF original date etc. Quick look to preview all the new names Recent Expressions Presets, including default ones ready to be used Triggering
    keywords ren or regex - main workflow keyword keywords ren? or regex? - read about the workflow Hotkey - show Alfred with the keyword ren Hotkey - use the last expression with no interaction File Action - rename files or folders selected in Alfred file browser How to Use

    Rename Only

    You can use the workflow to rename a single file without using a regular expression, like in Finder:
    Select a single file in the Finder (or in Alfred file browser) Type the keyword ren Type the new filename e.g. new name.txt You can optionally use modifiers and filename additions (see below).

    Rename with Regular Expression

    Here is a command line with all features, including the optional ones, as explained below:
     
    regular expression@new filename $d-$m-$y ###[1]{find@@replace}{-modifiers} Step by step:

    (1) Type the regular expression to group elements of the previous filename:
    ^([ˆ ]+) (.*)\.(.*) The workflow will group using $1, $2, $3 and so on. Later you can use them to build a new filename.

    (2) When the regular expression is finished type then an at sign at the end:
    ^([ˆ ]+) (.*)\.(.*)@ (3) After the at sign type the new filename (here you can use the groups formed in the first step):
    ^([ˆ ]+) (.*)\.(.*)@$1.$3 (4) Optionally add current date or any other filename constants (read below about them):
    ^([ˆ ]+) (.*)\.(.*)@$1 $d-$m-$y.$3 (5) Optionally add a custom sequence of numbers e.g. with two leading zeros starting at one (read how to build a custom sequence below):
    ^([ˆ ]+) (.*)\.(.*)@$1 $d-$m-$y ##[1].$3 (6) Optionally find and replace characters in the original filename utilizing the syntax {find@@replace}:
    ^([ˆ ]+) (.*)\.(.*)@$1 $d-$m-$y ##[1].$3{_@@-} (7) Optionally utilize one of the modifiers (read about them below) to e.g. set all letters to lowercase:
    ^([ˆ ]+) (.*)\.(.*)@$1 $d-$m-$y ##[1].$3{_@@-}{-l} Note that it is important to keep the modifiers at the very end of the command and enclosed by {}, using or not find and replace.

    If all you need is a simple find and replace you can use the following simplified command:
    find@@replace{-modifiers} Whether using the regular expression or only the simple find and replace you can always preview the new filenames pressing SHIFT key:



    Modifiers
    -d to remove diacriticals -s to remove space -c to Capitalize Name -t to Title name -u to UPPERCASE -l to lowercase -_ to replace underscore to space -b to replace space to underscore Use one or more at the very end of the command enclosed by {}, for example:
    (.*)\.(.*)@$1.$2{-s-u} -@@_{-u} New Filename Constants

    You can add the following constants to the new filename:

    Current Date
    $d = day e.g. 02 $m = month e.g. 04 $mm = month e.g. April $y = year e.g. 2013 $h = hour e.g. 02 $n = minutes e.g. 54 $s = seconds e.g. 30 Date Created
    $cd = day e.g. 02 $cm = month e.g. 04 $cmm = month e.g. April $cy = year e.g. 2013 $ch = hour e.g. 02 $cn = minutes e.g. 54 $cs = seconds e.g. 30 Date Modified
    $mod = day e.g. 02 $mom = month e.g. 04 $momm = month e.g. April $moy = year e.g. 2013 $moh = hour e.g. 02 $mon = minutes e.g. 54 $mos = seconds e.g. 30 EXIF Original Date

    This is the date and time when the image was originally captured by the camera.
    $ed = day e.g. 02 $em = month e.g. 04 $emm = month e.g. April $ey = year e.g. 2013 $eh = hour e.g. 02 $en = minutes e.g. 54 $es = seconds e.g. 30 Image Dimensions
    $iw = width in pixels $ih = height in pixels Sequence

    You can add a number sequence to the new filename by utilizing # (each one represents a leading zero) followed by the start number enclosed in brackets e.g. ###[1] which means 3 leading zeros starting at 1.

    Create New Folder and Move Files

    You can also use the regular expression to create a new folder and move the file(s) there.

    Utilize a forward slash ("/") before the new name:
     
    (.*)@$m-$y/file.png A new folder will be created based on current month ($m) and year ($y) and the file will be renamed and moved to there.

    Recent Expressions and Presets

    To make things faster the workflow:
    Display the last used expression In Recent Expressions there are a list of the last 40 used expressions; note that you can alo use a shortcut to access them: just type a single at sign (@) In Presets there are some ready to use expressions a long with the user favorites ones; note that you can alo use a shortcut to access them: just type a single hash sign (#)

    The workflow saves the last used regular expression in the main workflow menu, a list of recent regular expressions and a list of Presets.

    To add a Recent expression to Presets just type a plus symbol followed by the preset name: +For My Videos

    While in Presets just type a minus symbol “-“ to remove from Presets.
     
    Download Version 4.0 beta 2
    A new beta of the workflow that fixes some Mac OSX High Sierra bugs I have found.
     
    Please note: Use it with caution. Make some tests first. Backup your files before using the workflow.
     
    Release date 19 Feb 2018 OSX 10.13.3 Alfred 3 Download Now

    Download Version 4.0 beta 1
    Release date 09 Jun 2016 OSX 10.11.5 Alfred 3 Download Now  
    Rename for Alfred 2
    Release date 25 Aug 2014 OSX 10.9.2 Alfred 2.4 or later is required Download Now What's new?
    4.0 Alfred 3 support 3.2 Yosemite support Changed workflow name to only Rename EXIF Original Date (to use as a filename constant) Up to 10 times faster to process and even faster to rename Included the keyword ren as an alternative to the regex Recent Expressions shortcut: type a single @ Presets shortcut: type a single # New Picture Preset Improved Last Used feature UI refinements, including new icons New Help Filename case procedure improved Fixed second leading zero constant Workflow version history here.
  6. Like
    Benzi got a reaction from thec13 in "Todo" - a todo list workflow, with Remember The Milk (beta) support   
    Here is Todo. My version of a todo list management workflow using Alfred. This allows you to add quick entries to a list of todo items, view them, delete one or all of them, and highlights items that have been pending too long 
     
    Detailed documentation is available at GitHub.
     
    Getting Started
    Keywords:
    todo this is the main keyword, and lets you get started todo <new task> will add a new task todo will display the list of tasks todo # will display the list of tags add <new task> will add a new task done will show you all items that have been marked as done clear to remove items Adding todo items
    Typing add a new task will create a new task titled 'a new task'. This will be tagged #default Typing todo #work sign off document will create a task titled 'sign off document' and tagged #work Typing add !! this is sticky will create a pinned item titled 'this is sticky', tagged #default When adding items, add and todo keywords are interchangeable, although the key difference is add allows you to add items with the title twice; todo provides a more informative feedback on screen
     

     
    If you wish to load todo items in bulk, use the import keyword, described later below under Advanced Options
     
    Hotkey Support:
    If you set a hotkey (Alfred removes configured hotkeys when you install a workflow) by opening up the workflow, then you can use the hotkey to import the selected item in Mac OS. e.g. select some text, press the hotkey, and the selected text will be parsed and added as a todo item ---- Select this entire line of text and trigger the hotkey to create a pinned item, tagged !! #forum  
    Command modifiers:
    Pressing fn key when selecting an item will enable edit mode for that item - this works for both todo items and tagsIn edit mode, use the same syntax that you use to create a new todo - e.g. #newtag new todo text. Todo will identify which portion you need to change and update them accordingly Pressing Shift will allow you to mark an item as done. You can view all done items with the done keyword Pressing Cmd will help you delete either a todo item, and all items that match a specific tag Pressing Alt will help you list out all items that match the currently selected items tag Pressing Ctrl will help you pin/unpin a todo item. Pinned items will always be displayed first (they can be deleted as usual) If you press the Tab key against a todo item, you will be shown all todo items with the matching tag Pressing Enter will copy the text content of a todo item to the clipboard  
    Download
     
    Download the workflow from here and give it a try. This theme works well with the workflow.
     
     
    Documentation
     
    Detailed documentation is available at GitHub.
     
    Screenshots
     
    Default todo setup with a few items:

     
    What's new?
     
    26 April 2013 - v2.2
    Beta support for Remember the Milk. Read about it in this post.
  7. Like
    Benzi reacted to Andrew in Script filters are not included in Alfred's knowledge [Fixed 2.0.3 b184]   
    This should fixed in 2.0.3
  8. Thanks
    Benzi got a reaction from jesused in Battery - view summary stats about your laptop battery   
    Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity)
    Usage: enter the keyword "battery"
    Tested on: Mountain Lion, MacBook Pro
    Download: from here
     
     
  9. Like
    Benzi got a reaction from Appu Mohan in Battery - view summary stats about your laptop battery   
    Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity)
    Usage: enter the keyword "battery"
    Tested on: Mountain Lion, MacBook Pro
    Download: from here
     
     
  10. Like
    Benzi got a reaction from Carlos-Sz in Alfred Forum, a theme inspired by, well... Alfred Forum   
    Download.
  11. Like
    Benzi got a reaction from MikeAlt in Comic strip viewer workflow   
    An experimental workflow in Python. Displays a list of comics that you can read straight off of Alfred.

    Download: from here  (always the latest version)
    Developer side note: The experimental part comes in the form of - it is very easy to extend this workflow if you know a little bit of Python / intermediate programming skills and have a solid RSS feed of a comic you like. Add the code for the new comic in the plugins folder, and as long as it follows the method signature the sample code provided has, you have a new feedback item and comic to read.
    Source Code Repo: GitHub
     
    Version History
    v0.1 - Initial version
    v0.2 - Added search support for the list of comics. So typing "comics dilb" will just list Dilbert strip option. Searches are performed against the title and subtitle of each strip. Added a couple more comics to the list based on requests, and two courtesy Jefferson).
     
     
    Have fun.
  12. Like
    Benzi got a reaction from bcometa in f.lux workflow   
    This is not very foolproof and is very basic at the moment, but you can change the color temperature with Flux.
     

     
    Update 1: Now includes option to disable Flux for a minute/hour
     
     
    Download  it from here and check it out.
  13. Like
    Benzi got a reaction from drking in "Todo" - a todo list workflow, with Remember The Milk (beta) support   
    v1.3 now supports setting due dates for items. Check out the new documentation setup at GitHub under the Syntax Guide section.
     

  14. Like
    Benzi got a reaction from drking in Vintagey   
    Download
  15. Like
    Benzi got a reaction from drking in Clayman - warm earth colors   
    Download
  16. Like
    Benzi got a reaction from drking in Alfred Forum, a theme inspired by, well... Alfred Forum   
    Download.
  17. Like
    Benzi got a reaction from tbjohnston in Take quick screenshots using the ScreenCapture workflow   
    This screen capture workflow in Alfred makes taking quick screenshots easy. Screenshots are saved to your Desktop or to the Clipboard based on the option you select.
     
    Download from here and give it  a whirl.
  18. Like
    Benzi got a reaction from pavel in Battery - view summary stats about your laptop battery   
    Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity)
    Usage: enter the keyword "battery"
    Tested on: Mountain Lion, MacBook Pro
    Download: from here
     
     
  19. Like
    Benzi reacted to dingyi in Domainr Workflow   
    I just made a simple workflow to find domains quickly via domai.nr's api.
     
    Hope you like it:P
     

     
     
     
    Download link
  20. Like
    Benzi reacted to oderwat in Find files recently changed (similar to Trickster functionality)   
    I often need to do something with my last saved or changed files, like a screenshot or a file I just downloaded with CyberDuck or saved from inside an application.
     
    Normally I use "Trickster" for that task. It which gives me access to files like recently downloaded, saved or edited files in a quick way but I thought it would be cool to have this in Alfred!
     
    After a brief check of existing workflows I could not find any which does the same simple task: List files in the current users home which are modified or created in the last 48 hours. The list is sorted descending by modification time. I also made the result list searchable.
     
    Simply type "last" and it will list the last modified files, you can press space and some letters to filter the results.
     
    You also can press Return to open the file or CMD+Return to Browse to the file with Alfred (and then use File Actions on it).
     
    https://github.com/oderwat/alfredworkflows/blob/master/Last%20changed%20files.alfredworkflow
     
    This workflow uses "workflow class" by David Ferguson (@jdfwarrior) to build the resulting xml data. Besides that it uses a "mdfind" shell command which can be enhanced if you want to change where it searches and what it filters from the results (I filter some filetypes which are unlikely to be interesting for me).
     
    I am supporting Updates by the "Alleyoop" Workflow now (Install that workflow from here: http://www.alfredforum.com/topic/1582-alleyoop-update-alfred-workflows/)   Feel free to comment!   Last Changed: 2013-04-19 19:06   V1.12: With the new Alfred 2 Update it is finally possible to fix the result order in a supported way (I modified workflow.php to support that). V1.11: Yet another method to fix the result order! Added 'Docoments/My Games' to blacklist. V1.10: Added iTunes to Blacklist (and a rather special personal Blacklist)! V1.9: Fixed problem with missing files when they have the same timestamp. V1.8: Updated to the new way Alleyoop works. V1.7: Changed how files are choosen to include files recently created even if they have an old timestamp. Added Microsoft Office Support files to the blacklist. Added Parallels VM Files to the Blacklist. V1.6: Made the found files in the result list draggable! V1.5: Added Alleyoop Support and fixed another bug with listing order (hopefully the last time now). V1.4: Fixed that the "oldest" entry was always displayed on the top (while the others where in descending order) V1.1: I updated the script to exclude some more files (mysql data, files in ~/Library, Safari Bookmarks)
  21. Like
    Benzi reacted to aiyo in Send URL   
    I have finally converted my Send URL extension into a workflow.
     

     
    The workflow selects the URL from the frontmost App or a URL from the Clipboard. Supported Apps are:
    Safari Webkit Google Chrome (Beta/Dev/Canary) Camino Opera (and Opera Next) Omniweb  
    You can then send the URL to a variety of Apps
     
    Safari Webkit Google Chrome (Beta/Dev/Canary) Camino Opera (and Opera Next) Omniweb Firefox (and Aurora) iCab Sleipnir Paparazzi! Mail Sparrow Postbox Gmail VLC Adium (as a chat to an online contact) Droplr downforeveryoneorjustme.com and the clipboard  
    The workflow only list the Apps installed on you mac.
    You can download Send URL here:
    https://github.com/aiyodk/Alfred-Extensions/raw/master/AlfredApp_2.x/Send-URL/Send-URL.alfredworkflow
     
    EDIT:
     
    I have updated Send URL.  
    The update fixes a bug where the workflow would not work if the URL contains a '&' and downforeveryoneorjustme.com is not working correctly.
    I have also included options to copy the URL as a HTML or Markdown link (including the page title)
  22. Like
    Benzi reacted to rice.shawn in Workflows Help Workflow   
    (--- update: currently on version 1.05 -- download links all the same)
     
    So, I have a workflow problem in that I like to install them. Quite a few of them, and I can easily lose track of the commands for each of them. Hence, I present to you a tool that I needed for me: Alfred2 Workflows Help.
     
    Basically, this is a python script that will cycle through your workflows folder, process the info.plist files, and grab the hotkeys and commands from each of them. Then it will compile all of them into a Markdown file, and then show that file in a Quicklook window. Yes! Screenshot is below.
     
    Github Repository here: https://github.com/shawnrice/alfred2-workflow-help
    Download here: https://github.com/shawnrice/alfred2-workflow-help/raw/master/Command%20Help.alfredworkflow
     
    Currently, there is just one command: help.
     
    The file can take a few seconds to generate, and it is generated every time. This will change in a later version.
     
    ---
     
    Some notes: The main script (help.py) is written in python, and it's really my first venture into python, so the code might be laughable. I welcome collaboration and commits. I can give you access to the repo if you private message me. I do think that this workflow has a lot of potential.
     
    This is version 1.0, and there are many improvements to be made. It has Alleyoop support, so updating should be easy.
     
    Quirks and files included:
    This workflow displays the file generated through a debug mode of Quicklook (so that the focus doesn't need to switch to finder), so there will always be a "[debug]" message on the window. I've included a Quicklook Markdown generator in the workflow to make sure that it always displays correctly. There are some images that are included that are not currently used (these are in the "images" folder). They will be used to show the hotkeys later. ALP is included. Right now, only part of the library is used, so I might strip it down to make the workflow smaller. So, the size of the workflow is larger because of these things in there.
     
    ---
     
    Roadmap:
    Clean up the help.py code. Cache the generated file and update it only when the workflow folder changes. Make the display of the file nicer. Add in more images to the file. Display individual workflow helps (show the data for that workflow as well as the readme.md file). Have a better precedent to show either text or subtext for the command help. Try to figure out a way to describe arguments taken for different commands / hotkeys. Make it understand file actions better. Clean up the file/folder structure. Maybe some more... any ideas?  
    Dependencies and Testing:
    Built on 10.8.3, but this should be compatible for all systems as the only dependencies are included in the workflow.
     
    Screenshot:
     

  23. Like
    Benzi got a reaction from thec13 in Take quick screenshots using the ScreenCapture workflow   
    This screen capture workflow in Alfred makes taking quick screenshots easy. Screenshots are saved to your Desktop or to the Clipboard based on the option you select.
     
    Download from here and give it  a whirl.
  24. Like
    Benzi got a reaction from Domenic in Take quick screenshots using the ScreenCapture workflow   
    Try the latest version at the original download link. If you select any of the two options (Interactive / Save entire screen) while pressing the "Alt" key, you get the choice to open the taken picture in a new Mail message. This does not work for the copy to clipboard modes though.
     

  25. Like
    Benzi got a reaction from drking in "Todo" - a todo list workflow, with Remember The Milk (beta) support   
    31 Mar 2013
     
    Some features for power users:
    [+] new features keyword which help switching on or off advanced features of Todo. [+] new Smart Content filters allow Todo to identify certain todo items like web urls, file and folder names, or applications. Pressing enter on Smart Content enabled item will open that item instead of copying its text to the clipboard  

    Currently, there are three settings. Quick Create allows you to create new Todo items (when typing it in using the todo keyword) slightly faster. It prevents Alfred from disappearing and appearing when an item is added.
     
    Smart Content - if you would like to add folders, URLs, to Todo, try adding them after Smart Content mode is switched on. It allows the following transformation:
    Smart content mode disabled

    Smart content mode enabled

    Smart Content - Page Titles, when enabled, will pre-fetch the web page title so that you get a better idea what a link will take you to, as in the example above.
     
    This allows you to do multiple things, you can now group your favourite links, folders or files by a tag name. Smart Content works best when you have a hot key enabled to add a new Todo item.
     
    Remember, smart content items are just simple todo items, so you can pin, tag, delete, mark as done etc as normal. Smart content only kicks in for all new items added, so existing items will remain untouched.
     
    Download the latest version here.
×
×
  • Create New...