Readme in other languages:
This repository contains Automator scripts to help you open files or folders in the application you need without running the application. Simply use the serives in the Finder file menu.
To open your files or programs in VS Code (Microsoft Visual Studio Code):
- Download the script
- Unzip downloaded file
- Run unziped file
You don't need to take any additional actions to use the script.
Fork is a simple and easy-to-use GUI for Git. To enable script support, go to Fork settings. Install Fork CLI in the Integration tab of settings at the bottom of the page.
Download, unpack and run the script.
All sevices are installed in the following path:
/Users/YOUR_USER/Library/Services
Open the script if you need to change it
When a service is started, a path is passed to the Shell script in automaton, based on which any application is called Since multiple paths can be passed to a command, a For loop is used.
for f in "$@"
do
some your command here $f
done
To use the value of f, use $f
where you need it.
- Open Automator
- File -> New -> Service
- Change «Service Receives» to «files or folders» in «Finder»
- Add a «Run Shell Script» action
- Change «Pass input» to «as arguments»
- Paste in the shell script box your code
- Save it with your script name