This script can import your pictures from your digital camera or from your memory card reader.
The script: (CopyPhotos.zip)
download the zip and install all the files in the same directory.
This application is built for the French team, and uses default repertories from the French team: C:\Program Files\XlobbyFr\applications\CopyPhotos\
If you use an other directory, edit “CopyPhotos.vbs” (with right click and “modify”) and then, change these lines:
- Code: Select all
WavExeTool = "C:\Program Files\Xlobbyfr\Applications\CopyPhotos\PlayWav.exe"
WavAudioFile = "C:\Program Files\Xlobbyfr\Applications\CopyPhotos\Sound.wav"
make sure to specify your repertory.
To use it:
Use command lines to launch the import:
With Xlobby, create a button and assign it to an event os/execute file.
File: Root to CopyPhotos.vbs
Ex:
- Code: Select all
C:\Program Files\XlobbyFr\applications\CopyPhotos\CopyPhotos.vbs
Argument : " repertory source" " repertory of destination"
Ex:
- Code: Select all
"L:\DCIM" "C:\Program Files\Xlobbyfr\Images Photos\"
Copy from disk C: (my CompactFlash Reader, from sub folder \Dcim) to my local disk photo folder C:\Program Files\Xlobbyfr\Images Photos\
It will create a sub folder named with date of the import, if you don’t want this sub folder, edit “CopyPhotos.vbs” (with right click and “modify”) and then, delete these lines
- Code: Select all
' This section could be removed (from here)
MyDate = Date
MyfolderDate = DatePart("yyyy",MyDate)
If DatePart("m",MyDate) < 10 then
MyfolderDate = MyfolderDate & "0" & DatePart("m",MyDate)
Else
MyfolderDate = MyfolderDate & DatePart("m",MyDate)
End If
If DatePart("d",MyDate) < 10 then
MyfolderDate = MyfolderDate & "0" & DatePart("d",MyDate)
Else
MyfolderDate = MyfolderDate & DatePart("d",MyDate)
End If
CopyTo = CopyTo & MyFolderDate & "\"
' (to here)
enjoy