Jump to content

ivofrolov

Member
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ivofrolov reacted to paulelms in speedtest.net workflow   
    Measure internet speed with speedtest.net service
     
    Usage:
    speedserv 10 – show 10 nearest servers, press enter to test speed speedtest – test speed with nearest server speedtest 232 – test speed with server id 232 Results displayed in notification.
    Server list is cached and periodically updated automatically.
    Speedtest-cli included.
     
    Download on packal
    direct link
     


    Update log
    24.03.2014 – fixed bug with cache 25.03.2014 – changed cache from 5 days to 10 min
  2. Like
    ivofrolov reacted to surrealroad in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    Priority
    To set the priority of the reminder, either use exclamation marks right at the start or end of the command (! for low priority, !! for medium priority, !!! for high priority), or type the priority right at the end of the command (these can also be abbreviated, for example mp or p lo). For example:
    r !!! in 2 weeks an important meeting r thursday have a banana medium priority r decide what to have for lunch !lo r make a turkey sandwich p3 Lists
    To choose a list to use on a per-reminder basis, type in <list name> list right at the end of the command, for example r Get Santa outfit !2 in Christmas list. If a matching list can't be found, you won't be able to action the command.
    In all other cases, the default Reminders list will be used (typically the first one). If you prefer, you can edit the defaultList variable within the workflow's Arg and Vars node (note that you'll have to edit this each time you upgrade the workflow however).
    Apps
    Get reminded about the app you're using, for example the selected file in Finder, or the current tab in Chrome or Safari.
    To create a reminder about the active app, simply type r this. Or keep typing to set a date, priority or a custom title, for example r this drop some sick beats on Friday !!!.
    The following apps are currently supported:
    Adobe Acrobat (Pro/DX) Chromium Contacts Finder FoldingText Google Chrome Google Chrome Canary Mail Mailplane 3 Microsoft PowerPoint Microsoft Word Safari TextEdit TextMate Vienna WebKit Apps can be added on request. Just raise an issue with the app you use. As long as it's freely available and has AppleScript support, it can be added.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. Now requires Alfred v3+, MacOS Sierra+.
    NEW: Enhanced date/time natural language parsing. Never worry about the correct syntax again!
    NEW: Better messaging about what will happen when actioning the item.
    FIXED: (Hopefully) improved performance.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    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. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    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.
  3. Like
    ivofrolov reacted to Carlos-Sz in Evernote Workflow 9 beta 4 (Alfred 4)   
    Alfred 4
    Read about this workflow below.
     
    This is an update to address the new Alfred 4 data folder (thanks to xilopaint).
    DOWNLOAD Evernote Workflow 9 beta 4 for Alfred 4
     
    Description
    Alfred 3 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.

    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

    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.

    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. After pressing the Command key a new Alfred window will be shown so you will be able to select the text source and the action: Return key will append without date Option key with append with current date Hint: You can also use the Command key 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" 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

    http://cl.ly/image/3t1e440l1c0Q/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 or 05/01/2014 at 2:00 Title: at the end, after a colon (or the second colon if you are adding time in your reminder) 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 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. Type a Note also supports multiple lines and, in this case, the first line will be the title of the note e.g. enn Line 1 /n Line 2 /n Line 3

    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  
    Note Templates
     
    Read about templates here.
     
    Preferences

    Bring Alfred and type the keyword enpref:
    Search wildcard: you can set the workflow to automatically use the Evernote search wildcard (*) or you can set the workflow to use only if it is typed (the Manual setting may by faster in a huge note collection).  
    Download Evernote 9 beta 3
    Release date: 99 Jun 2019 Made in OS X 10.13.5 Requires Evernote 7.2 from evernote.com Requires Alfred 3 Download now  
    Download Evernote 9 beta 2
    Release date: 09 Aug 2016 Made in OS X 10.11.5 Requires Evernote 6 from evernote.com Requires Alfred 3 Download now  
    For Alfred 2
     
    Version 8.992 Release date: 20 Feb 2015 Made in OS X 10.10.2 Requires Evernote 6.06 from evernote.com Requires Alfred 2.6 or later Download now  
    What's new?
    9 beta 3: minor code optimizations and updated workflow preferences (enpref keyword) 9 beta 2: bugs fixed and Evernote API updated 9 beta 1: Alfred 3 support 8.991: Evernote 6.06 initial support 8.9: Yosemite beta and note templates support 8.7: interface bugs fixed 8.6: enn issue fixed Improved reminder time support e.g. Tomorrow at 2:00 Added support for tags that start with a hash sign e.g. #Home Added support for tags that start with an at sign e.g. @Work Added support for notebooks that start with an at sign e.g. @Notes Workflow should be faster in most of cases When appending from a search result now you can hold Option key to include current date Type a Note supports multiple lines (first line will be the title) e.g. enn Line 1 /n Line 2 New Keyword enl and its hotkey to load the last search query Added support for some of Alfred 2.3 new features Workflow version history here.
  4. Like
    ivofrolov reacted to CarlosNZ in EggTimer v2 [updated to 2.0 final]   
    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. ----
     
    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 ), 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)
  5. Like
    ivofrolov reacted to targumanu in Mac App Store Search   
    Search the Mac App Store and view search results with artwork previews right in Alfred.
    Open search results in App Store.app (default behavior) Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences) Open search results' preview pages in your default browser (modifier key — Command) The workflow's preferences (keyword — masprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache.   Additional keywords allow you to open the App Store app's Purchases (“masp”) and Updates (“masu”) tabs.   Download
  6. Like
    ivofrolov reacted to jdfwarrior in Workflow Libraries and Helpers   
    Please see this newer thread for a more up-to-date list of libraries that support Alfred 3 and beyond.
     
    Since the introduction of Alfred 2, there have been several extremely useful utility classes and other helpers crop up that simplify a lot of the tedious, common tasks associated with creating workflows. These utilities are developed and maintained by community members, not by the Alfred team. All support requests for these utilities should be directed to the original author.
     
    If you have another utility class that needs to be included in this list, send me a message or email (david@alfredapp.com) with information about it (name, description, short list of features, link to post or download page) and I will make sure that it gets added to the list.
     
    Special thanks to all the developers for their hard work and for sharing their work with us.
     
     
    Python
     
    Alfred-Workflow (by deanishe)
     
    A state-of-the-art Python library for Workflow developers. Support for Alfred 2 and 3.

    The library is simple to install, has no external dependencies, is very well-documented and maintained, and boasts an eye-wateringly high feature-to-size ratio at just 140 KB.

    Main features
    Catches, logs and notifies users (and developers) of errors in Workflows. No more confusing, silent failure. Super-simple, yet powerful data caching (e.g. from a web service) and storage. Easy-to-use storage of Workflow settings. Keychain access for secure storage (and cross-machine syncing) of sensitive data, like passwords and API keys. Tunable and understandable Alfred-like fuzzy search (e.g. got matches Game of Thrones as well as Baby Got Back. Or not: that's up to you.) Now with solid support for multi-word queries. Extremely lightweight, but full-featured, HTTP library with Requests-like interface, but just 12 KB instead of > 2 MB. Convenient access to standard OS X icons, for high-quality, familiar icons without adding size to the library. Also available via proper English. Pre-configured, built-in logging to enable simpler Workflow debugging. Painlessly run (update) scripts in the background without blocking your workflow, so you can still show "old" results while fetching new ones. Supports Alfred's new (version 2.3) modifier-specific subtitles. Simple support for 3rd-party libraries your Workflow relies on. "Magic" arguments to make developing/debugging Workflows so much easier, especially when helping less technically-inclined users. With "magic" arguments, you and your Workflow's users can open the Workflow's log file in Console.app, its cache and data directories in Finder, and its root directory in Finder orTerminal from the comfort of Alfred's query box. You can also delete the cache/data/settings if something is corrupted. Your workflow can update itself via GitHub releases. Accent-folding, so you can search non-ASCII text (e.g. voilà will be matched by voila) Functions to support migrating settings/data from older versions of your workflow. Well supported and kept up-to-date with Alfred's features as they are added. Alfred 3-only features
    Workflow variables Advanced modifiers Alfred 3-only updates  
    And as you can see from the above links, there is extensive documentation, including a two-part tutorial on building a Workflow from scratch.

    Examples

    Here are a few examples of how you can do some pretty cools stuff in just a few lines of code.
    A simple Workflow I made to search Packal in ~90 lines of code. A simple Workflow to search your recent Pinboard posts in ~50 lines of code. A polished, user-friendly, wicked-fast Workflow to search your recent Pinboard posts in ~200 lines of code. Remember, each of these Workflows also has—for free—full error-catching and -logging support, and the ability to open its log file (which contains all errors) via Alfred's query box. No need to ask users to grub around in ~/Library or flounder in Terminal here. This is not the Workflow library 2014 deserves, but it's the one it needs  
     
    Alp (developed by phyllisstein)
    alp is a Python module for developing Alfred workflows that bridges the gaps between Python and OS X and Python and Alfred, making the process of creating a workflow quick and easy. As it's essentially a collection of shortcuts for common and repetitive tasks, developers will find that working with alp results in less and more efficient code and a generally more sane workflow development experience. A painstaking guide to its various features, bells, and whistles is available in the README at the Github repository.
     
    Features:
    Simplified generation of feedback XML. Shortcuts for bundle ID, storage paths, settings, and arbitrary plist and JSON files. OS X interaction features, including the sending of additional notifications, interaction with the Keychain, and interaction with Spotlight. Internet interaction features, including bundled modules for making and caching HTTP requests, parsing markup data, and sending e-mail. The ability to remove unneeded modules for a svelte workflow bundle.  
    Alfred-Python (developed by JinnLynn)
    alfred-python is a full-featured python module that helps building Alfed workflow quick and easy.
      Features: Simple feedback XML generation Provides functions for storing or retrieving cache data Workflow configuration management Includes an easy way to download remote file Easily get bundle id, query arguments, etc. More code example can be found on my own workflows.  
     
     
    PHP
    Workflows (developed by David Ferguson)
    Workflows is a PHP library for building Alfred 2 workflows using PHP. Installation is quick and easy. Just drop in the Workflows.php class file, import it into your code, and initialize it. Full documentation, with usage examples can be found on David's blog.
     
    Features:
    Simple XML generation Read/writing files as plain text, json, etc. Read/write plist values Find local files Provide access to commonly used paths (home, cache, current, data storage, etc) Easy HTTP/cURL requests  
     
    Haskell
    AlfredLibraryInHaskell (developed by raguay.customct)
    This is a Haskell library for creating Alfred workflows.
     
     
     
    AppleScript
    qWorkflow (developed by ursanrazvan)
    qWorkflow is an AppleScript library for creating workflows with Alfred 2. This library provides an object-oriented approach for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, parsing JSON data, and more.
     
    Features:
    object-oriented approach to write less & more readable code heavily documented with code samples internal workflow introspection (finding the bundle ID, cache & storage paths) generate Alfred-compatible XML feedback with ease saving & retrieving workflow-related settings (with support for default settings file) remote data requests, as well as JSON support sending notifications through the Notification Center various internal utilities that improve AppleScript (string and date manipulation, file system utilities) More info & example workflows created with this support library can be found on the project's github repo
     
     
     
    Go
     
    goAlfred (Developed by raguay.customct) 
    This go library is used to create workflows for Alfred 2 easier in the go language from Google (http://golang.org/). It will automatically create your cache and data directories. It also creates the xml listing for the feedback system. Examples included.
     
    Installation and Usage
    You install the library with:go get github.com/raguay/goAlfred # (You might have to use sudo). Any program that you want to use the library, just place this line in it: import "github.com/raguay/goAlfred"
     
    Functions
    The accessible function calls are:
     
    goAlfred.BundleId() - This will get your Bundle Id for your workflow.
    goAlfred.Cache() - This function returns the location of your cache directory.
    goAlfred.Home() - This function returns the location of your home directory.
    goAlfred.Data() - This function returns the location of your workflow's data directory.
    goAlfred.Path() - This function returns the location of your workflow's directory.
    goAlfred.Error() - Returns the last error received.
    AddResult( uid string, arg string, title string, sub string, icon string, valid string, auto string, rtype string) - This function allows you to build up the xml string for returning to Alfred.
    AddResultSimilar(instring string, uid string, arg string, title string, sub string, icon string, valid string, auto string, rtype string) - This function allows you to build up the xml string for returning to Alfred only if the title is similar to the instring given.
    goAlfred.SetDefaultString(title string) - This function sets a different default message if no results have been added.
    goAlfred.GetXML() - This function returns the XML string that needs to be given to Alfred. 
     
     
     
     
    Bash
    BashWorkflowHandler (developed by _mk_)
     
    Features:
    create feedback xml save/read preferences volatile and non-volatile get workflow's cache dir get workflow's data dir get workflow's bundle id Usage examples can be found in the README at the GitHub repo.
     
     
    Bash Workflow Framework (developed by djc)
    BASH workflow framework which makes it simple to create a workflow which allows you to display feedback within Alfred after selecting a result, getting around the issue that "Script Filters are the only way to pass feedback to Alfred." Built to create easy reference workflows, or any other kind of workflow which does not want to leave Alfred immediately on selection of a result.
    Features:
    - Two modes for two different kinds of data: static and dynamic.
    - Creation of a static workflow only requires modification of a CSV-like file.
    - Static mode handles searching on query for you.
    - Dynamic workflow can be created using a BASH library ARF+.
    - Both modes allow for result and field-specific icons, validities, arguments, and autocomplete attributes.

    Extensive documentation in the README, and examples are included with download. Two methods of installation can be found on the github page.
     
     
     
    Ruby
    Alfred2-Ruby-Template (developed by zhauwu)
    A template for Ruby-based Alfred 2 workflow development.
     
    Features:
    Use standard bundler to easily package, manage, and update ruby gems in the workflow. Friendly exception and debug output to the Mac OS X Console Automate rescue feedback items to Alfred when something goes wrong. Automate saving and loading cached feedback  
    Alfredo (developed by Dennis Paagman)
    Alfredo is simple ruby gem that makes it easy to create workflows and items to it. You can get started with only 4 lines of code.   Features:
    Generates valid Workflow XML Add items with one line of code Supports all Alfred 2 workflow features  
     
     
    Swift
     
    AlfredSwiftLibrary (developed by raguay.customct)
     
     
     
     
    General
    Alleyoop (developed by phyllisstein)
    Alleyoop is a meta-workflow that implements a system for updating other workflows. Users can make use of its features by downloading the workflow module and entering the query oop, which searches for compatible workflows and checks for available updates. Developers can implement Alleyoop compatibility with two simple, human-readable JSON files, described in the original post: one stored on a remote server, one placed in the workflow's folder.
     
    Alfred Dependency Downloader Framework (developer by Shawn Rice)
    Do you want to have versioned libraries and utilities live side-by-side? Do you want to make your workflows smaller but keep or expand the functionality with helper apps? Do you want to make sure that everything works regardless of whether Gatekeeper is active on other users' computers? Then you might consider implementing the Alfred Bundler* dependency framework in your workflows. If you want to see a _very_ basic implementation, then download an example workflow from Packal and open it up to see the workflow's anatomy. The libraries / utilities mentioned below are just pre-defined assets that you can load with no additional work. You can actually use this framework for any asset** by including a small JSON file with your workflow. Take a look at the documentation page on Github or the original post for more information.
×
×
  • Create New...