Jump to content

kopischke

Member
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    kopischke got a reaction from morocons in Google translate workflow   
    Well, if you ask like that… Revised version that:
    handles non 7-bit ASCII characters (aka “what them foreignas use”) correctly, both as input and as output, handles phrases correctly (i.e. as phrases, not as multiple separate terms), adds a Paste into foreground application action (Cmd modifier), uses a central script file so that adding languages is a matter of adding a simple command to a new script filter (./translate '<language code>' '<language name>' "{query}"), is certified 100 % awk and sed free (you saw that coming, right?).
    (note the Russian and Chinese translations have only been added to showcase the international support – by default, the workflow still only translates to French, English, and Spanish). As usual, repo is here, direct download here.
  2. Like
    kopischke got a reaction from miketheburrito in Last.fm workflow   
    Just a quick heads-up: there is another last.fm workflow by Filipe Barros (with minor contributions by yours truly) over here. It lacks the smooth drill-down interface (I really like that) and requires a last.fm account, but offers a much more extensive selection of last.fm queries (track and album info, loved and banned tracks, love, ban, tag and untag currently playing track etc.).
  3. Like
    kopischke got a reaction from danielp in [Mavericks] Merge all Finder windows.   
    Just a hint: if any of the posters with problems happen to be running OS X in another language than English, the AppleScript will not work, as it searches for the relevant menu item by name, which, of course, is localized.
     
    If that is the case, the fix is easy: check your Finder and see what your window menu is called, and what the menu item to merge windows is called, then replace the second and third argument of the click_menu call on line 2 of the AppleScript action of the workflow by the localized versions.
     
    For instance, for German, replace
    click_menu("Finder", "Window", "Merge All Windows") by 
    click_menu("Finder", "Fenster", "Alle Fenster zusammenführen")
  4. Like
    kopischke got a reaction from xilopaint in [Mavericks] Merge all Finder windows.   
    Just a hint: if any of the posters with problems happen to be running OS X in another language than English, the AppleScript will not work, as it searches for the relevant menu item by name, which, of course, is localized.
     
    If that is the case, the fix is easy: check your Finder and see what your window menu is called, and what the menu item to merge windows is called, then replace the second and third argument of the click_menu call on line 2 of the AppleScript action of the workflow by the localized versions.
     
    For instance, for German, replace
    click_menu("Finder", "Window", "Merge All Windows") by 
    click_menu("Finder", "Fenster", "Alle Fenster zusammenführen")
  5. Like
    kopischke reacted to deanishe in SmartFolders: Browse and search the contents of your Saved Searches   
    I was wondering if you were German and if that could have something to do with it. Not your being German, but you Mac, of course. Being German is a splendid thing. Especially if you like football and/or beer
     
    Anyways, thanks very much for finding the problem and coming up with the solution. I've updated and uploaded the workflow with the necessary changes. Just download and re-install (if you haven't simply fixed your own copy yourself).
     
    I've tested it with my German account on my Mac (which I probably should have done in the first place), and it definitely works now.
  6. Like
    kopischke reacted to deanishe in Transmit favorites workflow (works with MAS version)   
    Thanks for the new version. I changed the modifiers again, though, because I want new connections to open in new windows not tabs. That way, it always works, regardless of whether I have a window open or not. Easily changed.
     
    So, I've been testing the workflow. It is searching on both name and server, but I don't like the way it doesn't prioritise the favourite names, but it does sort results by them:
     
    If I just enter "d", my first two results are:
     
    Bad Certificate
    badcert.domain-starting-with-d.com
    Bob's Diskstation
    diskstation.local
     
    The following results do have names starting with "d".
     
    If I enter "ra" my results are:
     
    Downloads
    randy.home.lan
    Incoming
    randy.home.lan
    Media
    randy.home.lan
    ...
    ...
    ...
    ...
    Radreisekarte
    ftp5.gwdg.de
     
    So, the first result whose favourite name starts with "ra" is number 8. The previous 7 are on a server whose name starts with "ra".
     
    IMO, the favourite name should be prioritised over the server name. That's the name I chose because that's the name I want to use.
     
    I hadn't realised the important part of the workflow was in Python (I thought it was all AppleScript), so I had a poke about, and I've changed the filtering to the following:
    faves = zip(names, addresses, indexes) results = [] q = q.lower() for t in faves: # name if t[0].lower().startswith(q): results.append(t) for t in faves: # address if t not in results and t[1].lower().startswith(q): results.append(t) for t in faves: # in name if t not in results and q.lower() in t[0].lower(): results.append(t) for t in faves: # in addr if t not in results and q.lower() in t[1].lower(): results.append(t) feedback = Feedback() for name, addr, idx in results: feedback.add_item(name.decode("utf-8"), addr, idx + "," + str(len(indexes))) print feedback This prioritises favourite names over server addresses and startswith over contains.
     
    I wish I were smart enough to make it do the "PS = Photoshop" style filtering
     
    P.S. I love the way you set names, addresses and indexes using steps of 3. I'll try to remember that trick.
  7. Like
    kopischke reacted to _mk_ in Mavericks Tags - File and Email Tagging with Alfred 2 (updated to v1.4)   
    Mavericks Tags - File and Email Tagging with Alfred 2
     
    Features
    Show tags of a file/folder or email Add/Remove tags of a file/folder or email Search files/folders or emails with a specific tag Show list of available tags Installation
     
    Download and import into Alfred 2.
     
    Usage
     
    File Action
     
    The Mavericks Tags workflow is available as Alfred File Action:

     
    Hotkeys
    ⌃⌥T - Show tags of selected file in Finder ⌃⌥M - Show tags of selected email in Apple Mail Select "Add Tag" and ENTER a tag name to add it as new tag to the file/folder/email or select one of the existing tags and press ENTER to remove the selected tag from the file/folder/email.
     



     
    Keywords
    .tagged [tag name] - Search files/folder with tag
    .taggedmail [tag name] - Search emails with tag
    .taglist [tag name] - Show list of all available tags
     
    Credits
     
    Credit for the included command line utility go to jdberry.
     
    The icons are from the Windows8/Metro Icon Pack by Visual Pharm.
     
    Changes
    1.4 [2014-03-01]"Manage Tags" file action now supports multiple file from Alfred's file buffer 1.3 [2013-12-16]".taglist" command now uses mdfind to query all tags instead of the unreliable Finder plist 1.2 [2013-12-10]new keyword ".taglist" to show list of all available tags renamed ".mtagged" keyword to ".taggedmail" 1.1 [2013-11-25]support for tagging emails chnaged icons
  8. Like
    kopischke got a reaction from mixterdee in Tagg’d – search your Spotlight / OpenMeta / Mavericks tags   
    A simple file filter companion to my tagging workflow. Will search OpenMeta tags, application specific tags (as long as they are stored as Spotlight keywords – kmdItemKeywords to the savvy) and Mavericks native tags.
     

    As usual, repo is here, direct download there.
     
    Updates:
    Version 1.0.1 2013-10-25 – Update for final Mavericks tagging scheme
  9. Like
    kopischke got a reaction from arsenty in Google translate workflow   
    Well, if you ask like that… Revised version that:
    handles non 7-bit ASCII characters (aka “what them foreignas use”) correctly, both as input and as output, handles phrases correctly (i.e. as phrases, not as multiple separate terms), adds a Paste into foreground application action (Cmd modifier), uses a central script file so that adding languages is a matter of adding a simple command to a new script filter (./translate '<language code>' '<language name>' "{query}"), is certified 100 % awk and sed free (you saw that coming, right?).
    (note the Russian and Chinese translations have only been added to showcase the international support – by default, the workflow still only translates to French, English, and Spanish). As usual, repo is here, direct download here.
  10. Like
    kopischke got a reaction from Florian in Google translate workflow   
    Well, if you ask like that… Revised version that:
    handles non 7-bit ASCII characters (aka “what them foreignas use”) correctly, both as input and as output, handles phrases correctly (i.e. as phrases, not as multiple separate terms), adds a Paste into foreground application action (Cmd modifier), uses a central script file so that adding languages is a matter of adding a simple command to a new script filter (./translate '<language code>' '<language name>' "{query}"), is certified 100 % awk and sed free (you saw that coming, right?).
    (note the Russian and Chinese translations have only been added to showcase the international support – by default, the workflow still only translates to French, English, and Spanish). As usual, repo is here, direct download here.
  11. Like
    kopischke got a reaction from Southgirl in Check available disk space   
    I’ve updated Florian’s original workflow. This version
    has a friendlier display, including correct drive icons handles volumes with spaces in their names displays the correct name of the system drive offers actions on the drives (Finder reveal and Alfred browsing) is certified 100 % awk-free
    The repo is here, direct download here.
  12. Like
    kopischke got a reaction from Florian in Check available disk space   
    I’ve updated Florian’s original workflow. This version
    has a friendlier display, including correct drive icons handles volumes with spaces in their names displays the correct name of the system drive offers actions on the drives (Finder reveal and Alfred browsing) is certified 100 % awk-free
    The repo is here, direct download here.
  13. Like
    kopischke got a reaction from Empyreal in Dial with PushDialer workflow   
    Hey @Empyreal, I’m sorry to say that is not possible, to my best knowledge. To get the current selection, the application which contains the selection must be focused for the selection to be extracted – which it is not when Alfred’s window is open and waiting for input. There are ways to navigate around this if you can script the background application (and, even more to the point, know which one you need to target), but none built into Alfred, at least currently.
  14. Like
    kopischke reacted to shadylane in Last.fm + Alfred = Alfred.fm   
    SUCCESS!!!
        Everything's working perfectly now with the latest version, yay! This workflow is absolutely fantastic, seriously, I love it!   Thank you both so much, especially for making the workflow run on Mountain Lion - as a huge Last.fm fan I will be using this constantly... Alfred + Last.fm = totally awesome    Thanks again guys!
  15. Like
    kopischke got a reaction from dfay in Refresh Finder workflow   
    Hi @hzlzh, much as I appreciate what you are trying to do, I’ll not submit my workflows to your directory as long as a direct upload is required. I provide Alleyoop updating in all workflows because, for time and efficiency reasons, I want to keep new version uploading to one target only: the GitHub repo the workflows are stored in. However, should you ever decide to drop the direct (“backup”) download requirement and accept GitHub-only submissions, I’ll gladly add my workflows to your list (and of course I won’t object if somebody else wants to take it upon her or him to do so – the collected workflows are WTFPL licensed, after all   ).
  16. Like
    kopischke got a reaction from bcometa 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.
×
×
  • Create New...