Jump to content

Recommended Posts

I'm going to write a little programme that lives in the system tray and, when I plug my camera in to a USB port, it detects it and copies the files off. Copying the files off and dealing with them is trivial, no problem doing that. The issue is...

How the hell do I detect the camera?

Your help would be much appreciated. :)

Thanks,

Simon.

Link to post
Share on other sites

there is a udf some where in the form, that detect when you plug in an usb stick, so you could use that udf and then look for a certain folder to detect if it is your camera, cameras usually have folders with specific names where the photos or videos are stored, so i would suggest you could do it that way

Link to post
Share on other sites

I think it was this one, post 6, but seems to not work
https://www.autoitscript.com/forum/topic/42402-detecting-usb-drive-insertion/
EDIT:

actually it does work but you have to write the name of the removable drive in  $MyDrive = "SCSD TOOLS"
it is exactly what you need, hence the name will make it respond only when your camera is pluged in =)

Edited by jvds
EDIT
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...