Jump to content
franzheidl

Open with Sublime Text 2 (keyword of file/folder action)

Recommended Posts

Just updated my Open With Sublime Text 2 Workflow (that was long hidden away here) by merging in a pull request from dbingham that improved stability and handling of multiple files.

 

The workflow works either by keyword ("subl") on your currently selected Finder items or as a file/folder action.

 

Download: http://cl.ly/PW75

 

 

Github: https://github.com/franzheidl/alfred-workflows

Edited by franzheidl

Share this post


Link to post

Updated Workflow to also open files or folders in Sublime Text 2 if user entered a path beginning with '~/'.

Use the updated download link above or pull from github.

Share this post


Link to post

Just updated my Open With Sublime Text 2 Workflow (that was long hidden away here) by merging in a pull request from dbingham that improved stability and handling of multiple files.

 

The workflow works either by keyword ("subl") on your currently selected Finder items or as a file/folder action.

 

Download: http://cl.ly/PW75

 

 

Github: https://github.com/franzheidl/alfred-workflows

 

I'm pretty new to Alfred in terms of developing workflows.  I have done a couple but nothing notable.

 

The idea is I am trying to display what is in my root folder, which is where I house all the folders I use for development.  Then whichever one I selected would open in Sublime Text (ST3).  Any idea on how to do this?  I'm kind of failing right now.

Share this post


Link to post

I'm trying to get this to work with PathFinder. I tried modifying in the Applescript

tell application "Finder"

to

tell application "Path Finder"

But that didn't work. Any suggestions where to look for?

 

Thanks, Rene

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...