I'm attempting to make an open in Sublime Text 2 service via Automator.
I am doing this by:
/bin/zsh
/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n $@
Screenshot:
However, whenever I try to open a folder via right-click > services > "Open in Sublime", a new ST2 window is opened but with a randomly named text file (ie subl stdin N188RN.txt) and it's output is the path of the folder opened (ie: /Users/me/Desktop/project).
Screenshot:
Is there a way I can modify the automator command line to fix this?
Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.
Much like VS Code, Sublime gets lots of praises when it comes to performance and customization. Some say it's the fastest text editor for writing code. Not only in general performance but also to run fast searches across any number of files. It reaches this level of performance by being very, very lightweight.
Sublime Text 3 (ST3) is a lightweight, cross-platform code editor known for its speed, ease of use, and strong community support. It's an incredible editor right out of the box, but the real power comes from the ability to enhance its functionality using Package Control and creating custom settings.
In the case of Sublime Text, the app will continue working indefinitely, but you'll occasionally see a pop-up with details on how to purchase the app. If you're interested in purchasing Sublime Text, you can get a personal license for $99, or business licenses starting at $65/seat/year.
Try setting Pass input:
value to as arguments
:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With