Prenumerera till Hur-Till Geek

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.

Skapa ett sammanhangmenyobjekt för att kopiera en text sparar till clipboarden i Windows 7/utsikten/XP

Om du är typen av personen som gillar till uppehället en information om radda som in lagras, text-formatera sparar på ditt drev, dig har antagligen mött ett scenario var du önskar att kopiera, att information till clipboarden… dig öppnar så spara i anteckningsbok, väljer alla, kopierar därefter till clipboarden. Vad, om du kunde göra den med ett enkelt sammanhangmenyobjekt i stället?

Genom att använda lite en registreringsdataintrång och det nytto- för clip.exe som byggs in i Windows 7 och utsikt, kan vi göra precis det, och vi kan även dölja den bak förskjutningen + Rätt-Klickar menyn, så att den ska inte förloradt utrymme på menyn, om inte du hållen besegrar den nyckel- förskjutningen.

Använda kopiera till Clipboardhackan

Rym enkelt besegrar den nyckel- förskjutningen och rätt-klickar på en text sparar, och du ska ser ett nytt objekt för ”kopiera till clipboarden”:

avbilda

Nu ska du har informationen på clipboarden för lätt klistra in i, allt vad applikation du skulle något liknande:

avbilda

Notera: Om du använder Windows XP, kan du nedladdning clip.exe från Microsoft. Den rättvisa räddningen spara i det Windows arkivet och vila av hackan bör fungera för dig.

Manuell registreringshacka (för .txt sparar),

Öppna upp regedit.exe till och med startmenysökandet, eller körningen boxas och bläddrar därefter besegrar till efter nyckel-:

HKEY_CLASSES_ROOT \ txtfile \ beskjuter

avbilda

Under varje filtyp i registreringen (för anföra som exempel txtfile), finns det en beskjuta som är nyckel- med en lista av handlingar under den. Vi ska skapar ett nytt stämm kallad ”copytoclip”, och därefter ett nyckel- under kallade det ”befaller”. 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:

cmd /c clip < “%1″

What we’re doing is running a command prompt, and then piping the file into the clip.exe utility. You could do the same thing from the command prompt, or in a script.

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.

Downloadable Registry Hack

Simply download, extract, and double-click on CopyContentsToClipboardTXT.reg to the clipboard. You can remove the hacks with the RemoveCopyContentsToClipboard.reg file.

Just remember to hold down the shift key while right-clicking on a text file.

Download CopyContentsToClipboardTXT Registry Hack

| More
This article was originally written on 06/17/08 Tagged with: Desktop Customization, Shortcuts and Hotkeys, Windows 7, Windows 7 Tips, Windows Vista

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (2)

  1. bountygiver

    It doesn’t hidden!
    I can even see it without holding the SHIFT key.

  2. bountygiver

    i found the solution!

    you hav to download the registry hack to hide it!

    or add an empty string value named “Extended” in the “copytoclip” Key


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

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