Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Create a Context Menu Item to Copy a Text File To the Clipboard in Windows 7 / Vista / XP Ustvarite Context Menu Item to Kopiraj besedilno datoteko v odložišče Windows 7 / Vista / XP

If you are the type of person that likes to keep a lot of information stored in text-format files on your drive, you've probably encountered a scenario where you want to copy that information to the clipboard… so you open the file in notepad, select all, then copy to the clipboard. Če ste tip osebe, ki ima rad da bo veliko podatkov, shranjenih v obliki besedilne datoteke na pogonu, ste verjetno naleteli scenarij, kamor želite kopirati te informacije v odložišče ... tako da odprete datoteko v beležnici , izberite vse, nato kopirajte v odložišče. What if you could do it with a simple context menu item instead? Kaj, če bi lahko to storite s preprostim meni okviru postavke namesto tega?

Using a little registry hacking and the clip.exe utility built into Windows 7 and Vista, we can do just that, and we can even hide it behind the Shift + Right-Click menu so that it won't waste space on the menu unless you hold down the shift key. Z malo taksist registra in clip.exe uporabnost vgrajen v Windows 7 in Vista, lahko naredimo samo, da, in lahko smo celo skriti v ozadju Shift + desno Kliknite meni, tako da se ne bo odpadek prostora na meniju, če držite tipko SHIFT.

Using the Copy to Clipboard Hack Uporaba Kopiraj kramp

Simply hold down the Shift key and right-click on a text file, and you'll see a new item for “Copy to Clipboard”: Preprosto držite tipko Shift in desno-kliknite na tekst pila, pa boste videli novo postavko za "Kopiraj":

image

Now you'll have the information on the clipboard for easy pasting into whatever application you'd like: Sedaj boste imeli informacije o odložišče za enostavno prilepiti v kateri koli aplikacijo, ki jo želite:

image

Note: If you are using Windows XP, you can Opomba: Če uporabljate operacijski sistem Windows XP, lahko download clip.exe from Microsoft download clip.exe s mikroskop . . Just save the file in the Windows directory and the rest of the hack should work for you. Samo shranite datoteko v mapo Windows in ostali kramp naj delajo za vas.

Manual Registry Hack (for .txt files) Ročno Registry Hack (za. Txt files)

Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Odprite regedit.exe skozi iskanje začetek jedilnik ali polje teči in poiščite do naslednjih ključnih:

HKEY_CLASSES_ROOT\txtfile\shell HKEY_CLASSES_ROOT \ txtfile \ shell

image

Underneath each file type in the registry (for instance txtfile), there is a shell key with a list of actions under it. Pod vsako vrsto datoteke v registru (na primer txtfile), je ključ z lupino seznam ukrepov v skladu z njo. We'll create a new key called “copytoclip”, and then a key under it called “command”. Ustvarili bomo nov ključ imenovan "copytoclip", in nato pod ključ se imenuje "zapoved". Set the default value of “copytoclip” to something useful like “Copy Contents to Clipboard”, and then set the default value of “command” to the following: Nastavljanje privzete vrednosti "copytoclip" za kaj koristnega kot "Vsebina Kopiraj v odložišče", in nato nastavite privzeto vrednost "ukaz" za naslednje:

cmd /c clip < “%1″ cmd / c posnetek < "% 1"

What we're doing is running a command prompt, and then piping the file into the clip.exe utility. Kaj delamo, je tekmovanje v teku zapoved uren, ter torej cevi datoteke v clip.exe korist. You could do the same thing from the command prompt, or in a script. Ti bi lahko storila isto stvar od zapoved uren ali v pisavi.

You could duplicate this same tweak for other file types, such as html or code files, by finding their key in the registry and adding the same menu items. Lahko bi podvojene ta isti poteg za druge vrste datotek, kot so html datoteke ali kodo, z iskanjem njihove ključne v register in dodal iste elemente menija.

Downloadable Registry Hack Cool Registry Hack

Simply download, extract, and double-click on CopyContentsToClipboardTXT.reg to the clipboard. Preprosto download, citat, in dvokliknite na CopyContentsToClipboardTXT.reg v odložišče. You can remove the hacks with the RemoveCopyContentsToClipboard.reg file. Odstranite lahko žaga z datoteko RemoveCopyContentsToClipboard.reg.

Just remember to hold down the shift key while right-clicking on a text file. Samo zapomni si, da držite tipko SHIFT, medtem ko desnim klikom na besedilno datoteko.

Download CopyContentsToClipboardTXT Registry Hack Download CopyContentsToClipboardTXT Registry Hack

This article was originally written on 06/17/08 Tagged with: Ta članek je bil prvotno napisan na 06/17/08 Tagged with: Desktop Customization Desktop Customization , , Shortcuts and Hotkeys Bližnjice in Hotkeys , , Windows 7 Windows 7 , , Windows 7 Tips Windows 7 Nasveti , , Windows Vista Windows Vista

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (2) Komentarji (2)

  1. bountygiver bountygiver

    It doesn't hidden! Ne skriva!
    I can even see it without holding the SHIFT key. Lahko celo vidiš, da nimajo tipko SHIFT.

  2. bountygiver bountygiver

    i found the solution! sem našel rešitev!

    you hav to download the registry hack to hide it! hav si naložite registracija kramp v skriti!

    or add an empty string value named “Extended” in the “copytoclip” Key ali dodate prazen niz imenom vrednost "razširjeno" v "copytoclip" Ključni


Leave a Comment Pustite komentar




Leave your Pustite friendly prijazen comment here. comment here.

If you have a computer help question, Če imate računalnik pomagati vprašanje, click here to leave it on the forums kliknite tukaj, da ga pustijo na forumih instead. namesto.

Note: Your comment may not show up immediately on the site. Opomba: Tvoj komentar morda ne pokažejo takoj na mestu.

Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe Ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.