Benches macOS

8

Auto-run file on USB flash drive

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Is it possible to Auto-run a file on USB flash drive when it is first plugged in, or when it is clicked on ?

8 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Flame_Macbook wrote:

    Is it possible to Auto-run a file on USB flash drive when it is first plugged in, or when it is clicked on ?

    no. that ability was specifically blocked in OS X as a security risk.

  2. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ok, clicking on the icon of a folder can not launch anything. what you can do is make it so that when you insert the flash drive then it plays that mp3. that can be done with a folder action but I would recommend using Do Something When http://www.azarhi.com/Projects/DSW/index.php for this. it works much better than folder actions and is easier to use.

  3. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Flame_Macbook wrote:

    Is it possible to Auto-run a file on USB flash drive when it is first plugged in, or when it is clicked on ?

    no. that ability was specifically blocked in OS X as a security risk.

  4. 0

    Flame_Macbook

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    is there a way to create a folder action that opens a selected file then ?

  5. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    folder action? it's possible of course but that would work on your computer only. it will do nothing if you plug in the drive into another mac. I thought the point of your question was to auto-run a certain file when you plug in the drive into ANY mac. perhaps I misunderstood.

  6. 0

    Flame_Macbook

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    i want to create a folder action or automator action that plays an mp3 when i click on the icon for my usb flash drive. It does not have to work on other computers, i just want it to work on mine

  7. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ok, clicking on the icon of a folder can not launch anything. what you can do is make it so that when you insert the flash drive then it plays that mp3. that can be done with a folder action but I would recommend using Do Something When http://www.azarhi.com/Projects/DSW/index.php for this. it works much better than folder actions and is easier to use.

  8. 0

    Flame_Macbook

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sorry to be a pain, but i cant use that program you suggested. My macbook is from my school and we do not have administrator access. So i cannot add programs like that one.

    Is there a guide somewhere on how to create a folder action to do what i want ?

    if it is difficult i will learn how to do it