quote:
Originally posted by zogo
by the looks of the script matty has made a good script but it looks like it only works on the "G" drive...
No, the script tells you the drive letter the device took in Windows.
quote:
Originally posted by Voldemort
quote:
Originally posted by matty
Just a heads up, so far in 37 lines of code I can detect when a USB device is plugged in and disconnected.
In 45 lines of code I am able to do a check if the device that was plugged in is an iPod.
Oh by the way it is pure Plus! Scripting, no external dlls I needed to code, no looping through drive letters.
Detecting the ipod with matty's code you can count the number of x like this:
Music: check the number of ipod compatible audio formats in the ipod's data folders...
for video, easy, MP4, in the data folders.
for images, jpg and i think it supports png too... again in the data folders.....
not too complicated, i thinks
Wouldn't work with the touch/iphone though.
I am working on reading the iTunesDB file but currently it does just check the music folder