I install the trial version too, but am still hanging on the dip() line. Sorry, just can't figure out what is wrong. Maybe someone else can try it on a Windows XP box.
You know you don't need the dip line if you know what the name is of the device that you want to use?
At line 74 of the script -
If NumSources=1 Then 'one twain device present, so use that one
Imaging.TwainOpenSource(SourceNames(1))
above that msgbox numsources - that will tell you the number of things in your system it can use
add something like
for i=1 to numsources
msgbox i
next
That will give you the names of the devices it can use in order from 1 to however many sources you have
Then go back and change it to
if numsources=whatever number total sources it found then
Imaging.TwainOpenSource(SourceNames(number of the source you want to use))
And then you bypass the entire dip menu selection box....
Ok, that worked. It showed I had two devices. If I put device 1 in the SourceNames, it opened the Logitech software for the camera, and if I put 2 in the SourceNames, it opened the Windows dialog for image capture. Both worked, bypassing the dip(). But if I hit F6 for the menu, it would crash on the dip() line again.
Now you just need it to automaically email yogi with the image to post on his pinball people gallery.
Edited by rascal, 10 January 2012 - 10:18 AM.