PDA

View Full Version : Activating USB port via an AppleScript program


Daniel Paquin
05-11-2010, 03:55 PM
I must leave a video camera connected with a USB port to my laptop in all time.

However, at several occasions during the day I must activate the connection between the camera and the laptop. At the moment I perform this operation by unplugging and plugging the USB cable to the laptop.

When plugging the USB cable to the laptop a message appears on the LCD screen of the camera asking which disk I wanted to connect on the camera. I select A or B and then I am able to see all video files I've created on A or B.

Once I am ready to continue filming I perform an Eject from the laptop and I am then ready to continue filming.

At this moment I would like to create an AppleScript which would be performing the connection without me having to plug and unplug the USB cable?

Is this possible?

THANKS in advance!

I am using Snow Leopard.

renaultssoftware
05-11-2010, 06:27 PM
I don't think you can make an AppleScript; just ask one of the senior members here if there's a system command for this.