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 Izveidot Context Menu Item ar Kopēt teksta failu starpliktuvi 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. Ja Jums ir veids persona, kas patīk saglabāt daudz informācijas glabājas teksta formāta failus uz jūsu diska, jūs, iespējams, radušās scenāriju, kurā vēlaties kopēt šo informāciju starpliktuvē ... lai atverot failu notepad , atlasiet visu, tad kopēt to starpliktuvē. What if you could do it with a simple context menu item instead? Ko darīt, ja jūs varētu izdarīt ar vienkāršu konteksta izvēlnes vietā?

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. Izmantojot mazliet reģistra Datorurķēšana un clip.exe lietderība iebūvēti Windows 7 un Vista, mēs varam darīt tikai to, un mēs pat var slēpties aiz Shift + peles labo pogu noklikšķiniet uz izvēlnes, lai tas nav atkritumu vietu izvēlnē, ja vien Jūs turiet Shift taustiņu.

Using the Copy to Clipboard Hack Izmantojot Kopēt uz starpliktuvi Hack

Simply hold down the Shift key and right-click on a text file, and you'll see a new item for “Copy to Clipboard”: Vienkārši turiet Shift taustiņu un peles labo pogu noklikšķiniet uz teksta failu, un jūs redzēsiet jaunu postenis "Kopēt uz starpliktuvi"

image

Now you'll have the information on the clipboard for easy pasting into whatever application you'd like: Tagad jums ir informācija par starpliktuvē, lai viegli līmēšana stājas kāds, ko jūs vēlētos:

image

Note: If you are using Windows XP, you can Piezīme: Ja lietojat Windows XP, varat download clip.exe from Microsoft download clip.exe no Microsoft . . Just save the file in the Windows directory and the rest of the hack should work for you. Vienkārši saglabājiet failu Windows direktoriju un pārējo kapāt jāstrādā jums.

Manual Registry Hack (for .txt files) Manual Registry Hack (for. Txt faili)

Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Atvērt regedit.exe caur izvēlni Sākt meklēšanu vai palaist rūtiņu un pēc tam pārlūkojiet uz leju, lai šādu atslēgu:

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. Zem katra faila tipu reģistru (piemēram txtfile), pastāv apvalks taustiņš ar pasākumu sarakstu, saskaņā ar to. We'll create a new key called “copytoclip”, and then a key under it called “command”. Mēs izveidot jaunu atslēgu sauc par "copytoclip" un pēc tam taustiņu, saskaņā ar to sauc par "komandu". 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: Iestatiet noklusēto vērtību "copytoclip", lai kaut ko noderīgu, piemēram, "Copy Contents uz starpliktuvi", un pēc tam iestatiet noklusējuma vērtību "komandu" uz šādu punktu:

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

What we're doing is running a command prompt, and then piping the file into the clip.exe utility. Ko mēs darām ir palaista komanda ātri, un pēc tam cauruļvadi failu clip.exe lietderība. You could do the same thing from the command prompt, or in a script. Jūs varētu darīt pats, no komandrindas vai skriptu.

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. Jūs varētu dublēt šo pašu kniebiens citiem failu tipiem, piemēram, HTML vai kods failus, meklējot viņu ievadiet reģistrācijas un pievienojot tajā pašā menu items.

Downloadable Registry Hack Tops Registry Hack

Simply download, extract, and double-click on CopyContentsToClipboardTXT.reg to the clipboard. Vienkārši lejupielādēt, izrakstam, un veiciet dubultklikšķi uz CopyContentsToClipboardTXT.reg uz starpliktuvi. You can remove the hacks with the RemoveCopyContentsToClipboard.reg file. Jūs varat noņemt hacks ar RemoveCopyContentsToClipboard.reg failu.

Just remember to hold down the shift key while right-clicking on a text file. Tikai atceraties, ka turiet Shift taustiņu peles labo pogu noklikšķinot uz teksta failu.

Download CopyContentsToClipboardTXT Registry Hack Download CopyContentsToClipboardTXT Registry Hack

This article was originally written on 06/17/08 Tagged with: Šis pants tika sākotnēji rakstīts uz 06/17/08 tagged with: Desktop Customization Desktop Customization , , Shortcuts and Hotkeys Īsceļi un hotkeys , , Windows 7 Windows 7 , , Windows 7 Tips Windows 7 Tips , , Windows Vista Windows Vista

Daily Email Updates Daily Email Updates

You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:


Name: Vārds:
Email: E-pasts:

Comments (2) Komentāri (2)

  1. bountygiver bountygiver

    It doesn't hidden! Tā nav slēptā!
    I can even see it without holding the SHIFT key. Es pat varu redzēt to neturot SHIFT taustiņu.

  2. bountygiver bountygiver

    i found the solution! Es atradu risinājumu!

    you hav to download the registry hack to hide it! Jūs hav lejupielādēt reģistra banalizēt to noslēpt!

    or add an empty string value named “Extended” in the “copytoclip” Key vai pievienot tukšas virknes vērtību ar nosaukumu "paplašinātā" in "copytoclip" Key


Leave a Comment Leave Comment




Leave your Atstājiet savu friendly draudzīgs comment here. komentārus šeit.

If you have a computer help question, Ja Jums ir dators palīdzēt jautājumu, click here to leave it on the forums click here to atstāt uz forumu instead. vietā.

Note: Your comment may not show up immediately on the site. Piezīme: Jūsu komentārs var neparādīties pat tieši uz vietas.

Our Friends Our Friends
Getting Started Getting Started


About How-To Geek Par How-To Geek
What Is That Process? Kas ir šis process?
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.