Create a Context Menu Item to Copy a Text File To the Clipboard in Windows 7 / Vista / XP Sukurti kontekstinio meniu punktą Copy tekstinio failo į Windows 7 Mainų / 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. Jei esate asmens tipas, kuris mėgsta laikyti informacija saugoma daug teksto formato failus į diską, jūs tikriausiai susidūrė su scenarijumi, jei norite nukopijuoti šią informaciją į Mainų ... taip atidarote failą Notepad , pažymėkite visus, tada nukopijuoti į mainų sritį. What if you could do it with a simple context menu item instead? Ką daryti, jei galima tai padaryti su paprasta kontekstinio meniu punktą vietoj?
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. Naudojant mažai registro įsilaužimo ir clip.exe naudingumo integruotas į Windows 7 "ir" Vista ", mes galime daryti tik tai, kad ir mes galime jį paslėpti už Shift paspaudus dešiniu pelės mygtuku, kad tai bus ne atliekų vieta ant meniu jeigu laikysite nuspaudę Shift klavišą.
Using the Copy to Clipboard Hack Naudojant Kopijuoti į mainų sritį 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”: Tiesiog laikykite nuspaudę Shift klavišą ir dešiniu pelės klavišu spustelėkite Tekstinis failas, ir pamatysite naują punktą dėl "Kopijuoti į mainų sritį":

Now you'll have the information on the clipboard for easy pasting into whatever application you'd like: Dabar jūs turėsite dėl lengvai įterpti į bet paraiška norite Mainų informacija:

Note: If you are using Windows XP, you can Pastaba: Jei naudojate Windows XP, galite download clip.exe from Microsoft atsisiųsti clip.exe iš Microsoft . . Just save the file in the Windows directory and the rest of the hack should work for you. Paprasčiausiai įrašykite "Windows kataloge ir Hack turi dirbti Jums poilsio.
Manual Registry Hack (for .txt files) Rankinis kanceliarija Hack (už. Txt)
Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Atverti Regedit.exe per start menu ar paleisti lauke, tada eikite žemyn raktas:
HKEY_CLASSES_ROOT\txtfile\shell HKEY_CLASSES_ROOT \ txtfile \ shell

Underneath each file type in the registry (for instance txtfile), there is a shell key with a list of actions under it. Po kiekvieno failo tipą į registrą (pvz. txtfile), tai yra korpuso pagrindinių su veiksmų sąrašą pagal jį. We'll create a new key called “copytoclip”, and then a key under it called “command”. Mes sukursime naują raktą vadinamas "copytoclip", tada raktas pagal jį vadinama "komanda". 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: Nustatyti numatytąją vertę "copytoclip" į kažką naudingo, kaip "Kopijuoti į mainų sritį Turinys", tada nustatyti tokią numatytąją vertę "komanda" šiais atvejais:
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. Ką mes darome veikia komandinėje eilutėje, o tada vamzdynų failą į clip.exe naudingumas. You could do the same thing from the command prompt, or in a script. Tai galite padaryti tą patį dalyką iš komandinės eilutės, arba scenarijus.
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. Galima du kartus tą pačią įgnybti kitų failų tipų, tokių kaip HTML arba kodo failus, ieškant jų registro raktą ir pridedant pačiu meniu.
Downloadable Registry Hack Parsisiųsti kanceliarija Hack
Simply download, extract, and double-click on CopyContentsToClipboardTXT.reg to the clipboard. Tiesiog atsisiųskite, ekstraktas, ir dukart spustelėkite CopyContentsToClipboardTXT.reg į mainų sritį. You can remove the hacks with the RemoveCopyContentsToClipboard.reg file. Galite pašalinti hacks su RemoveCopyContentsToClipboard.reg failas.
Just remember to hold down the shift key while right-clicking on a text file. Tiesiog neužmirškite, kad laikydami nuspaudę klavišą SHIFT paspaudę dešiniu pelės mygtuku ant teksto failą.

Daily Email Updates Dienos paštas Atnaujinimai
You can get our how-to articles in your inbox each day for free. Galite gauti mūsų kaip prie straipsnių į Jūsų pašto dėžutę kasdien nemokamai. Just enter your name and email below: Tiesiog įveskite vardą ir elektroninio pašto adresą žemiau:



It doesn't hidden! Ji nėra paslėpta!
I can even see it without holding the SHIFT key. Galiu net matyti nerengiant klavišą SHIFT.
i found the solution! Radau sprendimą!
you hav to download the registry hack to hide it! Jūs HAV Norėdami parsisiųsti registro Hack paslėpti jį!
or add an empty string value named “Extended” in the “copytoclip” Key ar pridėti tuščią eilutę reikšmė pavadintą "suteikta" į "copytoclip" Key