views:

125

answers:

0

Hi there I wanna do an Artist Instalation, that invites ppl to plug in theyr USB drive into my Piece of Art, when they do that I copy to theyr USB some of my artowrk.

I wanna do this usign apple script but im not a programer, digging arroudn found this code that copy files to a directory, what I wanna change now is that directory, I need it to be the Pluged USB device.

Here is the code:

tell application "Finder" make new folder at alias "Macintosh HD:Users:user:Desktop:" with properties {name:"Test Folder 2"} copy file "Macintosh HD:Users:user:Desktop:Test Folder 1:test.doc" to folder "Macintosh HD:Users:user:Desktop:Test Folder 2" end tell

Plz help me get this arround, thxs in advance