Jump to content

bcometa

Member
  • Posts

    21
  • Joined

  • Last visited

Reputation Activity

  1. Like
    bcometa reacted to bcometa in Clipboard history does not persist more than a few days   
    Just to chime in, more than "50" in the scroll down list would be helpful to me also. Like atomix, sometimes I don't remember exactly what I'm looking for until I see it. If there was an option to adjust that to more (even if there is a memory hit), it would be used by at least two people
  2. Like
    bcometa reacted to Tyler Eich in Wolfram|Alpha workflow   
    I converted David Ferguson's Wolfram|Alpha extension to a workflow (and made some tweaks along the way  )
     
    It requires you have an AppID of your own (get one here). Note: Make sure you wait a few minutes before entering the code; Wolfram|Alpha's servers seem to take a moment to register the AppID.
     
    It provides feedback with the answer and input interpretation. If you action an item, it will output all the available information to Growl. Pressing ⌥↩ will copy the answer to the clipboard; ⌘↩ will open your query in Wolfram|Alpha (in the default browser).
     
    Here's a picture of the workflow editor:

     
    Here's what it looks like in action:

     
    Hope you like it!
     
    Download Here
     
    Update (May 15, 2013): Fixed another bug that prevented saving of AppID
     
    Update (March 5, 2013): Fixed bug that prevented the workflow from saving AppID on certain setups
     
    Update (Feb 25, 2013): Fixed garbled text issues, added 'Selection is OS X' argument to hotkey
  3. Like
    bcometa reacted to hamiseixas in [Add Calendar Event] - Feedback result added   
    Hi,
     
    I have updated "Add Calendar Event" with feedback results.
    I hope it helps.
     
    http://code.google.com/p/tox-alfred-workflows/wiki/AddCalendarEvent
     
    It is very usefull for me
     
     
    Follow my Google Code page. I'm adding new workflows there
    Best,
    Tox
  4. Like
    bcometa reacted to Benzi in Unofficial workflow to search AlfredWorkflow.com   
    Just a quickly put together workflow to search workflows uploaded at alfredworkflow.com.
     

     
    Usage:
     
    aw <search query> to search for workflows
    Enter will download the workflow Cmd+Enter will take you to the release notes page aw-reset will reset the cache
     
    Download:
     
    Available here.
     
  5. Like
    bcometa reacted to jan in Airfoil Speaker / Source Selection   
    Hello,
     
    I've created a small workflow to control Airfoil (speaker and source).
     
    Download
     
    - jan
     
     
  6. Like
    bcometa got a reaction from atomix in Clipboard history does not persist more than a few days   
    Just to chime in, more than "50" in the scroll down list would be helpful to me also. Like atomix, sometimes I don't remember exactly what I'm looking for until I see it. If there was an option to adjust that to more (even if there is a memory hit), it would be used by at least two people
  7. Like
    bcometa reacted to victorquinn in Volume Adjust Workflow   
    I had created a Volume Adjust Extension for Alfred v1, now I've updated it as a Workflow for Alfred v2.
     
    More info including a download link and the source is available on my website: http://victorquinn.com/development/#volumeadjust
     
    But below are the commands it will accept for changing the system volume. Includes a notification of the exact numeric (0-100) volume level. There's a prettier and more readable table version on my website.
     
    vol {number, 1-100}  [invoked as “vol 30” or “vol 74”. Any number from 0-100 will work and the volume will be set to that percentage. So “vol 30” will set the output volume to 30%. Any number less than 0 will just set the volume to 0% and any number greater than 100 will just set it to 100%] vol mute || vol off  [Mutes the volume. Unfortunately, since Alfred just runs the Applescript and then terminates, it is not possible at this time to mute then unmute back to the same volume you were before the mute.] vol quiet || vol soft || vol low  [sets volume to 15%] vol medium || vol mid || vol half  [sets volume to 50%] vol loud || vol high  [sets volume to 85%] vol up || vol more || vol +  [invoked as either “vol up” or “vol up {number, 1-100}”. Used as just “vol up” it will increase the volume by 10%. But invoked as “vol up 30” it will increase the volume from its current level by 30%. So if your volume were at 10%, invoking “vol up 30” will end with the volume at 40%.] vol down || vol less || vol - [invoked as either “vol down” or “vol down {number, 1-100}”. Used as just “vol down” it will decrease the volume by 10%. But invoked as “vol down 30” it will decrease the volume from its current level by 30%. So if your volume were at 73%, invoking “vol down 30” will end with the volume at 43%.]
  8. Like
    bcometa reacted to ctwise in Menu Search   
    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/ctwise/alfred-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.
     

  9. Like
    bcometa reacted to Carlos-Sz in SizeUp workflow   
    There is a great layout workflow based on Layouts (http://projects.jga.me/layouts/#toc0). Free!
     
    However, I’m use to some of the SizeUp (shareware, $13) application Preferences regarding moving and resizing windows, snap them back and move a window to the next space.
     
    So I decided to make an Alfred workflow just in case you can’t remember a hotkey or even if you prefer to use Alfred.
     

     
    Download: http://dl.getdropbox.com/u/127623/SizeUp.alfredworkflow
        About SizeUp: http://www.irradiatedsoftware.com/sizeup/    
  10. Like
    bcometa reacted to Boarder24 in AirPlane Workflow   
    I present to you the airplane workflow: d.pr/f/T1el
     
    Update v1.2: d.pr/f/EBpv
     
    Update v1.3: Was an in-house update.
     
    Update v1.4: I uploaded the wrong Workflow.
     
    Update v1.5: http://d.pr/f/GOiB
     
    It will toggle your wifi and bluetooth, and set your brightness to  to save battery.
    I have yet to find away to toggle the brightness back to it's default state. An if statement might work, but I have little skill in that field. For those of you that are applescript geniuses, please let me know if you find a solution!
     
    If you have any questions please read the "readme" tab of the workflow before messaging me!
  11. Like
    bcometa reacted to ctwise in Time Machine Controller   
    Simple workflow that shows Time Machine status and lets you start and stop a backup. Download from here - http://tedwi.se/u/dc
     
  12. Like
    bcometa reacted to R4z3r in TV Show Information Workflow — via TVRage   
    I think it's a TV Rage issue as I can't get it to speed up whether used on a normal PHP website or in the app. I'm looking at adding the next episode time. I hadn't heard of Alleyoop but can implement it if you're interested. Just will take me a day or so to get everything ready
  13. Like
    bcometa reacted to hzlzh in [Workflow]Shorten URL (support goo.gl/ bit.ly/ t.cn/ j.mp/ is.gd/ v.gd/)   
    Shorten URL (v1.1) - download here
     
    Github Page:
    https://github.com/hzlzh/Alfred-Workflows
     
    This workflow support URL shortener like below. You can use Hotkey to trigger without open Alfred input window.
    goo.gl/ bit.ly/ t.cn/ j.mp/ is.gd/ v.gd/ If you want more URL shortener services added, please let me know, .
     
    How-To:
    Choose some long links (e.g Command + A), then press `Command + Shift +L`, choose goo.gl and you will get the short link in your clipboard with notification center triggered.
     
    Tips:
    How to use this workflow without copy/paste?
    Just use trigger HotKey, check out this wiki issue here:
    https://github.com/h...kflows/issues/1
     
    Screenshot:
     

     

     

  14. Like
    bcometa reacted to Benzi in f.lux workflow   
    This is not very foolproof and is very basic at the moment, but you can change the color temperature with Flux.
     

     
    Update 1: Now includes option to disable Flux for a minute/hour
     
     
    Download  it from here and check it out.
  15. Like
    bcometa reacted to R4z3r in TV Show Information Workflow — via TVRage   
    Hi Everyone,
     
    I've been working on putting together a TV show information workflow that will get you information about the TV show that you are searching for. I have it currently setup for two different options of handling it. This workflow shows you the Show Name, Show Status (Returning, On the Bubble/TBD, or Cancelled), and (depending on the status) air time, air day, and network or number of seasons it ran for on what network. See github for the most recent version, code, and configuration options.
     
    To switch between 12-hour time and 24-hour time, use the keyword:
    enable12hr
    or
    enable24hr
     
    These will switch whether the script displays 12 or 24 hour time.
     
    Current Version: 1.0
     

     
     
    Option 1:
    Use the 'tv' keyword in the Alfred prompt to begin the workflow, then type the name of the TV show that you would like to search for and it will return the information about that show to you in the window. Pressing "Return" on the keyboard will open TVRage to the show's page. Option 2:
    Use a hotkey of your choice to pass your current text selection to the workflow and begin the search as above.  
    Known issues that I am working on or that I am looking to add:
    TV Episode search (so you can find information about specific episodes) — BETA 12 hour time version (currently, time is displayed in 24-hour time) Fix "seasons" on cancelled shows to correctly match singular or plural numbers Add easier timezone support. Add Alleyoop Suport  
    Download here:
    https://github.com/kkirsche/TVRage-Alfred_Workflow/blob/master/TVRage_Show_Search_RELEASE.alfredworkflow?raw=true
     
    Github can be seen here:
    https://github.com/kkirsche/TVRage-Alfred_Workflow
     
    Please let me know if you have any questions, comments, suggestions, etc. I hope you like it!
  16. Like
    bcometa reacted to Sampayo in Switch Between audio input and output   
    Audio Switch
    ==================================================================================
     
    Switch between your input sources and output devices.
     
    To install just download (or my github) and doble click the .alfredworkflow file.*
     
    To change your input source type input (it could take a little bit to load your sources), then select the one you desire
     

     
    The same for the output device, just type output then select your choice
     

     
    Since I don't have any audio device or source connected to my laptop only 1 (the default) device and source are shown.
  17. Like
    bcometa reacted to oderwat in Rename File action   
    Well there was a feature Request for adding "Rename File" to the internal commands on files here: http://www.alfredforum.com/topic/1675-add-a-rename-action-to-the-file-action-list/
    David Ferguson quickly replied with an custom workflow (with some smart Alfred magic making Alfred calling search on itself!)
    But his version was a bit raw and limited to files only. So I enhanced it as follows:
    1. It uses "mv" instead of cp / remove. This way it will work on folders (and bundles).
    2. I made it so that the original name is the default when you rename a file.
    3. I added Alleyoop update to it as I may enhance / debug in the future.
    You can get my "Rename File" workflow version from here: https://github.com/oderwat/alfredworkflows/raw/master/Rename%20File.alfredworkflow
    V1.1: Visible rename confimation. Fixed renaming of files with spaces in name. CMD Return on rename now copies the resulting file path to the clipboard. Upgraded Alleyoop code too.
    All my current workflows are available here: https://github.com/oderwat/alfredworkflows
  18. Like
    bcometa 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.
  19. Like
    bcometa reacted to vdesabou in Share using Mountain Lion Built-in Sharing (Version 1.11)   
    alfred-mountain-lion-builtin-sharing
    ==========================
    Use built-in sharing introduced in Mac OS X 10.8 Mountain Lion directly from Alfred!
    Description
    This workflow is using the amazing command line terminal-share
    You can call directly share command (or use a hotkey) if you just want to share a message.
    If you want to share a file (image, video or any other kind), you can select it using a File Action, or set a hotkey.
    It currently supports all services except sinaweibo,youku and tudou (I can add them in a future release).
    Based on the type of the selected file, services proposed will change.
    Here are some examples:
    Screenshots

    Download the workflow
    Download the workflow below and open in Alfred.
    Download Workflow
    History
    1.11:
    Move to GitHub 1.10:fix AllayOop version 1.9:Added hotkeys to call built-in facebook, twitter, imessage and email 1.8:
    Fix problem introduced in version 1.7 with files names with spaces 1.7:Fixed a bug where image was not displayed in the sharing window 1.6:Start Droplr if needed before trying to upload 1.5:Added support of droplr (using cmd modifier). It will upload selected file to Droplr, and then paste at the end of the message the url. It only works with facebook, twitter, imessage and email (other services don't use message). 1.4:Improve handling of special characters 1.3:The terminal-share is now included is the workflow Twitter issue is fixed Minor fixes 1.2:Added abilitity to cancel file sharing by selecting the Selected file entry 1.1:Support of Alleyoop 1.0:Initial Version Creditsterminal-share
  20. Like
    bcometa reacted to kopischke in Dial with PushDialer workflow   
    I’ve gone and created a workflow to dial numbers found on your Mac with your iPhone via PushDialer, as I found Florian Pellet’s PushDialer workflow a bit simplistic for my taste. This one has the full trimmings (dial from text selection via hotkey, from the Alfred prompt, or from the Alfred contact viewer), more robust filtering and error handling, Alleyoop support for updates as well as a nice little extra in the form of script filters allowing you to find numbers to call right out of Alfred:


    There is a somewhat more detailed post announcing it on my blog, and the workflow itself is on GitHub (direct download link is here). Hope somebody finds it useful.

    Updates:
    1.0.1 fixes escaping of shell metacharacters (aka “who wants to dial your $PATH”). 1.0.2 queries with non-ASCII characters now work (aka “der Süden tanzt”). 1.1.0 Searchlight edition: significant improvements to the search functionality of the call family of script filters (see this post for the details). 1.1.1 fixes sorting of script filter results (aka “Alphabet, sagtest Du Alphabet?”). 1.1.2 fixes case sensitiveness in incremental searches (aka “a flock of cases”). Check for updates with Alleyoop, or re-download from GitHub.
  21. Like
    bcometa 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      
  22. Like
    bcometa reacted to anazimok in Stock Quote workflow   
    Here is a Stock Quote workflow. It's using http://download.finance.yahoo.com.
     
    - To add symbol execute: 'stockadd EBAY'
    - To remove symbol execute: 'stockrm EBAY'
     
    Download:
    https://github.com/anazimok/stockworkflow/raw/master/Stock%20Quote.alfredworkflow
     

  23. Like
    bcometa reacted to rice.shawn in Workflows Help Workflow   
    (--- update: currently on version 1.05 -- download links all the same)
     
    So, I have a workflow problem in that I like to install them. Quite a few of them, and I can easily lose track of the commands for each of them. Hence, I present to you a tool that I needed for me: Alfred2 Workflows Help.
     
    Basically, this is a python script that will cycle through your workflows folder, process the info.plist files, and grab the hotkeys and commands from each of them. Then it will compile all of them into a Markdown file, and then show that file in a Quicklook window. Yes! Screenshot is below.
     
    Github Repository here: https://github.com/shawnrice/alfred2-workflow-help
    Download here: https://github.com/shawnrice/alfred2-workflow-help/raw/master/Command%20Help.alfredworkflow
     
    Currently, there is just one command: help.
     
    The file can take a few seconds to generate, and it is generated every time. This will change in a later version.
     
    ---
     
    Some notes: The main script (help.py) is written in python, and it's really my first venture into python, so the code might be laughable. I welcome collaboration and commits. I can give you access to the repo if you private message me. I do think that this workflow has a lot of potential.
     
    This is version 1.0, and there are many improvements to be made. It has Alleyoop support, so updating should be easy.
     
    Quirks and files included:
    This workflow displays the file generated through a debug mode of Quicklook (so that the focus doesn't need to switch to finder), so there will always be a "[debug]" message on the window. I've included a Quicklook Markdown generator in the workflow to make sure that it always displays correctly. There are some images that are included that are not currently used (these are in the "images" folder). They will be used to show the hotkeys later. ALP is included. Right now, only part of the library is used, so I might strip it down to make the workflow smaller. So, the size of the workflow is larger because of these things in there.
     
    ---
     
    Roadmap:
    Clean up the help.py code. Cache the generated file and update it only when the workflow folder changes. Make the display of the file nicer. Add in more images to the file. Display individual workflow helps (show the data for that workflow as well as the readme.md file). Have a better precedent to show either text or subtext for the command help. Try to figure out a way to describe arguments taken for different commands / hotkeys. Make it understand file actions better. Clean up the file/folder structure. Maybe some more... any ideas?  
    Dependencies and Testing:
    Built on 10.8.3, but this should be compatible for all systems as the only dependencies are included in the workflow.
     
    Screenshot:
     

  24. Like
    bcometa reacted to phyllisstein in Alleyoop: Update Alfred Workflows   
    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:
    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.) 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. The user finds the workflow in his or her ~/Downloads directory and opens it. 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:

     
    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
  25. Like
    bcometa reacted to mwaterfall in Datetime Format Converter - Convert between unix timestamps and datetime strings   
    Here's a workflow that's useful for developers; it allows you to convert between timestamps and formatted datetime strings with ease.
     
    Simply type "df" followed by: "now", a UTC unix timestamp, or a formatted datetime string.
     
    This will present you with the parsed date in various formats ready to copy to your clipboard.
     
    Download
     



×
×
  • Create New...