Jump to content

vdesabou

Member
  • Content Count

    433
  • Joined

  • Last visited

  • Days Won

    18

Reputation Activity

  1. Like
    vdesabou reacted to _mk_ in Image Dimensions   
    Image Dimensions
     
    The workflow is based on the Alfred v1 extensions created by Don Southard. It was modified to work with Alfred 2 and to handle multiple files at once. The workflow can be updated using Alleyoop.
     
    Features
     
     
    This workflow shows the dimensions of one or more selected images. It works as
    Alfred File Action Based on current Finder Selection
     
    Installation
     
    Download from GitHub and import into Alfred 2.
     
    Usage
     
    Hotkeys
    ⇧⌥I - Show dimensions of images selected in Finder Actions
     
    The following actions are available on the file row of the result view:
    ENTER: Copy file path (incl. filename) to clipboard ALT+ENTER: Copy filename to clipboard CMD+ENTER: Copy the file itself to clipboard  
     
     
  2. Like
    vdesabou reacted to guiguan in Uni Call [v6.031]: The missing universal audio, video call and text workflow for Alfred   
    Uni Call is an open source project and an Alfred workflow providing the fastest way to make whatever audio, video phone call or send whatever text message on your Mac OS X (ambitious . It views your Apple Contacts (we love Apple address book and iCloud as the central place for all your contact information, and makes use of those information to help you initiate your phone calls or text messages as quickly as possible.
     
    Please visit Uni Call's official project site (http://unicall.guiguan.net) for more details.
  3. Like
    vdesabou reacted to jga23 in Layouts v2   
    It look way too long, but I've finally updated Layouts for Alfred's Workflows.  I completely re-wrote the source and now you can even add hotkeys for custom sizes (like 30% of screen width on the left side of screen).
     
    Read more and download here: http://projects.jga.me/layouts/
  4. Like
    vdesabou reacted to jury89 in Spotify Mini Player: Control your Spotify library at your fingertips   
    yeah now it works!!! Thank you so much for the help! VNJ!  
  5. Like
    vdesabou reacted to samispade in Workflow names in Comment field (using Hazel)   
    Strictly not a workflow, but using App Hazel to monitor Workflows folder and add the workflow name to the Comments field, making it easy to see in Finder what folder is associated with what workflow.
     

     
     
     

     
     
    https://dl.dropboxusercontent.com/u/100324951/workflows.hazelrules
     
     
  6. Like
    vdesabou reacted to Jefferson in Transmit favorites workflow (works with MAS version)   
    Uses AppleScript to list favorites, so it works with all versions of Transmit 4 Hold down command to open in a new tab or alt to open a new window (defaults to using the current window and disconnects a current session if it exists) Searches by favorite name or by favorite address You can download it from here.
     
    Let me know if you guys like it or not.  If you do, check out some of my other workflows in my signature.  Some of you guys might like my Remote Desktop workflow too.
     
    Updated 4/25:
    Now more robust to names and addresses
     
    Updated 6/19:
    Now properly encodes names to UTF-8.
  7. 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
  8. 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)
  9. 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
  10. 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
  11. 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
  12. 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.
  13. Like
    vdesabou reacted to B9E in Running Apps   
    This is awesome and exactly for what I was looking.  Thank you.
  14. 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 
  15. 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
     

  16. 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)
  17. 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
  18. 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
  19. Like
    vdesabou reacted to Jb_Bryant in Share using Mountain Lion Built-in Sharing (Version 1.11)   
    Looks like it's working now. Thanks!
  20. 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
  21. 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.
  22. 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);
  23. Like
    vdesabou reacted to _mk_ in Bash workflow handler   
    Done...
  24. 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)
  25. 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.
×
×
  • Create New...