Hi,
I just learnt that one can make click-able shell scipts in finder which is a great news.
However, I was wondering if one can have shell scrips that will execute on particular file groups using write-click in finder.
For example:
I have a shell script that will compile *.tex file, updates references, and produces pdf file. I can run it from terminal and it works.
I'd like to be able to find m *.tex file in Finder. Upon using right-click I'd like to be able to select my script and run it. Can automator be deployed in Finder to execute shell scripts?
Right now I fairly comfortable with bash scripting, but know pretty much nothing about apple-script. That might of course change once I run my mac full time. But then again, I find shell scripts "universal" across platforms which is a plus.
As always, I appreciate any comments and/or suggestions.
Cheers, Radek
I just learnt that one can make click-able shell scipts in finder which is a great news.
However, I was wondering if one can have shell scrips that will execute on particular file groups using write-click in finder.
For example:
I have a shell script that will compile *.tex file, updates references, and produces pdf file. I can run it from terminal and it works.
I'd like to be able to find m *.tex file in Finder. Upon using right-click I'd like to be able to select my script and run it. Can automator be deployed in Finder to execute shell scripts?
Right now I fairly comfortable with bash scripting, but know pretty much nothing about apple-script. That might of course change once I run my mac full time. But then again, I find shell scripts "universal" across platforms which is a plus.
As always, I appreciate any comments and/or suggestions.
Cheers, Radek