topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:45 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: IDEA: Move all images off removable drive when inserted  (Read 17981 times)

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
I am the family tech and always end up having to pull pictures from flash cards and the like - would it be possible to check a specific drive/range of drives for removable media and then move all the JPG/PNG/TIFF/etc (image format) files from the card and to a new location (set in an INI file or similar, so no user interaction is needed once the program is launched).

An ideal scenario would go something like this (for non-always-on):
  • User inserts card into drive F
  • User runs MoveMyPics.exe
  • Pictures from F go to C:\MyPics (from MoveMyPics.ini)
  • User is notified that images have been moved (or not, INI option?)
  • MoveMyPics closes
  • User removes card

-OR-

Scenario (for always-on):
  • MoveMyPics.exe is launched @ startup
  • User inserts card into drive G
  • MMP "sees" the drive
  • Pictures from G to go C:\MyPics
  • User is/not notified that images have been moved
  • User removes card

Possible? I just need something so I can shove the card in, run the app (or have it running), wait for the images to be moved, and pull the card out - as fast and silent as possible.

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Auto Insert Notification
« Reply #1 on: July 02, 2009, 04:20 PM »
I'd like the same, but it should also auto-mount a TrueCrypt container file on the device. That either requires it to auto-type the password for TrueCrypt or to use the cached password (possible?).

« Last Edit: July 02, 2009, 04:22 PM by tmpusr »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #2 on: July 02, 2009, 05:59 PM »
more choices than you can poke a stick at

PicPark1 is intended to be run at startup - it scans for removable drives on a 2 second loop, and when one is found, scans for eligible image files and moves them to the destination folder (stored in the ini file).

PicPark2 is intended to be run once - insert your card/key/whatever and run the script.  It will scan for eligible image files and move them to the destination folder (stored in the ini file).

PicPark3 is intended to be run from the device itself.  User will be prompted for a destination directory (no ini file for this one).  Could be autorun on cards insertion

for 1 + 2 users will be prompted for the destination folder on the first run to create the ini file.  Any subsequent changes will need to be done by hand

if you want the opportunity to view the images before moving or copying you might look at this thread - https://www.donationcoder.com/forum/index.php?topic=15218.0
« Last Edit: July 03, 2009, 12:22 AM by Target »

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #3 on: July 02, 2009, 07:09 PM »
Didn't even think about a version to sit on the card itself - I coupled that with an autorun.inf file and its on both camera cards, and it works perfectly for me. :-* :Thmbsup:

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #4 on: July 02, 2009, 07:22 PM »
I coupled that with an autorun.inf file and its on both camera cards
-wreckedcarzz (July 02, 2009, 07:09 PM)

watch out, cos there's currently no way of exiting the script if you don't want to run it.

to 'fix' this add the lines

if errorlevel
    exitapp

immediately after the fileselectfolder line (script will quit if the users cancels the dialog box) 

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #5 on: July 02, 2009, 07:23 PM »
more choices than you can poke a stick at

PicPark1 is intended to be run at startup
PicPark1 is intended to be run once - insert your card/key/whatever and run the script.
PicPark3 is intended to be run from the device itself.

Nice job!
May I introduce you to the number 2?

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #6 on: July 02, 2009, 07:57 PM »
May I introduce you to the number 2?
-cranioscopical (July 02, 2009, 07:23 PM)

you're right, that does look odd....

(think about it...)

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #7 on: July 02, 2009, 08:43 PM »
Ok, is everyone now even?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #8 on: July 02, 2009, 08:44 PM »
or is the matter squared? 

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #9 on: July 02, 2009, 09:06 PM »
or is the matter squared? 
not you two!

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #10 on: July 02, 2009, 09:43 PM »
to get back to the root of the problem, I blame cut and paste (what a pair!!)

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #11 on: July 02, 2009, 10:12 PM »
yep, cut and paste is hardly do-uble...

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #12 on: July 02, 2009, 10:30 PM »
this is just getting exponentially worse

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #13 on: July 02, 2009, 10:56 PM »
I second that completely.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #14 on: July 02, 2009, 11:31 PM »
ordinally II'd let that go, but you've pushed it too farr

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #15 on: July 02, 2009, 11:45 PM »
Ok, ok, I'll let you win and be the runner-up...

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #16 on: July 02, 2009, 11:54 PM »
So, that was a set point?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #17 on: July 02, 2009, 11:57 PM »
Actually, I shouldn't give up that easily, I ain't a deuce-bag....

(think about that one)
« Last Edit: July 02, 2009, 11:59 PM by Shades »

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #18 on: July 03, 2009, 12:02 AM »
Ah, mistakes...who doesn't make a couple...

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #19 on: July 03, 2009, 12:03 AM »
actually i think it's a floating point

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #20 on: July 03, 2009, 12:19 AM »
Actually, I shouldn't give up that easily, I ain't a deuce-bag....

(think about that one)

A match for a two ball bitch?

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #21 on: July 03, 2009, 12:20 AM »
now it's becoming a sore point (too sore!!)

but bring it on, I'm primed

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #22 on: July 03, 2009, 01:50 AM »
Hmmm, this is starting to look sound like a duet...
« Last Edit: July 03, 2009, 01:53 AM by Shades »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #23 on: July 03, 2009, 02:03 AM »
I'd love to stick around and hash this out, but I've only got lO minutes to catch my bus

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: IDEA: Move all images off removable drive when inserted
« Reply #24 on: July 03, 2009, 02:06 AM »
depending on where you are coming from, to me it looks more of a duel