Jump to content

Search the Community

Showing results for tags 'library'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 9 results

  1. IMPORTANT NOTE ABOUT HANGING PROCESSES ON SIERRA (2017-04-03) Versions of Alfred-Workflow older than 1.25 cannot launch background processes properly on Sierra. In fact, they regularly hang quite dramatically and consume 100% CPU Users (in particular) affected by this bug should install and run this workflow, which can find and fix any workflows with broken versions of Alfred-Workflow. The workflow library for Python GitHub | Documentation A feature-rich library for developing Alfred workflows in Python 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 under 400 KB. It is the only Python library that is always up-to-date with Alfred's features. Main features Supports all Alfred features from 2.0 to 3.6. 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, including session-scoped data. Easy-to-use Workflow settings API. Supports Alfred's AppleScript API, including saving settings to info.plist and calling External Triggers. 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.) Extremely lightweight, but full-featured, HTTP library with Requests-like interface, but just 12 KB instead of > 2 MB. Convenient access to standard macOS 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. API for running AppleScript/JXA scripts. 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 or Terminal 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. Smart handling of non-ASCII. Query sale will match result salé, but query salé will not match result sale. Functions to support migrating settings/data from older versions of your workflow. Alfred 3-only features Workflow variables Advanced modifiers Alfred 3-only updates Re-run Script Filters 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 Feedback If you have any bug reports/feature requests, add them either here or on GitHub. More info The documentation is the definitive source of information on the Alfred-Workflow library. The User Guide and Tutorial provide fairly extensive information both on how to use Alfred-Workflow and write Workflows in general (if you're new to this lark).
  2. How do I tell Alfred to look for a file in my 'Library' folder? There's a template for an app I'd like it to see but it resides in user---library---application support---app name Thanks
  3. 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. However, I would prefer to quickly search for and play songs without entering the mini player first. Therefore, I created Play Song—a workflow designed to make playing songs in iTunes extremely quick and convenient. Download Download Play Song (latest) Usage Play Song enables five keywords which allow you to search for and play songs in your iTunes library. In order for Play Song to function properly, it requires access to assistive devices. You can enable this for Alfred via the Security & Privacy pane of System Preferences. Playing a song To play an individual song, use the playsong keyword. Songs whose names match your query will populate the list of results. Choosing a song from the list will play that song once. Playing an album To play all songs from a particular album, use the playalbum keyword. Albums whose names match your query will populate the list of results. Choosing an album from the list will play all songs from that album (ordered by track number). Playing an artist To play all songs by a particular artist, use the playartist keyword. Artists whose names match your query will populate the list of results. Choosing a artist from the list will play all songs by that artist (grouped by album). Playing a genre To play all songs within a particular genre, use the playgenre keyword. Genres whose names match your query will populate the list of results. Choosing a genre from the list will play all songs within that genre (grouped by artist). Playing a playlist To play all songs within a particular playlist, use the playplaylist keyword. Non-empty playlists whose names match your query will populate the list of results. Choosing a playlist from the list will play all songs within that playlist (according to playlist order). Support If you have a bug to report or a feature to request, please submit an issue on GitHub. Release Notes Release notes for the workflow are also available on GitHub.
  4. Hi, Alfred's iTunes integration isn't doing anything for me: OK, so let's look... You can see in this screencast that the "Find" button doesn't do anything. I'll need to find that file myself. The problem is it doesn't exist: $ find ~ -name 'iTunes Library*' /Users/boneskull/Music/iTunes/iTunes Library Extras.itdb /Users/boneskull/Music/iTunes/iTunes Library Genius.itdb /Users/boneskull/Music/iTunes/iTunes Library.itl Of note, all of my music is in iTunes Match. Is there some way to create this file? - Mac OS 10.11.5 (15F34) - Alfred 3.0.2 (676) - iTunes 12.4.1.6
  5. Hi, Could you please add my new Alfred Workflow Library in Haskell to the list of Alfred libraries. You can find it here: https://github.com/raguay/AlfredLibraryInHaskell Thanks.
  6. What is Alphred? Alphred is a PHP library to aid in the creation of workflows for Alfred. Most of Alphred should work with PHP 5.3+ (OS X 10.6+), but some features need PHP 5.4+ (OS X 10.9+). Alphred generally needs Alfred v2.5+ to run. It's not quite complete because it needs some testing and a bit more documentation. Please help with the former. Features Simple AlfredXML generation for script filters, including extended XML attributes Create and manage configuration files in ini, json, or sqlite3 from a few lines of code Easy http requests with get or post, including data caching Use the system keychain to store and retrieve passwords Simple logging to single or multiple files as well as the console with variable log levels Filter results easily to match a query Make your script filters faster by using the cli-server (PHP 5.4+) with almost no change to your existing code Easily change dates into strings, exact (1 day, 3 hours, and 23 minutes ago) or fuzzy (yesterday) Use title case without any extra work fork php scripts to have them run in the background (and they know that they're in the background) send asynchonrous notifications with no external library know if the user's theme is light or dark (to set different icons) write complex workflows in 50-60 lines of code Example An example workflow (download) that takes your Github Username and Password and grabs a list of your repos and filters them by query is in the example folder. It uses the cli-server. You can see the well-documented code for the script filter and the action script. Without the comments, they reduce to about 60 lines of code together. ----- Mostly Original Post: It seems mostly complete now for a v1 release. It features easy script filter XML generation (with extended XML), an easy way to make http requests, easy results filtering (taken almost verbatim from Deanishe's Python library: thanks, Dean!), keychain interaction, AppleScript, text filters, and more. I've squashed all the bugs that I can find, but I still need to write up some tutorials on how to use it, but I figure that I'd make a pre-release available if people want to start playing with it. Do remember that I might change the API a bit before v1.0.0, and I might do that because I'd love to get some feedback on how the library feels or what doesn't work. For now, find v0.9.3-alpha on the Github release page. Just download the attached Alphred.phar file because that's all you need. To find automagically generated API docs, check out this page. There are links to both PHPDocumentor and Apigen generated docs. Let me know which ones you like better. There are also a few markdown files, for now, in the repository under the tutorial section, and there is also a very simple example workflow (or the script filter and action files) under the example directory. I'll update this post with more information as we go along, but, for now, that's what I got. Shawn
  7. Hey all Alfred lovers out there, After David Ferguson created the PHP Workflows class to help PHP gurus create complex workflows with ease, I decided to create an equivalent solution for AppleScript gurus, because let's face it: you can't really do with PHP (or other languages) what you can do with AppleScript in terms of controlling your Mac system and its apps. This library provides an object-oriented library of functions for working with plist settings files, reading and writing data to files, generating Alfred feedback results, requesting remote data, and more. But before you begin working with it, please make sure you read the documentation first as it contains vital information on how to use it, as well as help & examples (there's even an example AlfredWorkflow file that uses this library to show you how you can use it for your own workflows). P.S. at the moment the library lacks JSON support since AppleScript doesn't know anything about it, so until I develop a JSON parser for AppleScript you can either use David's PHP class or improvise on my work and keep an eye on the github repository because I will probably add more AlfredWorkflows, and hopefully I'll manage to make a proper JSON parser in the meantime.
  8. Hi guys, I made BASH framework for Alfred that makes it easy to create a certain kind of workflow that allows you search and look up information without leaving the Alfred interface. It basically allows you to display results after selecting a result. It's a way around the fact that "Script Filters are the only way to pass feedback to Alfred" Here is an example. The magic happens at step 3. 1. Type in workflow keyword: 2. Type query to find results: 3. Selection of a result brings up additional results. There are two options for workflow creation: static, which is similar to just manually creating a CSV file and requires no coding. Example "code." dynamic, which has a library that you can use similarly to static or to display dynamic data. Example code. I believe I've documented it pretty well in the README, but if there are any questions about how to use it I am glad to help. Some example applications: - "define" command that doesn't have to open the Dictionary - Synonym/Antonym retriever - Contact lookup without opening Contacts - Any sort of general reference (e.g. recipes or brewing instructions) Here is the github page: http://bit.ly/alfred-arf
  9. Hey everyone! As tends to happen when I have a great deal of other, more pressing work to do, I've just spent a couple of days on what I think has the potential to become a neat little project. It's an Objective-C/Cocoa framework for creating Alfred workflows. Like alp for Python, it makes handling a couple of basic but super-annoying workflow tasks—like providing feedback XML and searching—simpler and faster, resulting in your spending less time and less code on the boilerplate stuff and more time making your workflow work (and flow). There's a great deal more information in the README at my Alfred site, but here are the features I've managed to put together in the past 24 hours or so: Fast feedback XML generation; fuzzy searching of data, modeled on alp.fuzzy_search(); argument parsing; the typical methods for accessing cache, storage, and local folders; basic error logging. If you're interested, I recommend you take a look at the README; but if you just want to get your hands dirty, you can download the latest version of the framework at http://alfred.daniel.sh/framework/Alfred-latest.zip . The source and zip- and tarballs of major releases are also available on Github. Enjoy, and let me know if you have any trouble!
×
×
  • Create New...