i have the Sony Cybershot S400 ( i know, a little old… ), and when i plug it in via USB, i get a storage decive “NO NAME”. the thing is that my pendrive is also detected like a storage device “NO NAME”…
so… how can i detect the specific Memory Stick on my cam, in order to do a script that executes when i plug the cam in…
( i want to do a script that automatically detects my cam, prompts me for a folder name, prompts me for a name, moves all my photos to that folder, and replaces the code name DSC-XXXX for the prompted name, )
i think i can do the script, but i can’t detect my cam…
thank you all!!!
marto.
When you plug the pen drive in, it shows up in the Finder. Are you saying that you can’t rename it? Mine, which is also quite old, will accept a name and it is retained. That’s probably not true of your camera, but have you tried to give it a name?
mmmm no i didn’t… i didn’t know i could!
so, if its retained, and i name it “myCam”, how can i make a scirpt to trigger itself when the camera is plugged in?
Two ways. 1) Read Craig Smith’s Article “Using launchd with AppleScript to Access a Flash Drive Automatically” and it will work anytime you plug in the camera and it mounts, or 2) Run a script that includes this line:
tell application "Finder" to set Mounted to (disks where it's name is "ACB-PenDrive") is not {}
with the obvious change of name.