Jump to content

mklement0

Member
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    mklement0 reacted to nikipore in Better Escaping   
    I suggest to introduce a "streaming" mode which sets up the communication Alfred <-> subprocess via stdin and stdout of the subprocess. It would be optimal if the encoding was specified explicitly, I propose normalized UTF-8 (not Mac UTF-8). Since the stdout route subprocess -(stdout)-> Alfred is already there, this would symmetrize the communication.
  2. Like
    mklement0 reacted to johnjddoe in Better Escaping   
    Alfred provides fairly decent escaping of parameters that works for the majority of use cases (so this isn't terribly high priority). However, Alfred still doesn't account for all possible inputs. For all special characters, see http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html. Since there's so many, I think instead of allowing the user to tick and untick each one, you should provide a few options using radio buttons. Something like "All", "Double quotes" and "None" (and possibly "Custom").
     
    You should also make clear somewhere how "All" should be used, i.e. does {query} need to be in double quotes or not:
    python myscript.py {query}  
    vs
    python myscript.py "{query}"  
     
  3. Like
    mklement0 reacted to bpinto in Hatmaker: Workflows Installer & Updater   
    Hatmaker for Alfred - Alfred V2 Workflow
    https://github.com/bpinto/hatmaker
     
     
    Install & update alfred workflows straight from Alfred. Currently only alfredworkflow.com workflows are supported.
          Download the workflow
    Download the workflow below and open in Alfred.
     

     
     
    Features
    Currently only supports installing and updating. The rest will be added soon.
     
    Install a workflow
    install [workflow name]
     
    List outdated workflows
    outdated
     
    Update a workflow
    outdated > Select the outdated workflow
     
    Open workflow homepage
    Hold option key when installing or listing outdated workflows.
     
    Credits
    Everyone at this community.
  4. Like
    mklement0 reacted to jdfwarrior in Faves - Formerly Favorite Folders   
    Formerly called Favorite Folders, now allows you to set any file, folder, or application as a favorite.
     
    A user requested this under the help and questions forum and i really liked the idea of it. I threw it together really quick for them but thought I would share with you guys as well. Not sure if something like this has been made already or not but, here is my rendition of it.
     

     
    The idea is to have a list of items that you access often, saved in a list and easily accessible. Results are actionable, can be opened by pressing Enter, browsed in Alfred by pressing Cmd+Enter, or removed from the Favorites List with Ctrl+Enter.
     
    Download
  5. Like
    mklement0 reacted to thomashempel in Yet another Google Translate workflow with inline results   
    Hi,
     
    I just finished my first workflow. It's yet another translation workflow based on Google. Right now it only translates to german and english but it easily extendable.
     
    he twist with this workflow is, that it displays the result from Google inside Alfred and does not open the Google website. Makes it very easy to pick the translation you think fits best. Just select it and it will be pasted to the clipboard.
     
     
    By default the following commands are implemented:
     
    gte {phrase} - Specifically translate from german to english
    gfe {phrase} - Specifically tranbslate from english to german
    gag {phrase} - Translate to german and let Google figure out what the source language is
    gae {phrase} - Translate to english and let Google figure out what the source language is
      You can download it from GitHub. Or directly.
     
    Hope someone finds this useful. Let me know what you think. :-)
     
     
    Best wishes,
    Thomas
  6. Like
    mklement0 reacted to stevenrt in Mail.app search by author, subject or content [For macOS Mojave & earlier]   
    Any update on the sorting issue?  This is a great workflow, but not having the emails sorted by date does make this workflow less valuable.  For instance, I search for a subject, and the list returns a list of emails with the same or similar subject line (e.g., an email chain).  I know I want the latest email in the chain, but since the results are not in chronological order, things get messy.
  7. Like
    mklement0 reacted to Benzi in Battery - view summary stats about your laptop battery   
    Description: Shows summary information about your laptop battery (charge, time, status, charge cycles, and health - % of maximum charge your battery can now hold compared to its original design capacity)
    Usage: enter the keyword "battery"
    Tested on: Mountain Lion, MacBook Pro
    Download: from here
     
     
  8. Like
    mklement0 reacted to zhaowu in Top Processes Based Memory or CPU Usage Workflow   
    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.github.com/alfred2-top-workflow/ for better view of the installation instruction.   - 1) List/Kill Top Processes by Memory/CPU/IO Usage       - 2) (working in progress) Get a glance of system status including internal battery, fan speed, CPU/GPU Temperature, bluetooth battery, disk capacity, etc.     Usage   0. Show Help   Just type -?, -h, or --help after the keyword to show help.     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.           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.       2. Glance an Eye on your system   #### A. Keywords:   glance: Show system information including internal battery, bluetooth battery, disk capacity, etc.       B. Change Display Order   Activate Alfred Preferences → Advanced → Top Result Keyword Latching       Hit Enter for the feedback item you wish to show up on the top.     Installation Two ways are provided:
    You can download the Top Processes.alfredworkflow and import to Alfred 2. This method is suitable forregular users.
    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      
  9. Like
    mklement0 reacted to Tyler Eich in Colors—convert color formats & access the OS X color panel   
    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:

    You can find a full description on Packal.
     
    Direct download • source code on Github
  10. Like
    mklement0 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.
×
×
  • Create New...