Jump to content

Empyreal

Member
  • Posts

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Empyreal reacted to deanishe in Open Contacts App from Alfred   
    IMO, it would be more intuitive if the "Open contact in Alfred/Contacts.app" feature worked like normal workflow results, i.e. ENTER for the default action and CMD+ENTER for the alternate.
     
    It's a standard Alfred idiom to use CMD/CTRL/OPT/SHIFT+ENTER to perform alternate actions, while CMD+O is only used with contacts (AFAIK), so people are more likely to try CMD+ENTER, and to remember it.
     
    Also, the subtitle should then change to "Open contact in Contacts.app" or "Open contact in Alfred" when CMD is held down (just as it changes to "Search for 'x' in Spotlight" when you hold down OPT when a contact is selected).
  2. Like
    Empyreal reacted to h2ner in Open Contacts App from Alfred   
    Agree with deanishe and was thinking the same: cmd-return to open in Contacts. I didn't know of cmd-O until I found this thread. As the modifiers control and option offer other options, I think cmd is a good choice for perhaps the most often wanted other action.
  3. Like
    Empyreal reacted to alfredclough in Recent Downloads Workflow   
    I don't care if you put them in a git hub. I only create a workflow when it meets a personal need though so I won't be prolific with creating new workflows. I created several of them at once when I transitioned to Alfred 2 so it's why it seems so prolific in the last few months. In other words, don't expect a lot of development on them unless I find something new I need, but thanks so much for the not elf appreciation.
  4. Like
    Empyreal reacted to twinpeaks in Recent Downloads Workflow   
    You have compiled a hit with this one! No it's not as informative or comes out of the box providing users with lots or any configs as recent downloads by ddjfreedom does but it is capable of taking on arguments or follow-up scripts and is much faster and more accurate. Clinton Strong made the afformentioned workflow 100% faster and added  awesome enhancements like % complete for safari downloads. However, if I had to choose one workflow and never receive another update, yours wins no question. I know this workflow is never breaking down which is half/all my fault for not being capable of fixing ruby scripts.
     
    I had to get that out there and scold everyone who has downloaded this and not posted a quick thanks or tapped the button. We wonder why so many great scripters have gotten fed up with fixing scripts and sharing new creations with this board... SWC, I am going to check out your other workflows in a moment and keep a backup of this script filter for safe keeping. 
     
     
    By the way, would you consider creating a github repository of all your workflows since the number is staggering? If you prefer not would you care if I did and simply had you email updates or new workflows to be posted? Don't get discouraged by the lack of appreciation, we are a very spoiled group here and it's going to bite us in the ass even more than it already has.
  5. Like
    Empyreal reacted to alfredclough in Recent Downloads Workflow   
    This workflow shows the contents of the downloads folder, sorted using file meta-data so that the sort is exactly the same as the "Date Added" sort on the Downloads folder (This sort is often the same as the last modified time, but is not always.) It provides a convent way to view the most recently downloaded files and you can scroll through them all or type part of the name of a file to find a specific one.
     
    Click here to download.
  6. Like
    Empyreal reacted to Jack Musick in Type (not paste) Clipboard Workflow   
    Nope. It's some kind of macOS bug. I ended up fixing it by adjusting the underlying Apple Script to this:
     
    on alfred_script(q) set chars to count (get the clipboard) if chars > 500 then do shell script "afplay /System/Library/Sounds/Funk.aiff" else tell application "System Events" set _index to 1 repeat with letter in (get the clipboard) keystroke letter delay 5.0E-4 end repeat end tell end if end alfred_script I've been using it just fine since.

  7. Like
    Empyreal reacted to ramiro.araujo in Type (not paste) Clipboard Workflow   
    Type Clipboard Workflow for Alfred App
    Simple workflow to write the clipboard content in those situations where ⌘ → V doesn't work, typically in non Cocoa application dialogs. It has happened to me in older Flash versions, Intellij IDEA and a few others. You have to go and paste with right clicking the mouse or pad... Atrocious!!

    Setup
    After installing the workflow you have to setup the default keyboard shortcut, since Alfred does not auto-import keyboard shortcuts on workflows. I use ⇧⌃⌥⌘ → V, since I don't use it that often.
    Alternatively, you can trigger the typing with the typeclipboard keyword.

    Usage
    Just trigger the shortcut or keyword to type the clipboard content. There's a character cap of 500 characters, to avoid accidents, since the typing takes time depending on the length of the text. If you hit the cap, you'll hear a classic error sound.

    Installation
    Download the alfred-type-clipboard.alfredworkflow and import to Alfred 2.
     
    Source Code
    Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-type-clipboard-workflow

    Changelog
    2014-02-04 - Released
  8. Like
    Empyreal reacted to russmatney in Workflow for Muting mic in Facetime   
    Both links were dead, so if anyone after me is still looking, here's a workflow to toggle mic volume between 0 and 100 via a hotkey:  https://github.com/russmatney/alfred-workflows/blob/master/Toggle%20Mic%20Mute.alfredworkflow
     
    code from http://superuser.com/a/397770/293352
  9. Like
    Empyreal reacted to deanishe in Multiple results in script filter [Python]   
    http://www.deanishe.net/alfred-workflow/user-manual/update.html
  10. Like
    Empyreal reacted to deanishe in Splitting a query into two variables   
    I tend to write my workflows as command-line programs. Combining variables with a library that binds environment vars to command-line options (e.g. envvar VERBOSE=1 is equivalent to --verbose) is a very useful technique.
    It allows you to really keep the number of objects and connections in your workflow to a minimum.
  11. Like
    Empyreal reacted to Andrew in Open Alfred file actioning from CLI   
    @GuiB Yep no probs, I've updated it to accept one or more files for the next release  
     
    Also, interesting what @deanishe said - For some reason, I was fully resolving paths and symlinks on the receiving code. I've changed that to just standardise paths instead (i.e. resolve ~/).
  12. Like
    Empyreal reacted to Andrew in Open Alfred file actioning from CLI   
    The Alfred 3.5 pre-release adds new 'browse' and 'action' alongside the 'search' AppleScript commands.
     
    Use search to populate Alfred's search field.
    Use browse to populate Alfred's file system navigation path.
    Use action to show the actions panel for the given file.
     
    Cheers,
    Andrew
  13. Like
    Empyreal reacted to altre in Python Interpreter   
    Hey everyone,
     
    Here's a workflow I created a while ago and have been using quite alot myself:
     
    Alfred Workflow: Python Interpreter The full power of python at your fingertips.Evaluate or run python commands directly from Alfred.
    Hit enter to copy output to clipboard.
    This workflow automatically imports the following standard libraries as star-imports: math, random, re, calendar, os.path, shutil, json, time, macostools.
    Furthermore it attempts to import numpy as star import and ignores it silently if not installed.
    Get it here:
    https://github.com/altre/alfred_python_interpreter
    http://www.packal.org/workflow/python-interpreter
     
     
     

     
     
  14. Like
    Empyreal reacted to Vero in Alfred snippets with trailing space or tab.   
    Just wanted to pop in and say... This is exactly why we love our Alfred community from all over the world. Not only are you helping each other out, but you're nudging each other to remember to be kind and friendly. This thread made me smile this morning  
     
    Cheers,
    Vero
  15. Like
    Empyreal reacted to quaritexa in Alfred snippets with trailing space or tab.   
    Sorry, but I didn't speak or write English at all, until recently. And I accustomed to speaking briefly. Forgive me for my cold Russian style
     
    I think, best appreciation to Andrew and Vero is my recommendations to all my friends to use this helpful application, without which I feel myself clumsy.
  16. Like
    Empyreal reacted to juliosecco in Alfred snippets with trailing space or tab.   
    OK,
    please forgive me,
    but you know, I'm italian,
    and some kind of a respectful chatting is in my DNA,
     
    I'll shut up now  
  17. Like
    Empyreal reacted to juliosecco in Alfred snippets with trailing space or tab.   
    well, at least a little sign of  appreciation...
     
    In have seen Vero and Andrew answering you like two little Gandhi...
     
    please, try to be 'amazing' a little you too, just some little 'thanks' or 'regards' or 'cheers' or 'hi' or 'thanks' while you are posting your questions would be appreciated ( from me at least, but maybe I'm  too much sentimental )
     
        Giulio
  18. Like
    Empyreal reacted to deanishe in Tutorial on writing Workflows in Python   
    I've written a fairly detailed tutorial on writing Alfred Workflows in Python as part of the documentation for my new Python Workflow library.
    Might be of some interest to budding Python Workflow developers, and possibly an interesting trick or two for older hands.
  19. Like
    Empyreal reacted to ahmadt in Go To Here   
    Jump to files and folders when opening or saving

    This is based on http://blog.qsapp.com/post/72195815293/go-to-here-again

    coming from QuickSilver, I use this script alot, I converted it to work with Alfred 2

    You can download it @ http://www.packal.org/workflow/go-here
  20. Like
    Empyreal reacted to deanishe in newbie question: variables in Applescript   
    Javascript the language isn't so terrible (although its community is pretty demented), but Apple's JXA API is in many ways worse than the AppleScript one.
     
    @jaladuvar If I were you, I'd strongly consider doing the absolute minimum in AppleScript, and passing the data to a Ruby/Python/anything-but-AppleScript program as soon as possible. 
  21. Like
    Empyreal reacted to vitor in newbie question: variables in Applescript   
    Leave it to AppleScript to be so bad even JavaScript is a better recommendation.
  22. Like
    Empyreal reacted to vitor in Run Command — Run commands using your shell configuration   
    Those specific commands work fine because they’re extremely limited, can’t act on selected items, rely only on system commands, and don’t take into account your own choices/customisations. This workflow was made exactly to bypass those limitations.

    If you have selected files/directories (or just a Finder window open in front) and want to act directly on them without having to write their path on Alfred, you need some of this extra complexity. The workflow also takes into account if you use zsh instead of bash, which matters if you’re used to the small differences between them. It also matters to read your shell’s startup files (which Alfred does not do on its own), which will load your specific configurations, like aliases and your PATH, which in turn allows you to run tools you have installed yourself that might reside in specific locations (like the ones installed via homebrew).

    Your example works only on extremely basic examples that have, for the most part, no practical use. Most of the time you need to do something custom, something that works like your shell, the way you have it configured, does. A simple /bin/bash Run Script block gives you nothing more than what the terminal does as soon as you install the system; RunCommand gives you your environment, the way you’ve set it up, and the possibility to act directly on selected items.
  23. Like
    Empyreal reacted to deanishe in [PYTHON FIX] How to fix Python workflows hanging Alfred on Sierra   
    There is a bug in my (unofficial) Alfred-Workflow library that causes very many workflows using it to hang quite dramatically on Sierra.
     
    If you are affected (i.e. you see Alfred's CPU usage spike to 100%), Activity Monitor will show two Python processes like this (choose View > All Processes, Hierarchically), with the bottom one at ~99% CPU (this screenshot is actually of a non-misbehaving workflow):
     

     
    Download and run this workflow, which will update any old versions of Alfred-Workflow in your installed workflows.
     
    That should get your workflows working again until the workflow developers can push official fixes.
     
  24. Like
    Empyreal reacted to Andrew in Is there a way to search through Safari Bookmarks through a keyword trigger?   
    This is actually pretty easy, here is my safari search with sh for history and sb for bookmarks:
     
    https://dl.dropboxusercontent.com/u/6749767/Alfred/Workflows/Search%20Safari.alfredworkflow
     
    You could attach a hotkey to the beginning of one of these if you'd like to access one of these searches directly without a keyword.
     
    Cheers,
    Andrew
  25. Like
    Empyreal reacted to jdfwarrior in add ~/Library/Scripts to Alfred Search Scope?   
    This is done using a workflow and adding an Input->File Filter. File Filters allows you to create custom searches for Alfred where you are allowed to set a specific search scope, file type, show system files, etc.  File Filters are a Powerpack only feature. A little more documentation can be found here. If you need a little more info though, let me know and I'd be happy to give an example or help you set one up.
×
×
  • Create New...