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, 1:47 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

Last post Author Topic: How to duplicate a file in the same folder?  (Read 63597 times)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #50 on: April 23, 2009, 11:13 PM »
the hand is quicker than the I...
...but only sleightly.

I amended the top of the script to included the new window class, but forgot about the hotkeys
-Target
Seems to be going nicely now.

I wonder if this one will work for PhilB66.

@PhilB66
For what are you going to use these duplicated files, if you don't mind me asking? Just being nosey.


Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #51 on: April 24, 2009, 12:44 AM »
...but only sleightly.
-cranioscopical (April 23, 2009, 11:13 PM)

neigh...

CleverCat

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,164
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #52 on: April 24, 2009, 01:58 AM »
Was wondering same thing cranio.... ;)

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #53 on: April 24, 2009, 02:00 AM »
I'm guessing testing porpoises (like, for a file renamer or something...)

CleverCat

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,164
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #54 on: April 24, 2009, 05:02 AM »
Porpoises? Sounds fishy.....

 ;D ;D ;D

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #55 on: April 24, 2009, 09:26 AM »
I'm guessing testing porpoises (like, for a file renamer or something...)
Whale I never, I see you haven't lost your bottle and are still maiming to please!


PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #56 on: April 24, 2009, 10:02 PM »
What OS?  I assume it's Vista

XP Pro SP2


Also, could you add a "Duplicate to" feature (similar to "Copy to" and "Move to" functionality)?

I knew someone was going to ask for this...

I suppose I could, but how would you access this functionality? maybe different hotkeys, eg WIN+SHIFT+V to copy, WIN+CTRL+V to move...


No luck sofar with the Win+V combination... so maybe a different hotkey combination for this functionality (Alt + V works just fine to paste a duplicated file in the source folder).

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #57 on: April 24, 2009, 10:09 PM »
I amended the top of the script to included the new window class, but forgot about the hotkeys
-Target
Seems to be going nicely now.

I wonder if this one will work for PhilB66.
-cranioscopical (April 23, 2009, 11:13 PM)

Yep, it does (except for the Win + V hotkey)

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #58 on: April 24, 2009, 10:34 PM »
I'm guessing testing porpoises (like, for a file renamer or something...)

Do you see two porpoises?

Porpoise.jpg

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #59 on: April 24, 2009, 10:51 PM »
Do you see two porpoises?

Looks like trailer for a beef feature to me!
You could probably write a dis-cetatean on that.

CleverCat

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,164
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #60 on: April 25, 2009, 03:01 AM »
Related to the Sea Cow?  :D

Dugong to a lot of trouble to create that pic!
« Last Edit: April 25, 2009, 03:04 AM by CleverCat »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #61 on: April 25, 2009, 04:37 AM »
you guys started without me...

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #62 on: April 25, 2009, 06:55 AM »
you guys started without me...
If only we could finish in the same manner... that would be best for huge manatee!

CleverCat

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,164
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #63 on: April 25, 2009, 07:16 AM »
 ;D ;D

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #64 on: April 25, 2009, 11:28 AM »
exe corrupted, my Vista Explorer said!

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #65 on: April 25, 2009, 11:37 AM »
exe corrupted, my Vista Explorer said!

I just downloaded the exe when I saw your post, Curt.
Works fine here.
Might your first try have been corrupted in transit, somehow?
Perhaps you'll be luckier if you delete the one that doesn't work and then try again.

MerleOne

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 957
  • 4D thinking
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #66 on: April 26, 2009, 05:35 AM »
XYplorer does that : select a file, press Ctrl-S, give a new name to the file, et voilĂ  !  XYplorer needed though.
.merle1.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #67 on: April 26, 2009, 06:04 PM »
Yep, it does (except for the Win + V hotkey)

well now, this is just getting silly so I'll ask a silly question - are we correct in assuming you've copied a file (or files) first (CTRL+C)?

feed for the output comes from the clipboard so if you haven't copied anything then you won't get anything

If you are then we'll try another hotkey - open the AHK script in an editor and amend the line (should be around line 83) that reads

  • $#V::

to something like

  • $^!V:: ;(CTRL+ALT+V)

if that doesn't work, let me know

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #68 on: April 26, 2009, 06:06 PM »
If only we could finish in the same manner...
-cranioscopical (April 25, 2009, 06:55 AM)

if only I had a dollar for every time someones said that to me

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #69 on: April 26, 2009, 06:32 PM »
feed for the output comes from the clipboard

if only I had a dollar for every time someones said that to me
Ah!  Taken together those explain the mysterious appearance of
If only we could finish in the same manner_2009-04-26_1.txt
through
If only we could finish in the same manner_2009-04-26_999.txt

I wondered what the buck was happening.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #70 on: April 26, 2009, 06:47 PM »
even though it makes perfect cents to me I note that as usual you've been free with your poetic license

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #71 on: April 26, 2009, 08:28 PM »
even though it makes perfect cents to me I note that as usual you've been free with your poetic license
If anyone could get a charge from my nobility it'd be you.
No one cents that where you are?

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #72 on: April 26, 2009, 09:24 PM »
more than enough cents than to try and up the ante with you on this one (I'll only end up short changed)

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #73 on: April 26, 2009, 10:19 PM »
newspaper.jpg
« Last Edit: April 26, 2009, 10:21 PM by PhilB66 »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: How to duplicate a file in the same folder?
« Reply #74 on: April 26, 2009, 10:47 PM »
@PhilB66:
Nice job with the news splash, PhilB66!  :Thmbsup: :Thmbsup:

As you know, I looked at the Winkey code and didn't notice the '+'  :-[

more than enough cents than to try and up the ante with you on this one (I'll only end up short changed)

If you're not whale heeled we can play for lower steaks, those for tuna lately won't cost as much.