Sublime Forum

Contextual Menu (OS X)

#1

Hi there,

is there any chance to get the “Services Menu” integrated as “Contextual Menu” when doing a right click under OS X?

Yours, T

0 Likes

#2

I suppose it would be nice if this came as default, but you can easily make your own service.

  • Open Automator

  • Create a new Service

  • Add a Run Shell Script action

  • Set input to Service receives selected files or folders from any application

  • Set the script action to /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n $@

  • Set Pass input to As arguments

Save under a suitable name, like Open in Sublime Text 2. Done.

This works great and I have been using it for quite a while myself. One of the few services I actually use from time to time. :smile:

0 Likes

#3

Hi Tom, I don’t think what you’re looking for is possible at the moment. So I guess this is more a feature request. Sorry.

0 Likes

#4

@svenax: I think you’re talking about “the other direction”. I’m not interested to represent Sublime Text in my services menu when I’m in other apps but to have the normal system wide context menu (which contains my system wide services menu) in Sublime Text.

@COD312: thanks for your reply. I’ll post it in the feature request section.

0 Likes

#5

I would also like to be able to access the Mac OS Services Menu (and it’s submenu items) by right clicking in the SublimeText edit screen and execute a service. Is there a way to do this with menu customizations to expose OS level menu items?

0 Likes

#6

Yeah. How is this not a thing in Sublime Text?

0 Likes