Jump to content

RWCope2

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by RWCope2

  1. I have a number of VPN accounts that I need to log in and out of throughout the day, so I thought I would create a workflow where I could type "vpn" and then have Alfred show a list of VPN's I could choose from.  The list of choices would come from an AppleScript something like this:

     

     

    tell application "System Events"
        set np to network preferences
        get name of every service of np whose kind is 12
    end tell
     
    This seems like a job from a Script Filter using osascript, but I can't find any information on what that AppleScript should return to get Alfred to display the list of results.  It says "The custom filter must return results in a specific order.  See the documentation for more information."  Unfortunately, I can't find any such documentation.  
     
    Any guidance on how to do this?
     
    Thanks,  
    Rob
×
×
  • Create New...