Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Possible to run a shell script via the context menu of a file?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pmg" data-source="post: 1747299" data-attributes="member: 388898"><p>Hello,</p><p></p><p>I wrote a nice little shell script to resize and watermark images. It has an integrated file selector, but I thought of an idea to save the file select part:</p><p>I would like to select the image in the finder, right click on it and run the shell script from right there, passing the selected image as parameter.</p><p></p><p>I already tried to create this using the "open with" dialog, but it won't let me select ".command" files.</p><p></p><p>Thanks alot for your help!</p><p>Philipp</p></blockquote><p></p>
[QUOTE="pmg, post: 1747299, member: 388898"] Hello, I wrote a nice little shell script to resize and watermark images. It has an integrated file selector, but I thought of an idea to save the file select part: I would like to select the image in the finder, right click on it and run the shell script from right there, passing the selected image as parameter. I already tried to create this using the "open with" dialog, but it won't let me select ".command" files. Thanks alot for your help! Philipp [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Possible to run a shell script via the context menu of a file?
Top