Jump to content


Most Liked Content


#4055 Evernote 8.0: Search, Create, Append, Preview, set Reminders... All within Al...

Posted by Carlos-Sz on 14 March 2013 - 04:41 PM

Description

Alfred 2.0 workflow to search and create notes in Evernote.

Search

Keywords

  • ens to search in every note field
  • ens @ to search in a selected notebook
  • ens # to search notes with a selected tags

You can use ent (search in titles only) or enr (search in reminders) or entodo (search to-do notes) or enrec (search notes updated within a week) or enu (search notes with a source URL) instead of ens.

NEW: You can select multiple tags to fine tune your searching. Just add a second hash sign and select or type the tag e.g. ens #tag1 #tag2 :my query

NEW: In addition, you can select a single notebook then tags too e.g. ent @notebook #tag1 #tag2 :my query

Note that, if you want to select a notebook and/or tags, the query goes after the colon sign as seen above.

en_all.png

Actions

  • Return key to open the note
  • Shift key to preview the note
  • Option key to set a reminder
  • Control key to paste the note text content to the top most application
  • Function key to open the note URL
  • Command key to append text (from clipboard, selected text or typed) or selected file(s) in Finder. You can also use it to only add tags to a note. To do so, type or select a tag and don't type anything after the colon then select the source "Type a Note" in the next step e.g. enn #tag :

Note that Alfred Fallback Search is also supported (you have to add it in Alfred 2 Preferences>Features>Default Results, then click Setup fallback results button).

Create

Keyword enn

enn8.png

You can optionally type the note title or, for a more complex creation, follow the syntax below:

@Notebook #tag1 #tag2 !reminder :Title

  • @notebook: after typing @ a list of notebooks will be displayed then select one or type it; the default will be used if omitted
  • \#tags: after typing # a list of tags will be displayed then select one or type a new one (multiple tags are supported, type each one after a hash sign)
  • !reminder: after typing an exclamation point a list of reminder suggestions will be displayed then select one or type a custom reminder such as in 4 days or 05/01/2014
  • Title: at the end, after a colon

Note that items of the syntax are optional, however the syntax has to end with a colon, with or without typing the note title e.g. #tag1 :

Note Content Source

  • From clipboard
  • From selected text
  • Typed directly in Alfred (keyword typenote also available only for it)
  • From Safari or Google Chrome URL
  • From message(s) selected in Mail app
  • From file(s) selected in Finder app: you can create one note with files or one note for each selected files. Alfred File Browser also supported.

Actions

  • Return key: create a note
  • Control Key: create a note and open it
  • Command key: append text or file to a note
  • Option key: append text to a note with current date

How to Append

  • Highlight one of the note content source e.g. From Clipboard
  • Optionally type tags and a reminder e.g. #tag1 #tag2 !tomorrow
  • hold command key and hit return key
  • select a note from the list (search by title only) and hit return key

Mail

  • Message subject as the note title
  • Message received date as the note creation date
  • Message Link as the note source URL
  • A short header (e.g. sender)
  • A plain text version of the email content

Preferences

Bring Alfred and type the keyword enpref:

  • Quick Look: select Card (Evernote default) or HTML (entire note content)
  • Search wildcard: select Manual (type an asterisk after the query string) or Automatic (may be slower)

Download Evernote 8.0

What's new?

  • New syntax to create a note: @notebook #tag1 #tag2 !reminder :Title
  • Select tags and a notebook from a list or type them when searching or creating a new note
  • Create one note for each Finder selected file
  • Create a note from current Safari or Google Chrome URL
  • Keyword enu to search notes with a source URL (default action is to open the URL instead of the note itself)
  • Keyword enr to search and handle due/overdue reminders
  • Keyword entodo to search to-do notes
  • keyword enrec to search notes updated within a week
  • Search with a selected notebook and multiple selected tags at the same time e.g. ens @notebook #tag1 #tag2 :my query
  • Set a reminder (option key)
  • Open note URL (function key)
  • Append text or file(s) selected in Finder to a note from search feature (command key)
  • Append file(s) from Finder
  • Several improvements
  • Bugs fixed

Workflow version history here.


  • Pedro Lobo, Jono, drking and 25 others like this


#7903 Alleyoop: Update Alfred Workflows

Posted by phyllisstein on 28 March 2013 - 06:06 PM

Note from Andrew: While this is a convenient method for updating workflows, I cannot endorse the use of it unless you are fully aware of the security implications of blanket updating all of your workflows. I'm currently working on a built in workflow auto-updater, for a future Alfred 2 release, that performs the standard verification checks that Alfred currently does on manual import, along with migrating your hotkey/keyword settings on upgrading. I'll also be adding 3rd party workflow developer signatures to keep you safe.

 

Hey all,

I've just completed a workflow designed to make it easier for workflow developers to push updates to their work. (And to their flows.) It's called Alleyoop, it's based very heavily on the concept behind David's old extension updater, and it works a little something like this:

  1. When you enter the query oop, it searches through the workflow folders for files named update.json. update.json indicates what version of the workflow is currently installed and where to check for an update. (The format is below.)
  2. Alleyoop downloads a remote json file, indicated in update.json, and if that file indicates a higher version, it downloads the workflow at the address given by the remote file.
  3. The user finds the workflow in his or her ~/Downloads directory and opens it.
  4. There is no step 4.

Workflow developers can start implementing this workflow immediately. All you need is a static place to host a json file and an alfredworkflow file—so Github will do, failing all else, but Droplr won't. Place an update.json file in your workflow, with the following keys defined:

 

{
    "version": 1.0,
    "remote_json": "http://alfred.daniel.sh/Updates/Things.json"
}

 

version should be a float, meaning that 1.0 and 1.1 and 3.14159 are all valid, but 3.1.4 is not, and remote_json should point to a json file on a remote server that's defined like this:

{
    "version": 1.5,
    "download_url": "http://alfred.daniel.sh/Workflows/Things.alfredworkflow",
    "description": "Brief description of the update."
}

 

If the version on the remote server is greater than the version on the user's computer, s/he'll see something like this:

alley_screen.jpg

 

Selecting a workflow from the list will download it. No fuss, no muss.

 

And that's it! Enjoy implementing this, until we get a good package manager running again, and let me know if you run into any difficulties.

 

Download Here


  • Tyler Eich, drking, Clinton Strong and 16 others like this


#10808 Menu Search

Posted by ctwise on 15 April 2013 - 01:27 AM

The previously released menu search workflow has been universally panned due to the poor performance of the AppleScript that dumps menu contents. The caching of results worked very poorly as a stop-gap. So, I've re-written the menu extraction in Objective-C. It's much faster. The source is here: https://github.com/c...lfred-workflows

 

You can download the workflow directly from http://tedwi.se/u/db

 

To recap, this workflow lets you trigger an application's menu's from Alfred. For example, if you're in iTerm and trigger Alfred, you can type 'm view' to get a list of all menu items with 'view' in the name or that belong to the 'view' menu. Selecting one of the entries triggers the corresponding menu entry in iTerm. In one sense it gives you a command-line to control your applications.

 

The workflow has the beginnings of shortcut key display as well but it's currently disabled due to numerous bugs.

 

Update: 

 

v1.3 - Provide error message when assistive devices isn't checked.

v1.2 - Skip the Safari History and Bookmarks menus. They take too long.

v1.1 - I fixed the bug with Alfred not remembering selections and added AlleyOop support. Download from the same link.

 

Requires OS/X 10.7+.

 

---

 

You need to turn on OS/X assistive device support to allow this workflow to operate. You can find the checkbox in Settings. The settings page looks very different in recent versions of OS/X but the wording for providing access for assistive devices is very similar no matter what OS/X version you're using. Here's an image of the settings from the latest version of Mountain Lion.

 

Accessibility-2.jpg


  • phyllisstein, Tyler Eich, Clinton Strong and 15 others like this


#5785 Battery - view summary stats about your laptop battery

Posted by Benzi on 19 March 2013 - 11:29 AM

capture.png

 

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

 

 


  • Weaselboy, drking, GamerChase and 14 others like this


#704 Weather Workflow (with Conditions and Forecast)

Posted by David Ferguson on 16 January 2013 - 11:11 PM

weather.png

 

Updated 3/18:

NOTE: Set your location again so a default weather unit gets set initially, then change it.

Removed saving to the Workflow Data folder and actually save IN the workflow folder now. Should fix issue a few users are seeing and also allows syncing weather location.

 

Download


  • donparr, ithinkimalion, Jono and 13 others like this


#4357 Reminders

Posted by Jack James on 15 March 2013 - 12:43 PM

This workflow lets Alfred create new reminders in reminders.app, and show current reminders*.
 
Basic Usage
 
To use, just type "r reminder_text" into Alfred. E.g. "r check out some of Alfred's other workflows" to find an existing reminder with the search text*, or to create a new one.
Actioning an existing reminder marks it as complete.
 
Advanced Usage
 
Hold option to view the new/existing reminder in Reminders.app, hold control to delete it instead of marking it complete.
 
To set a reminder for a specific date, use any of the following commands:

  • r today release the hamsters into the wild
  • r tomorrow bring about financial ruin upon my enemies
  • r thursday have a banana
  • r in 5 minutes drop everything
  • r in 2 hours laugh out loud in random thoughts list
  • r in 3 days 1 hour pick stuff up off the floor
  • r on 24/12/13 to forget everything I know about things in movies
  • r on 12 June 15 to come up with some interesting ideas
  • r on 11 12 13 to check what the weather's like
  • r on 31-12-99 23:22 to panic about the millennium bug
  • r at 2pm to wait for nothing in particular
  • r thursday at 15.30 to ask some difficult questions

You can use most of the same keywords to show existing reminders, so for example "r tomorrow" will show you all reminders that are due tomorrow, "r in thoughts list" will show you the reminders in the "random thoughts" list, and yes, you can do combinations like "r tomorrow in thoughts list"!
 

Reminders from Applications

You can use "r this" to turn the current application into a reminder, such as the current page in Chrome or Safari, or the current Mail message. Again, combinations are possible, "r this today website to check out in procrastination list" is perfectly feasible!
Currently supported applications: Safari, Google Chrome, Mail, Contacts/Address Book, Finder, Chromium, TextMate, TextEdit, Vienna, OmniFocus, WebKit Nightly, FoldingText, Google Chrome Canary.
 
Please post with requests for other applications and I'll do my best to add support.
 
 

Getting help
Type "r help" to show the above examples in Alfred
 
14plj7.jpg
 

Dates & times

The order of d/m/y (as well as HH:mm) I believe will depend on your region settings in the OS.

The workflow tries to be smart about times, but due to needing to support both 12 and 24-hour clocks, you will get more predictable results when using "at 11am" rather than "at 11:00"
 
2emd0sz.jpg
 
Other keywords

  • "r all" will show all current reminders (as will simply typing "r" with no keywords)*
  • "r refresh" will show all current reminders and refresh the list*
  • "r overdue" will display all overdue reminders*
  • "radd" will show options just for adding reminders
  • "rshow" will only show existing reminders*
  • "rtest" is for debugging purposes and will identify anything that might be broken

If you want to change the default reminder list, edit the applescript property at the top, otherwise it will just use the first one (unless you use "in Y list" at the end).

 

* Not currently supported in OS 10.9

 

Note: OS 10.9 Mavericks

 

This workflow currently operates in a "write-only" mode in OS 10.9 Mavericks.

Due to an issue with 10.9 (and likely 10.9.1), I have removed some of the functionality– specifically the ability to view current reminders within Alfred. You can still use all the commands for adding new reminders, and in the event that the issue is fixed, I will restore full functionality. Read on if you want more details on why this is.

 

When using this workflow with 10.9, performance is extremely slow (14x slower than 10.8) due to an apparent bug in osascript (which may affect other Alfred workflows too, or might just be limited to accessing Reminder data). This means that fetching data from Reminders is taking around a minute or so per reminder. This is a reproducible bug with AppleScript that has nothing to do with Alfred or this workflow, which I have logged with Apple as of October 7 (#15163843), but has not yet been addressed (and as with other bugs, may never be).

 

The workflow is designed to use a caching process to store current reminders (as trying to access them directly on any OS version is somewhat slow), but even this can result in prolonged CPU spikes while the cache is built in 10.9, as well as general unresponsiveness of Reminders.

 

This is probably the best I can do for now until the bug gets fixed (which might never happen). I am genuinely sorry about this, and if I can figure out a way around it, I will do so, but ultimately the workflow has to communicate with Reminders via AppleScript to some extent.

 

Additional setup for OS 10.9

 

You will need to enable access to your reminders. You will be prompted to do this when you run the workflow, but if you need to check, go to

System Preferences > Security & Privacy > Privacy > Reminders

Make sure both "Alfred 2" (and "osascript", if it is shown) are enabled.

 
Changelog

  • Thursday, 9 January 2014 – Fixed Finder links in OS 10.9

  • Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9

  • Friday, 22 November 2013 – Workflow will now display a message if the command is not valid

  • Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly

  • Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail

  • Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time

  • Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug

  • Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users

  • Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"

  • Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM

  • Wednesday, 18 September 2013 – Fix for non-gregorian date format

  • Tuesday, 17 September 2013 – Updated q_workflow module to latest version

  • Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText

  • Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times

  • Tuesday, 16 April 2013 -- Added support for WebKit Nightly.
  • Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns
  • Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact
  • Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!)
  • Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!)
  • Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day"
  • Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium
  • Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache
  • Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible
  • Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app
  • Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow
  • Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow
  • Sunday, 31 March 2013 – Added pattern "r Wednesday something"
  • Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional
  • Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list"
  • Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file
  • Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something"
  • Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above.

Download
http://bit.ly/10uCE2J (Approx. 1MB)
 
Note: this workflow will notify you if a newer version is available. To disable this functionality, change the property "shouldCheckForUpdates" to "false"

 

Source: https://github.com/s...lfred-reminders
 
Disclaimer
This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.

 

Feedback

By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.


  • twinpeaks, drking, JorjGaidin and 11 others like this


#916 Search Safari and Chrome Tabs [Updated Feb 8, 2014]

Posted by Clinton Strong on 18 January 2013 - 11:12 AM

Search your tabs in Safari, Chrome, Chromium, Chrome Canary, and Webkit.

Screen%20Shot%202013-01-19%20at%2012.42.

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.


  • Pedro Lobo, jarhead, drking and 10 others like this


#5781 Just a quick and huge thanks for all of you!

Posted by Andrew on 19 March 2013 - 11:15 AM

Hi all,

 

I just wanted to say that I am overwhelmed by the fantastic feedback Alfred v2 has had so far.

 

Also, I never expected this forum to take off as well as it has, with all of you actively helping other users out with their questions and workflows, not to mention the amazing user workflows which have been created already. You are all helping make the Alfred experience so much better!

 

Here's to the future! :)

 

Cheers,

Andrew


  • Weaselboy, Tyler Eich, drking and 9 others like this


#4656 Pinboard Search Workflow

Posted by eknkc on 16 March 2013 - 12:28 AM

Hi,

 

I just created an alternative Pinboard workflow that allows searching for pinboard bookmarks within Alfred. It can fetch data asynchronously, so there should not be delays during searches and the matching code has some fuzzy logic. Might come in handy for Pinboard users so I wanted to share.

 

NOTE: It requires Node.JS to be installed. Please get it from http://nodejs.org if you dont have Node.

 

Keywords:

 

pinboardauth username:TOKEN <- set access token (get it from https://pinboard.in/settings/password)

 

pb query <- search for query

pbunread <- items in read later list

pbreload <- force data reload

 

Hold cmd while selecting a bookmark to copy it's url to clipboard.

Hold ctrl while selecting to delete a bookmark from your pinboard.

 

Workflow:

http://d.ekin.io/L6QO

 

Source Code:

https://github.com/e...alfred-pinboard

 

Let me know if it works for you.


  • twinpeaks, Jono, helloleo and 9 others like this


#3895 Colors—convert color formats & access the OS X color panel

Posted by Tyler Eich on 10 March 2013 - 10:53 PM

Colors v2.0.0

 

Get it from Packal (Recommended)

 

Quick Summary:

This workflow can process and convert all CSS color formats and several Objective-C formats, namely NSColor (calibrated and device) and UIColor. It also provides an interface to the OS X color panel for easier color manipulations.

 

It's written in native code (i.e. it's really fast).

 

Quick Preview:

colors-hexadecimal.png

You can find a full description on Packal.

 

Direct downloadsource code on Github


  • Andrew, phyllisstein, Clinton Strong and 9 others like this


#3441 Recent Docs, Folders, Apps + Favorites + Interaction with Open and Save Dialo...

Posted by Carlos-Sz on 26 February 2013 - 12:21 AM

Recent Docs, Folders, Apps + Favorites + Interaction with Open and Save Dialogs (now with auto path) 3.0

Features

  • List and open recent Finder items by category in a drill-down menu style
  • Just Now category listing the last 24 hours items
  • Make recent paths interact with Open and Save dialogs (including auto path)
  • Favorites: add custom files and/or folders

Usage

Browsing recent items

  • Keyword rec: will list all worflow categories; select a category or type to filter, e.g. rec do will list only the Documents category (see screenshot below)
  • Keyword justn: will list the very recent items of all categories; you can also set a hotkey to fast access this category
  • Keyword fav: will list your Favorite items. To Add an item to Favorites use Alfred File Action or while browsing any Recent Items category hold fn key and press Return; to remove an item from Favorites, go to Favorites, select the item, hold control key and press Return
  • Quick look: highlight any file or folder from any category and hit Shift key in order to preview the item (e.g. a document content)
  • Alfred File Action: highlight any recent item and hit right arrow key to bring Alfred File Actions (e.g. copy or email an item)

ri3_02.png

Interacting with Open/Save dialogs - Part I

  • When a open/save dialog appears bring Alfred and use one of the Recent Items keywords such as rec
  • Now select an item from any category
  • Hold option key and hit Return
  • The path of the item will be passed to the open/save dialog

You can use the same approach to change the path from an existing Finder window.
The feature works from any category, keyword or hotkey.

Interacting with Open/Save dialogs - Part II: Auto Path

The feature saves the last used path per Application and you can use this feature to make a default folder for each application (e.g. only use the auto path when you want the most used folder for that application):

  • after an open/save dialog appears bring Alfred and type apath keyword and hit Return
  • the first time you use the feature for the application the Folders category will be displayed
  • select one item from there or any other Recent Items category, hold option key and hit return
  • the path will be passed to the dialog and it will also be recoreded
  • now the next time you type the keyword the saved path will be passed to the dialog automatically

There is also a hotkey for the auto path feature.

Drill-down menu

Based on the concept by robhor it displays categories and then, once inside one of them, a list of items.

In Recent Items you can also search within a category and a gentle backspace will bring the initial categories.

ri3_01.png

ri3_03.png

What’s new

Version 3.0

  • Auto path
  • Improved favorites sorting
  • Improved recent items filter
  • Alleyoop 2.0 support

Version 2.0

  • Just Now category
  • Keyword justn for faster access
  • Hotkey for Just Now category
  • Small cosmetic changes
  • Support for Alleyoop

Download

Version 3.0
Release date: 09 Apr 2013
Made in OS X 10.8.3
Download now

PS: post wrote with Byword and converted using Markdown to BBCode workflow


  • phyllisstein, twinpeaks, Jono and 9 others like this


#19590 [Mavericks] Merge all Finder windows.

Posted by iKam on 01 November 2013 - 01:51 AM

Hi guys.

 

The build-in Finder tab feature is awesome in Mavericks.

 

And here is a little workflow to merge all current Finder windows into one single window with tabs.

 

Hope it can help.

 

0.png

 

Download it.


  • vdesabou, thec13, Benzi and 9 others like this


#1117 EggTimer v2 [updated to 2.0 final]

Posted by CarlosNZ on 20 January 2013 - 07:00 AM

Hey folks,

 

I've been chugging away building a new version of my EggTimer extension to take advantage of Alfred 2's new features. And now it's ready for whoever would like to to have a playaround with it and see what they think:

 

EggTimer v2.0

 

 

It will also be available at Tom's Alfred Repo, but I personally haven't had a chance to test that yet, so let me know how it goes for you.

 

Now, it's very much a beta, as there's several things that don't work as well as I'd like yet, but I'm pretty pleased with how the integration with Alfred 2's new live results feedback via the Script Filter is working. My aim is to have a really nicely polished, easy-to-use (no users fiddling with config files) workflow ready to release by the time Alfred 2 goes public, so any comments or suggestions are most welcome.  It's ready! (22 March 2013)

 

I've included a full summary of all the functionality in the documentation included in the download (enter timer help in Alfred), but here's just a quick overview of the features:

  • Simple timers
  • Auto-repeating timers
  • Alarms (set a specific time)
  • Snooze function
  • Repeat function
  • Recent Timers list (choose one to restart)
  • Full integration into Alfred's results window.

Couple of quick caveats:

  • EggTimer currently requires growlnotify to display notifications when timers finish. This is because the timer process completely decouples from Alfred to run in the background, so it can’t feed back its output to Alfred. I’m working on a solution to use a Notification Centre alert option to make this as seamless as possible to the user.

  • Currently, running timers won’t restart after a crash or a reboot. I’m working on a solution to this which I aim to have working soon.

Okay, that's about it. Enjoy, and let me know how it works for you.

 

----

 

21 January 2013: Updated to beta 2

 

Changes:

  • Timers/Alarms now use a “while…” loop to check due time against time of day (instead of just sleeping for a duration). This prevents the problem of timers running late if the computer was put to sleep. (Don't know why I didn't just do this to begin with.)

----

 

24 January 2013: Updated to beta 3

 

Changes:

  • Now uses recommended working folders for storing timer info and preferences. The main benefit from the user point of view is that future updates won’t overwrite your timers and preferences.
  • Timers and Auto-timers now accept hour:minute input. Syntax is timer HRS:MINS Reminder.
  • Can now stop timers from the timer list using the option-key modifier. Kind of an ugly implementation though, as it will display the same information regardless of whether it’s context-appropriate. Trying to think of a better way to make this work. (Suggestions welcome!)
  • Timers will be restored if they have crashed. This is only partially implemented though, because it’ll only check if you actually run the workflow. It won’t restore them at login yet, which is more important. Working on it.
  • Miscellaneous minor tweaks.

----

 

27 January 2013: Updated to beta 4

 

Changes:

  • The big one: will now resume timers after restart/re-login. EggTimer adds an entry to the OS X launchd daemon to check for and resume timers at startup. You will be prompted to give permission for this on first launch of EggTimer.
  • New keyword/workflow structure. Check out the workflow config panel to see what’s what. If you’d prefer the old ones (all starting with timer), just change them yourself (eg. repeat -> timer repeat). You’ll note that from the timer list (timers or hotkey Ctrl-T) you can also select to launch a new timer or alarm (courtesy of Alfred’s new Applescript-ability).
  • Now has a “nuke” option (timer nuke) to reset EggTimer back to initial blank config. (Deletes all working folders, cancels running timers, uninstalls startup item.)
  • Fixed bug with “08” and “09” minutes entries when using hrs:mins timer format.
  • More specific icons and other miscellaneous UI tweaks.

beta4a

  • Fixed minor (and embarrassing) regression. :wub:

----

 

28 January 2013: Updated to beta4b

 

Changes:

  • Fixed absolute path reference preventing permission dialog from launching.

 

28 January 2013: Updated to beta4c

 

Changes:

  • Doh! One more pesky absolute path eliminated. There's still a bit of weirdness with resuming timers after a login though, so I'm still trying to figure that out. Maybe answer "no" to installing startup item for now..

beta4d

  • Okay, the problem was fairly minor (just me being scatterbrained :rolleyes: ), so the startup check should work nicely now. Here's hoping!

---

 

22 March 2013: Updated to v2.0 (final)

  • I've finally integrated proper notifications for the completed timers. It will work with either Growl or Notification Centre, depending on what you have selected in the workflow config. growlnotify is no longer required, and you'll find "EggTimer" as a properly registered application within Growl's preferences (where you can tweak it).
  • Miscellaneous tweaks and tidy-ups (including documentation - timer help to display)

  • Pedro Lobo, phyllisstein, twinpeaks and 9 others like this


#912 AlfPT - Alfred Package Tools (Workflow Installer/Updater)

Posted by tomhunt on 18 January 2013 - 09:54 AM

UPDATE by Vero (Alfred's mum):

The AlfPT site was a pilot project for an installer/updater by Tom Hunt and is no longer available.

 

 

AlfPT was a wonderful idea by an Alfred user, Tom Hunt, to create a way for workflows to be updated and gathered in one place. However, Tom has decided to take the project offline (due to school/work commitments and the bandwidth requirements of that project). As such, documentation in this thread is now outdated.

 

Here's what's coming soon:

- Other users are working on their own repositories for workflows

- We are working on an official v2 Extras site, which will include curated workflows (which we've tested and checked) and themes

 

We'll also be publishing a few blog posts with our favourite and your favourite workflows very soon, so keep an eye on the blog for the links to the above! :)

 

 

 

 

logo.png

The Unofficial Alfred Workflow Repository

 

 

 

sample.jpg

 

 

Hi all

 

Introducing AlfPT - the easy way to install and update your Alfred v2 Workflows.

 

Download the AlfPT workflow here

 

 

Workflow Users

 

Once you've installed AlfPT use the following commands:

 

alfpt install {query} :  to find new workflows to install

alfpt install {query} -a {author} -b {bundleid} : filter results by author/bundle id. Both flags are optional.

alfpt update : to list any workflows you've installed through AlfPT that have new versions available. Select one to update.

alfpt update -f : to list all of your workflows, regardless of whether there are new versions available. Select one to update.

 

Workflow Developers

 

Want to get your workflows into the repo?

 

Visit the AlfPT homepage to register and start uploading workflows. 

 

If there are any files in your workflows that you do not want to be overwritten during the update process (config files and the link) prefix them with an underscore e.g _icons 

 

 

It's very likely that the AlfPT workflow will be updated regularly over the next few days so keep alfpt update-ing to get the latest release.

 

If you run into any problems just let me know.

 

Happy workflowing!

 

 

Tom


  • twinpeaks, Enhorn, Florian and 8 others like this


#8353 Workflows Help Workflow

Posted by Shawn Rice on 31 March 2013 - 02:20 AM

(--- 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/s...2-workflow-help

Download here: https://github.com/s....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:

 

screenshot.png


  • phyllisstein, twinpeaks, Clinton Strong and 8 others like this


#6878 Find and paste unicode symbols - arrow, triangles, greek and more

Posted by bevesce on 23 March 2013 - 04:31 PM

Find and paste unicode symbols. I included a lot of them, like really a lot, over 20k I think, but for me workflow works pretty fast.

 

Symbol can be pasted as symbol (mh...), in html encoding, as python string and as unicode code point.

 

Download:

https://github.com/b....alfredworkflow

 

Source:

https://github.com/b...-symbols-search


  • Tyler Eich, CarlosNZ, thec13 and 8 others like this


#5660 Translation with Leo Dictionary (German <> English/French/Spanish)

Posted by psistorm on 18 March 2013 - 09:00 PM

Hey!

 

I've created this first workflow to try out the new possibilities of Alfreds workflow. It provides two different search methods:

  • de - Translating a german word to english and vice versa.
  • df - Translating a german word to french and vice versa.
  • ds - Translating a german word to spanish and vice versa.

When hitting 'Enter' the translated word is copied to the clipboard. When hitting 'Shift + Enter' the selected word translation is opened with Leo. With Version 1.2 newly introduced a somewhat "automatic" detection of the language of the entered word.

 

Thanks, at this point, to David Ferguson, whose workflow.php I used to pass the results to Alfred.

 

Here is the workflow:

https://github.com/psistorm/alfredapp

 

screenshot_de.png

 

V1.1:

- Added hotkeys transferring selected text (please choose your own hotkey)

V 1.2:

- Only one keyword per language needed now. The language of the entered word is automatically detected.

- Opening Leo with the selected word when hitting 'Shift + Enter'.

- Fixed problem with german umlauts.

V 1.2.1:

- Fixed problem with opening the URL in some cases.

- Fixed problem with some words.

 

Best regards,

 

psistorm


  • rosenkrieger, gammawert, nikipore and 8 others like this


#5348 Play Song in iTunes

Posted by caleb531 on 17 March 2013 - 10:53 PM

Introduction

 

With the introduction of Alfred v2.0, the built-in iTunes mini player is now the only way to interact with my iTunes library in Alfred, which includes searching for and playing a particular song. However, I would prefer to quickly search for and play a song without entering the mini player first. Therefore, I created a workflow that would allow me to do so, quickly and easily.

 

Usage

 

 

Type the keyword play, followed by a space and a song name, artist, album, or genre. Songs matching your query will automatically populate Alfred's list of results.
  • Choosing a result from the list will play the song in iTunes.
  • Holding down the Command key will reveal the chosen song in iTunes.
  • Holding down the Option key will reveal the chosen song in the Finder.
  • Holding down the Control key will search the chosen song on Google.

Download

 

Download "Play Song" Workflow

 

Enjoy!


  • twinpeaks, drking, Boarder24 and 8 others like this


#5165 Top Processes Based Memory or CPU Usage Workflow

Posted by zhaowu on 17 March 2013 - 01:09 PM


Alfred 2 Top Process Workflow

 
The initial motive of this workflow is to avoid frequent visits to the Activity Monitor when the fan goes loud. Now it has been evolved with two major features:
 
Suggestions are welcome. And Please go to http://zhaocai.githu...2-top-workflow/ for better view of the installation instruction.
 
- 1) List/Kill Top Processes by Memory/CPU/IO Usage
 
mixed%20top%20processes.png
 
 
- 2) (working in progress) Get a glance of system status including internal battery, fan speed, CPU/GPU Temperature, bluetooth battery, disk capacity, etc.
 
glance.png
 
Usage
 
0. Show Help
 
Just type -?, -h, or --help after the keyword to show help.
 
help.png
 
1. Top Processes
 
A. Keywords:
 
1.) top: Show a mixed processes list based on top cpu/memory usage.
 
 
     1. top -m, top --memory to show processes ranked by memory usage
 
     2. top -c, top --cpu, to show processes ranked by cpu usage
 
     3. top -i, top --io, to show processes ranked by io usage with callback from top io trace collector.
 
   Top IO requires [DTrace][Dtrace] and it would take a while to finish. The new callback design is to run the job in he background and post a notification (OSX 10.8+) using notification center. Click on the notification to show the result in alfred.
 
callback.png
 
 
 
 
Modifier Key
 
   - none    : The default action is to list files opened by process ID
   - control : Kill the selected process
   - command : kill forcefully (kill -9)
   - alt     : Nice (lower) the selected process's cpu priority
   - shift   : Search web for process information
 
 
2.) kill: Filter process to kill.
 
Modifier Key
 
   - none: The default action is to kill by process ID
   - command : kill forcefully (kill -9)
 
3.) lsof: List files opened by process id
 
Modifier Key
 
   - none: The default action is to reveal file in Finder
 
B. Filter by Query
 
1.) To search for process state, use :idle, :sleep, :stopped, :zombie, :uninterruptible, :runnable, etc.
 
top%20sleep.png
 
 
2. Glance an Eye on your system
 
#### A. Keywords:
 
  • glance: Show system information including internal battery, bluetooth battery, disk capacity, etc.
 
 
battery.png
 
B. Change Display Order
 
  • Activate Alfred PreferencesAdvancedTop Result Keyword Latching
 
 
Alfred_Preferences_Learning.png
 
  • Hit Enter for the feedback item you wish to show up on the top.
 
 
Installation

Two ways are provided:

  1. You can download the Top Processes.alfredworkflow and import to Alfred 2. This method is suitable forregular users.

  2. You can git clone or fork this repository and use rake install and rake uninstall to install. Check rake -T for available tasks. This method create a symlink to the alfred workflow directory: "~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows". This method is suitable fordevelopers.

 
 
Troubleshooting
 
1. Does not work in Mac OSX 10.9 (Maverick)
 
In OSX 10.9, the system ruby is upgraded to 2.0.0. You need to download the new version of this workflow which packs the ruby gems for 2.0.0 inside.
 
If the downloaded version does not work, try 
 
1.) open Terminal.app. If you use rvm or rbenv, switch to the system ruby.
  • run cd "$HOME/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/me.zhaowu.top" && rake bundle:update
 
2. iotop causes mouse lagging
 
This issue is not caused by this workflow but by [DTrace][DTrace]. The related system log message is IOHIDSystem cursor update overdue. Resending..
In my Macbook Pro, any [DTrace][DTrace] based program will introduce this issue including the mac built-in /usr/bin/iotop, and /Applications/Xcode.app/Contents/Applications/Instruments.app .
 
I upgrade to OS X 10.9 and this issue is resolved.
 
3. Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8
 
Add the following contents to /etc/launchd.conf. Restart is required.
 
setenv LANG en_US.UTF-8
setenv LC_ALL en_US.UTF-8
 
 

 


  • twinpeaks, drking, CarlosNZ and 8 others like this


#2522 Send URL

Posted by Jonas Eriksen on 05 February 2013 - 11:36 PM

I have finally converted my Send URL extension into a workflow.

 

Send-URL-Screenshot.png

 

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/a....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)


  • phyllisstein, jarhead, johsny and 8 others like this