Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 05, 2016, 08:32:47 AM
  • Proudly celebrating 10 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: how to copy the selected file into the clipboard (like explorer do)  (Read 3006 times)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Hi all,

i'd like to be able to copy the selected file in the result list to the clipboard the way explorer do...
that means that i could later copy the file in any explorer...

i found a utility called ezclip but it does not work all the time... (well for me it works 1 out of 10 :tellme:)
http://blogs.msdn.co.../articles/86378.aspx

do you know any command line utility to do that ?
is it doable with autohotkey or vbs ?

@mouser, i think this also could be a feature request... could be a nice addition

Nitrix

[edit]
ps: the way i can do it now, it by selecting the shell context menu (by right clicking the item)
THAT is when mouser's too clever +action modifier does not come in the way  :D (please fix please fix)
« Last Edit: August 14, 2007, 12:20:16 PM by nitrix-ud »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #1 on: August 14, 2007, 12:28:08 PM »
i'm confused..

you can select a result item in FARR and hit ctrl+c to copy it's path to clipboard. is that what you are asking about?


nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #2 on: August 14, 2007, 12:36:40 PM »
nope this is not what i'm asking :(

when you ctrl+c in explorer or in any explorer
if you ctrl+v, it will paste the files you selected

if in FARR i select and hit ctrl+c
i cannot paste the file anywhere

to be able to copy the file, i have to open the shell context menu...then select copy

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #3 on: August 14, 2007, 12:40:00 PM »
the only lead i found is in visual basic

Quote
The code below allows you to copy file(s) to the clipboard. Simply call the ClipboardCopyFiles procedure with an array of file paths.
see the url for the code
http://www.developer...sion.co.uk/show/224/

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #4 on: August 14, 2007, 12:59:57 PM »
ok i could add that, maybe with like ctrl+shift+C

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #5 on: August 14, 2007, 01:02:25 PM »
ok i could add that, maybe with like ctrl+shift+C
Good idea!  :)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #6 on: August 14, 2007, 01:25:03 PM »
yes and in the context menu ?  :D

and as a command : \COPYFILE  ???

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 516
    • View Profile
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #7 on: August 14, 2007, 05:01:54 PM »
that would be pretty much like the copyclip command

Quote
copyclip STRING_TO_COPY - copies text into clipboard


feel free to copy and paste to the help file  :D
Quote
copyfile FILE_TO_COPY - copies file into clipboard

Cheers, Nitrix


[edit]
very handy to paste a word template in a folder for example... or any file you use a lot
1) invoke FARR
2) choose template (from an alias)
3) in explorer/directoryopus/... paste the template
« Last Edit: August 14, 2007, 05:04:25 PM by nitrix-ud »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: how to copy the selected file into the clipboard (like explorer do)
« Reply #8 on: August 14, 2007, 07:16:06 PM »
nitrix-ud, IIRC you can also drag the files shown in Farr's result window into another location.. btw, if you want to use the context-menu to move/copy files around, this software would come in handy..

Send To Toys

Quote from: website
What's New in version 2.5 (2/10/2007)

• Added Send To "Default Mail Recipient"
• Added Start Menu shortcut to configure Send To Toys
• Send To "Folder...": Added create shortcuts mode, and added option to clear the recent folders history directly from the menu
• Send To "Clipboard (as name)": Added options to sort the list of files, and to use the short file names
• Send To "Recycle Bin": Added progress dialog during shredding of large files
• Send To "Run...": Fixed bug with OK button not being enabled when the history is empty
• Send To "Favorites": Fixed bug that would not show the "Add Favorite" dialog when adding more than one file
• Full Unicode support
• Fixed minor bugs