topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 8:07 pm
  • 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

Author Topic: IDEA: File replacer  (Read 5866 times)

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
    • View Profile
    • Donate to Member
IDEA: File replacer
« on: July 24, 2011, 08:17 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
Why an I Magician62? Because Magician1 thru 61 were gone. :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: File replacer
« Reply #1 on: July 24, 2011, 11:23 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

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
    • View Profile
    • Donate to Member
Re: IDEA: File replacer
« Reply #2 on: July 24, 2011, 11:48 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
Why an I Magician62? Because Magician1 thru 61 were gone. :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: IDEA: File replacer
« Reply #3 on: July 24, 2011, 12:02 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 PM by skwire »

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
    • View Profile
    • Donate to Member
Re: IDEA: File replacer
« Reply #4 on: July 24, 2011, 12:07 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.

Why an I Magician62? Because Magician1 thru 61 were gone. :)

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: IDEA: File replacer
« Reply #5 on: July 24, 2011, 12:37 PM »
Wrong topic. Drats.
« Last Edit: July 24, 2011, 12:42 PM by worstje »