Jump to content

ericwbailey

Member
  • Posts

    7
  • Joined

  • Last visited

Contact Methods

  • Twitter
    @ericwbailey

ericwbailey's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. Download https://dl.dropboxusercontent.com/u/4265900/Alfred/Spotify%20Private%20Session.alfredworkflow If you're a selectively lazy introvert like me who doesn't want to broadcast to the entire internet, this workflow co-opts a normal Spotify launch with the keyword spot to enable a Private Session by default. After playing around with AppleScript some, it looks like the devs at Spotify are accessibility-hostile jerks who disallow direct access to its Private Session menu bar command. This workflow brute forces it via activating it manually through "dumb" keypresses, sacrificing some speed to get it off the ground. Dependencies You may have to enable keyboard access in the System Preferences before activating this Workflow for it to function properly: System Preferences > Keyboard, and enable "All Controls" for Full Keyboard Access Download https://dl.dropboxusercontent.com/u/4265900/Alfred/Spotify%20Private%20Session.alfredworkflow
  2. This worked perfectly! Thanks for the quick replies, guys. It totally makes sense in hindsight.
  3. I'm trying to make a script to help in calculating em values. I feel really dumb asking this, but I can't for the life of me figure out how to get the result copied to the clipboard, for pasting into other applications. Here's what I have so far: set query to {query} set base_em to 16 set calculated_em to query / base_em calculated_em as real get calculated_em set the clipboard to calculated_em Essentially, the workflow will be typing em {query}, then ⏎, copying the result to the keyboard. I've got everything working until the clipboard part - I'm sure I'm missing something totally obvious here, but I can't for the life of me figure out the last part, argh.
  4. Download https://dl.dropboxusercontent.com/u/4265900/Alfred/Sleep%20Display.alfredworkflow This workflow puts only the display to sleep, using the Keyword sleepdisplay. The system remains running until computer sleep is triggered, as specified in the Mac Energy Saver preference pane. Handy for quickly and easily locking your computer, if your job requires that sort of thing. Unfortunately, there is no way to target the Eject key via AppleScript (that I know of, anyways), so the extension requires the use of the SleepDisplay.app (the extension looks for it in the ~/Applications/Utilities directory). As Alfred leans the Keyword, the Extension becomes easier to trigger. For me, all I have to do is type, "sl" to trigger, much more convenient than the ⌃+⇧+⏏ keyboard shortcut claw, I think! Dependencies SleepDisplay.app (install into ~/Applications/Utilities) Download https://dl.dropboxusercontent.com/u/4265900/Alfred/Sleep%20Display.alfredworkflow
  5. I installed a fresh copy of node.js with Homebrew, using this technique. I also had to create a config.json file manually, as per fform's instructions. Trying to search (i.e. pb foo) results in it defaulting to the Google/Wikipedia/Amazon/etc. fallback search, and it won't load relevant bookmarks. Any idea what could be causing this?
  6. This is an absolutely amazing workflow, wow. I took the liberty of whipping up a replacement icon, if you're interested. Hope you don't mind:
  7. Download https://dl.dropboxusercontent.com/u/4265900/Alfred/Mute.alfredworkflow This workflow mutes the system volume with the Keyword mute, meaning that all sound coming from the computer is stopped. Typing mute again will re-enable sound. It's pretty simple, but effective: Remember to disable the iTunes mute Keyword, if previously enabled: Preferences > Features > iTunes > Keywords > Mute iTunes If you want a finer degree of control, you could also rig it to work in conjunction with the iTunes mute Keyword if this workflow's Keyword is changed to something different, say "muteall". Dependencies None Download https://dl.dropboxusercontent.com/u/4265900/Alfred/Mute.alfredworkflow
×
×
  • Create New...