As the title says, I have a flash drive, and a script on that flash drive. Whenever I plug my drive into my Mac OSX, I want a specific Python script that is on my drive to run, and be able to access directories on my computer. Why am I doing this? I'm crazy, and I felt like knowing, for future use. And for present experiments.

Recommended Answers

All 2 Replies

I found this. You could replace the bash script by a python script. You must learn a bit of the launchd system in mac os (which I don't know).

I found this. You could replace the bash script by a python script. You must learn a bit of the launchd system in mac os (which I don't know).

I wasn't able to understand this, much less make it work. I know nothing about plists, and I wasn't able to find any useful things online to make it work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.