Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Stu L Tissimus

macrumors newbie
Original poster
Let's say I have a command that takes a single parameter. For example:

cp <parameter> ~/Desktop

(That's not the command, but it's the simplest thing I can think of.) Basically, what I'd like to do is be able to drag a file over an application/script in my dock and let said app/script use the filepath as a parameter to a bash script. Any ideas?
 
The best way is going to be wrapping this in an AppleScript Drop-Script. This is relatively easy thing to do.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.