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 Vytvoriť context menu item Kopírovanie textového súboru do schránky 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. Ak ste typ človeka, ktorý rád udržiavať veľa informácií uložených v textovom formáte-súbory na disku, pravdepodobne ste narazili na situáciu, do ktorej chcete skopírovať, že informácie do schránky ... takže si otvoriť súbor v notepadu , vyberte všetky, skopírujte do schránky. What if you could do it with a simple context menu item instead? Čo ak to dokážeš s jednoduchým položku kontextového menu miesto?

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. Použitie trochu registra hackerov a clip.exe nástroj postavený na Windows 7 a Vista, môžeme robiť len to, a môžeme dokonca schovať za Shift + Right-Click menu tak, že nebude odpad miesto v ponuke, ak podržíte kláves Shift.

Using the Copy to Clipboard Hack Použitie Kopírovať do schránky 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”: Podržte stlačený kláves Shift a pravým-kliknite na textový súbor, a uvidíte novú položku "Kopírovať do schránky":

image

Now you'll have the information on the clipboard for easy pasting into whatever application you'd like: Teraz budete mať informácie o schránky pre jednoduché vkladanie do akejkoľvek aplikácie, ktorú chcete:

image

Note: If you are using Windows XP, you can Poznámka: Ak používate systém Windows XP, môžete download clip.exe from Microsoft download clip.exe od spoločnosti Microsoft . . Just save the file in the Windows directory and the rest of the hack should work for you. Len uložiť súbor v adresári Windows a zvyšok by mal fungovať hack pre vás.

Manual Registry Hack (for .txt files) Manuál Registry Hack (pro. Txt)

Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Otvoriť cez regedit.exe hľadanie Štart menu alebo spustiť poľa a prejdite nadol do nasledujúceho kľúča:

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 každým typu súboru v registri (napríklad txtfile), je shell kľúč zoznam akcií pod ním. We'll create a new key called “copytoclip”, and then a key under it called “command”. Budeme-li vytvoriť nový kľúč s názvom "copytoclip", a potom pod ním tlačidlo s názvom "command". 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: Nastaví predvolenú hodnotu "copytoclip" na niečo užitočného, ako je "Kopírovať obsah do schránky", a potom nastaviť predvolenú hodnotu "príkaz" nasledujúce:

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

What we're doing is running a command prompt, and then piping the file into the clip.exe utility. To, čo robíme, je spustený príkazový riadok, a potom potrubia súbor do clip.exe utility. You could do the same thing from the command prompt, or in a script. Dalo by sa to isté z príkazového riadku alebo v skripte.

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. Dalo by sa to duplikovať rovnaké vyladiť pre iné typy súborov, ako je HTML kódu alebo súbory, ktoré zisťujú, že ich kľúč v registri a pridať rovnaké položky v menu.

Downloadable Registry Hack Stiahnuť Registry Hack

Simply download, extract, and double-click on CopyContentsToClipboardTXT.reg to the clipboard. Prosto zavádzanie, citát a double-kliknite na CopyContentsToClipboardTXT.reg do schránky. You can remove the hacks with the RemoveCopyContentsToClipboard.reg file. Môžete odstrániť hacky so súborom RemoveCopyContentsToClipboard.reg.

Just remember to hold down the shift key while right-clicking on a text file. Len nezabudnite podržte kláves Shift a zároveň pravým-kliknutím na textový súbor.

Download CopyContentsToClipboardTXT Registry Hack Stiahnuť CopyContentsToClipboardTXT Registry Hack

This article was originally written on 06/17/08 Tagged with: Tento článok bol pôvodne napísaný na 06/17/08 Tagged s: Desktop Customization Desktop Kustomizace , , Shortcuts and Hotkeys Skratky a klávesy , , Windows 7 Windows 7 , , Windows 7 Tips Windows 7 Tipy , , Windows Vista Windows Vista

Daily Email Updates Denný Svářeč

You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:


Name: Meno:
Email: E-mail:

Comments (2) Komentáre (2)

  1. bountygiver bountygiver

    It doesn't hidden! To nie je skrytá!
    I can even see it without holding the SHIFT key. Môžem dokonca vidieť, že bez držania klávesy SHIFT.

  2. bountygiver bountygiver

    i found the solution! I found the solution!

    you hav to download the registry hack to hide it! , Ktoré nazbieral stiahnuť protokol zaseknúť aby s ňou!

    or add an empty string value named “Extended” in the “copytoclip” Key alebo pridať prázdny reťazec s názvom hodnota "Rozšírené" v "copytoclip" Key


Leave a Comment Zanechať komentár




Leave your Zanechajte svoj friendly priateľský comment here. komentár tu.

If you have a computer help question, Ak máte počítač pomôže otázku, click here to leave it on the forums kliknite tu nechať to na fórach instead. miesto.

Note: Your comment may not show up immediately on the site. Poznámka: Váš komentár sa nezobrazia okamžite na mieste.

Our Friends Naši priatelia
Getting Started Začíname


About How-To Geek O tom, ako-To Geek
What Is That Process? Čo je to za 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.