Jump to content

vdesabou

Member
  • Posts

    466
  • Joined

  • Last visited

  • Days Won

    22

Reputation Activity

  1. Like
    vdesabou reacted to xtin in Alfred to Skype Interaction   
    That's great thank you, exactly what i needed! I will publish a version today that will remedy that problem
     
    What you you can do is rename your dad's visible name in skype so it contains "Dad", you should then be able to "s dad", where he should be the first hit. (If not, add "dad" twice, the entries are sorted by the number of characters that are match your query, e.g. if you do "s dad" and the skypename of your dad is daddaddad, it will return 9 as 9 chars have been matched ) After you changed the name, run "s update" to load the namechange into the cache.
     
    (Note: What is displayed as name is what the user has set as his full name, only if no fullname is set, the given name (the one you set) is displayed, for searching though, the account name, fullname and given name are used)
  2. Like
    vdesabou got a reaction from nikivi 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
  3. Like
    vdesabou got a reaction from Jb_Bryant in Share using Mountain Lion Built-in Sharing (Version 1.11)   
    I added what you want (hopefully). Set your hotkeys in the workflow like this:
     

     
     
    Download here: Version 1.9
     
    1.9:
    Added hotkeys to call built-in facebook, twitter, imessage and email
  4. Like
    vdesabou got a reaction from WelchWay in Spotify Mini Player: Control your Spotify library at your fingertips   
    Ok I reproduced with your library.json and updated to 256Mb, everything works now on my side.   Can you update to 1.12?   Version 1.12:   - Updated (again) allocated memory to 256M - Check json data is valid when creating/updating library - Minor fixes
  5. Like
    vdesabou reacted to barrettj in PathFinder support is not working as intended   
    Nothing I had done with toggling the setting in PathFinder and restarting worked (I literally spent over 2 hours trying different combinations of toggling the setting, restarting apps, and restarting my computer).
     
    But based on your statement about modifying the setting file, I looked into it and I found something which does work:
     
    Quit Alfred 2 Open ~/Library/Preferences/com.runningwithcrayons.Alfred-2.plist (this file is a binary property list, so you'll need a plist viewer - I'm using Xcode) Under Root (where everything is), add a key called NSFileViewer of type String with the value com.cocoatech.PathFinder Repeat the process for ~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist - just to be sure Restart Alfred 2 and everything will be working as you expect.
  6. Like
    vdesabou reacted to B9E in Running Apps   
    This is awesome and exactly for what I was looking.  Thank you.
  7. Like
    vdesabou reacted to Benzi in BulkRename - bulk rename your files, with built-in and custom presets   
    Here is a workflow for bulk renaming files.
     

     
    You select some files either in Alfred using the File Navigator or the File Buffer and use the File Action called "Rename with BulkRename", or select the files in Finder and use the hotkey to trigger the workflow for the selected files.
     
    Once triggered, Alfred will display a preview option and a bunch of preset actions that you can select. The preview option will display the modifications that will be made for each preset action listed.
     
    Preview
     
    Here are a couple of snapshot portions of what you see when pressing the Shift key:
     

     
     

     

     
    Issues are highlighted so that you know if running a preset will work or not. Even if you run that preset, nothing will happen.
     
     
    Preset Actions
     
    There are 6 actions included as a sample, but you can easily create your own actions using the .list keyword.

     
    To create a new preset, type in .list <new name>. Delete a preset using Cmd+Enter
     
    Each preset is nothing but a collection of simple steps that help make the preset action possible. For e.g. when you select the Append Sequence Number preset, you will be shown the preset editor:

    What the above tell is that the Append Sequence Number preset is a collection of two steps:
     
    add text '_seq' at end add number from 0, at end There are added to the preset using any of the steps [+] listed.
    You can add any number of steps to a preset, even the same ones over and over.
    You can delete an added step using Cmd+Enter
     

    When you add a new step to a preset, or edit an existing step by selecting it, you will be shown the Step Node Editor as above. The above is the example for the "Number Sequence" step, and for this step you can control what the starting number is, where the number should be added, and the format (leading zeros to be added). Items with a arrow -> are variables that you can change by pressing the Tab key. To add the step, just select the first option, and that step will be added to the Preset that you were viewing before.
     
    Steps
    Steps are the building blocks of each preset, and currently BulkRename has the following:
    Find and replace: find text and replace with another, supports regex and plaintext, case sensitive and insensitive Add text: add some text at the beginning or end of the filename Add timestamp: add a timestamp at the beginning or end of the filename. Timestamp is one of current time, file created or modified time. YYYY,YY,MM,DD,hh,mm,ss can appear in the format string Convert case: switch the case of the filename to lower, upper, or title Strip text: remove x characters from the filename either at the start of end Number sequence: append a running number sequence, starting from a value that you can specify MP3 Tagger (beta): Extract MP3 tags from MP3 files Regex group extractor: Regex group pattern extractor Change Extension: Allows you to change the extension of a file  
    Keywords
    The main keyword is .rename (but you would not have to type that in if you use the File Action or the Hotkey) The second one to manage all your presets is .list. .preset and .node are keywords used by the workflow directly, and there is usually no need for you to type those in directly. Download
    Download from here  
    Notes
    This works with Python 2.7.2 last I checked  
    Have a look at the included sample presets using the .list keyword to get a hang of how presets are made, and then create your custom ones 
  8. Like
    vdesabou reacted to JinnLynn in App Dig - track apps price   
    A simple way for you to track all apps price, work with AppShopper.
     
    Download & Source    Instructions
     
     
    2013-04-18 Update:
    Now you can change Country/Currency, includes all 91 countries. keyword: 'app change-country' More search type 2013-04-28 Update:
    Fixed `Search app for iphone` error. Open iTunes Store link or AppShopper link
     

  9. Like
    vdesabou reacted to Benzi in Rome2Rio travel route search   
    Usage
     

     
    Type rr <start> to <destination> in Alfred to find route options. Get Autocomplete suggestions as you type.  

    The search results are displayed one route at a time. Hit Tab key to cycle through all available routes. The first item is the route description, and you can select that option to view full details on the rome2rio web site, or press the Shift key for a preview The items that follow make up the various stops and segments of the trip - press Shift to get a map displayed highlighting the start and end points of each sgement.  

     
    To reset your search, hit Cmd + Enter on a route description. Or just type rr <start> to <destination> again to begin a new search  
    Download
    Download from here
     
    Notes
    Powered by rome2rio.com API v1.2 Requires Python 2.x and an active Internet connection If you want to disable autocomplete, open the workflow's script filter node, and change the command to --query from --query-autocomplete (more notes inside the script filter)
  10. Like
    vdesabou reacted to Carlos-Sz in Default Folder   
    Default Folder

    Goal

    Set a default folder for each application.

    This feature is also part of the Recent Items 3.0 workflow. Both can be used together.



    Usage
    When you are prompted with an open/save dialog (e.g. while saving a file in TextEdit) bring Alfred and type deff keyword (or hit the workflow hotkey) If the application already has a default folder the open/save dialog path with be set to it; if not, you will be able to select a default folder for the application within Alfred Changing the default folder for an application

    If you need to change the default folder for an application, while in open/save dialog of the application type defs keyword, select a folder and hit return key.

    Use a folder path without saving it as default

    Bring Alfred and type the keyword defs. Once you found the folder, highlight it, hold fn key and hit return. The folder path will be passed to the open/save dialog without saving it as a default for the application.

    Download

    Version 1.0
    Release date: 13 Apr 2013
    Supports Alleyoop 2
    Download Now
  11. Like
    vdesabou reacted to dfay in Rome2Rio   
    A basic, two-step workflow to search Rome2Rio.  Based on David Ferguson's "Using Script Filters."  Could probably be converted to a one-step version with delimiters by someone who knew php using David's model.
     
    Rome2Rio.alfredworkflow
  12. Like
    vdesabou reacted to Jb_Bryant in Share using Mountain Lion Built-in Sharing (Version 1.11)   
    Looks like it's working now. Thanks!
  13. Like
    vdesabou reacted to Carlos-Sz in Transmit: Upload + URL to the clipboard (1.5)   
    Transmit: Upload + URL to the clipboard

    Usage
    select a file in Finder bring Alfred and type the keyword tup select a Transmit favorite and hit return key You can also use Alfred File Action to upload a file with Transmit. After selecting a file you will be prompted, within Alfred, to select a Transmit Favorite.

    You can also open a Favorite in Transmit by holding fn key.
     
    Note that you can search a Transmit favorite considering not only the its name but also its properties such as protocol, user name, address, remote path and port.



    URL to the clipboard

    After the upload is finished, the file URL will be copied to the clipboard. Note that the URL will depend on your Transmit Favorite Root URL setting.
     
    What’s new 1.5
     
    The favorite will be opened in a new tab when it is possible Added favorite details such as protocol, user name, address, remote path and port Searching: favorite name and other properties
    Download

    Version 1.5
    Release date: 14 Apr 2013
    Requirement: Transmit 4.3.3
    Supports Alleyoop 2
    Download Now
  14. Like
    vdesabou reacted to vitor in Help making non‐volatile files from a workflow with bash   
    That’s it? That’s ridiculous(ly easy). This should really be somewhere more prominent. I don’t even need all the options of that script, I just made a prefsDirScript with
    #!/bin/bash bundleID=$(/usr/libexec/PlistBuddy -c "Print :bundleid" "info.plist") prefsDir="${HOME}/Library/Application Support/Alfred 2/Workflow Data/${bundleID}" if [[ ! -d "${prefsDir}" ]]; then mkdir "${prefsDir}" fi and I source that.Thank you for your help.
  15. Like
    vdesabou reacted to Adrian in Prevent "flash" of no result   
    By the way, strlen() of "på" returns 4 in Alfred result and not 2, so it's not a good way to count characters. mb_strlen() also returns 4 unless I set mb_internal_encoding("UTF-8") first, then mb_strlen() returns 3. Unless I run my script from the command line, then I actually get 2 as I should. There's something odd with the encoding inside Alfred or my script. Or both. Or I don't know...
     
    Edit: Oh, there was a online fix for that: $query = iconv("UTF-8-MAC", "UTF-8", $query);
  16. Like
    vdesabou reacted to _mk_ in Bash workflow handler   
    Done...
  17. Like
    vdesabou reacted to _mk_ in Bash workflow handler   
    Bash Workflow Handler
     
    As my OmniFocus workflow does most of its work in the shell, I created a bash workflow handler to reduce the overhead when creating feedback xml and dealing with preferences.
     
    Download
     
    Download it from GitHub and put it into your workflow directory.
     
    Usage
     
    Import handler into your script
    . workflowHandler.sh  
    Create feedback XML
    # create feedback entries addResult "uid" "arg" "title" "subtitle" "icon" "valid" "autocomplete" # get feedback xml getXMLResults  
    Get BundleID
    BUNDLEID="$(getBundeId)"  
    Get data dir
    DATADIR=$(getDataDir)  
    Get cache dir
    CACHEDIR=$(CACHEDIR)  
    Store preferences
    # store volatile setPref "key" "value" 0 # store non-volatile setPref "key" "value" 1  
    Read preferences
    # read volatile pref MYVAR=$(getPref "key" 0) # read non-volatike pref MYVAR=$(getPref "key" 1)
  18. Like
    vdesabou reacted to phyllisstein in Alleyoop: Update Alfred Workflows   
    Thanks, Carlos. I believe that is indeed the problem: Droplr doesn't automatically redirect you to the file you're trying to download, so the workflow is downloading the raw webpage data and trying to call it an alfredworkflow file. You should try to link directly to "YourWorkflow.alfredworkflow" whenever possible, or to a URL that reliably redirects to "YourWorkflow.alfredworkflow" (like a bit.ly link).
     
    The workflows are stored by name in ~/Downloads because that datum can be extracted from their Info.plist files, whereas the original filenames can't. And I can't reliably grab the workflow filename from the web address, for fear of breaking it for people who use redirect services. As for auto-opening the file after it's downloaded, I'd prefer to leave that to the user, who should be able to eyeball the file for potential maliciousness at some point in the process.
  19. Like
    vdesabou got a reaction from thec13 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
    vdesabou reacted to jiserra in Share using Mountain Lion Built-in Sharing (Version 1.11)   
    Works great now! Great workflow, I love it for Airdrop!
  21. Like
    vdesabou reacted to altryne in Upload a file with Droplr.app (both keyword and file action)   
    Yeah I know, but this forum doesn't support images without a file type, so I edited the tip to include .png
  22. Like
    vdesabou reacted to GamerChase in Share using Mountain Lion Built-in Sharing (Version 1.11)   
    Success   It's fantastic. Well done!
  23. Like
    vdesabou reacted to ramiro.araujo in Toggle Notification Center Alerts   
    Simple Workflow to disable or re-enable Notification Center Alerts from 10.8. It's the same behavior as manually disabling them by sliding the de Notification Center, scrolling up, and turning off the "Show Alerts and Banners" badge. The Notifications will resume tomorrow, or so NC says (didn't wait until tomorrow yet).
     
    Here is how it looks (I got all fancy with the keyword)

     
    The Workflow it's named Toggle, but actually gives you both options ON and OFF. I'll probably change it to a real toggle later (maybe a pull request?)
     
    BTW, notifications are turned off 7 seconds after you call it off, in order to see that last notification of the Notifications being turned off
     
    Hope you like it!
     
    Download:
    https://github.com/ramiroaraujo/AlfredWorkflows/blob/master/Toggle%20Notification%20Center%20Alerts/Toggle%20Notification%20Center%20Alerts.alfredworkflow?raw=true
     
    Fork:
    https://github.com/ramiroaraujo/AlfredWorkflows
  24. Like
    vdesabou got a reaction from Chris Messina 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
  25. Like
    vdesabou got a reaction from DJay 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
×
×
  • Create New...