I have made a Python-based application that plays a slideshow. I want to add shortcut on the right-click menu of a folder and play the slideshow.

How can I achieve this?


You can use a service created by Automator to call your python script.

Automator Service example

Once your service is created, it will be available in the service submenu of your contextual menu.

  • couldn't get it to work, from the contextual menu I have new folder action, and I don't understand how will this launch python app.. – Ciasto piekarz Dec 25 '13 at 7:02
  • @san New Folder Action is unrelated. Put your Python app in the Run Shell Script box with the shell set to Python. Make sure the inputs are set correctly, then make sure that the service is set to receive folders in Finder. Save the Automator as a service and it will show in the services menu. – grg Dec 25 '13 at 8:51
  • I do not want in service menu, i want to add to right click of any folder in the finder window. – Ciasto piekarz Dec 25 '13 at 10:15
  • @san Yes, it will be in the right-click menu, under the services menu. – grg Dec 25 '13 at 10:37
  • i have an executable script at below location that can be used start slide show ~/Development/python/slideShow/scripts/slideshow – Ciasto piekarz Dec 25 '13 at 12:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .