3
I would like to have my USB flash drive auto-run a file on it when plugged in.
3
I would like to have my USB flash drive auto-run a file on it when plugged in.
1
You could use Automator and folder actions on the /Volumes/ folder.
Just open Automator, add a new folder action and click Choose Folder. When the popup comes up press Command-Shift-g and type /Volumes/. Now just create a Workflow App that will be triggered whenever a device is mounted.
When I started it up the first thing was choose a template and a chose folder action, then I was in the program and it already knew choose folder. So how do I enter '/Volumes/' and how do I say when it should be triggered? Thanks. – JShoe – 2011-07-29T02:18:17.703
Sorry, but I don't have my mac right now and I am no Automator expert. Maybe you will have more success at http://apple.stackexchange.com ? This article may also help you: http://automator.us/examples-08.html
– nmat – 2011-07-29T02:29:46.533@nmat No need suggesting another site, this only encourages cross posting. This question could have been migrated to Apple.SE if it doesn't get any useful answers, but it's now been asked anyway.
– slhck – 2011-07-29T10:32:36.843@JShoe Did you get any further with the example nmat gave you? – slhck – 2011-07-29T10:34:28.060
@slhck no actually... – JShoe – 2011-07-29T15:56:36.963