Welcome Guest.   Make a donation to an author on the site December 21, 2014, 03:34:58 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: File replacer  (Read 1774 times)
magician62
Supporting Member
**
Posts: 90


View Profile Give some DonationCredits to this forum member
« on: July 24, 2011, 08:17:30 AM »

The idea came to me whilst using Switcheroo

Using a similar interface

First row is the 'Target'
Second row the 'Replacement'

Concept

Drag Target file to 'Target'
Drag Replacement file to 'Replacement'

On running the Replacement file is renamed to the target and then moved to replace the target (though the sequence may be slightly different to avoid conflicts)

Mouse only operation:-

Advantage two file drag-drop, and run. Total 3 actions (4 if confirm is an option)


Existing option
Use Switcheroo
Two drag-drop, switch, select Replacement, rightclick, delete, confirm. Total 7 actions

Using Windows (7)
Select target file, select filename, rightclick copy filename, select Replacement file, select filename, paste filename, select Replacement, rightclick, copy Replacement file,  select Target location, paste file, allow overwrite, select Replacement file, right click, delete, confirm  Total 16 actions

If there is already something out there...

Many thanks
Logged
skwire
Global Moderator
*****
Posts: 4,183



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: July 24, 2011, 11:23:22 AM »

I've added your request to Switcheroo.  Please give this build a try with some test files/foldersDo not use it on your production files until you're sure it does what you want.  Let me know how it works out for you.  Thanks.

http://skwire.dcmembers.com/apps/switcheroo/Switcheroo_.zip
Logged

magician62
Supporting Member
**
Posts: 90


View Profile Give some DonationCredits to this forum member
« Reply #2 on: July 24, 2011, 11:48:20 AM »

The file replacement appers to work ok. The only issue I can see is that it requires both files on the same drive.

Is this associated with the issue that existed where it was not the file swithed but the content in 1.0.3 build 1?

Ideally a multi drive environment should be supported
Logged
skwire
Global Moderator
*****
Posts: 4,183



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: July 24, 2011, 12:02:35 PM »

The only issue I can see is that it requires both files on the same drive.

Yes, I added this as well.  I do not want to have to handle potentially large file/folder transfers across drives.  To begin with, I really don't like writing apps that mess with users files.  Furthermore, the native Windows API file operation methods are primitive and I've no desire to write my own handlers.

Ideally a multi drive environment should be supported

I wholly disagree when it comes to this.  Switcheroo was intially designed to switch two filenames that existed in the same folder.  This was to save the user having to manually use a temporary filename.  All this extra tacked-on stuff just makes me cringe insofar as accidentally screwing up users' files goes.
« Last Edit: July 24, 2011, 12:37:21 PM by skwire » Logged

magician62
Supporting Member
**
Posts: 90


View Profile Give some DonationCredits to this forum member
« Reply #4 on: July 24, 2011, 12:07:34 PM »

Many thanks for the reply. I can understand the concerns. I can adjust my workflow and probably accomplish the same with the new version of Switcheroo.

Logged
worstje
Honorary Member
**
Posts: 555



The Gent with the White Hat

View Profile Give some DonationCredits to this forum member
« Reply #5 on: July 24, 2011, 12:37:22 PM »

Wrong topic. Drats.
« Last Edit: July 24, 2011, 12:42:31 PM by worstje » Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.028s | Server load: 0 ]