Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Select all - Add to Context Menu in Windows 7

18 Apr 2013   #20
mrsureshisha

win 7 Ultimate sp1 32bit.
 
 

Thanks a lot....


My System SpecsSystem Spec
18 Apr 2013   #21
Brink
Microsoft MVP

64-bit Windows 10
 
 

You're welcome mrsureshisha, and welcome to Seven Forums.
My System SpecsSystem Spec
19 Jun 2013   #22
bamajon1974

Vista
 
 

I would like to know how to add the select cascading menu with select all, invert select, and select none features from Windows 8 into the Windows 7 shell for right clicking on the desktop, in a folder, directory and libraries.

Select - Add or Remove from Context Menu in Windows 8

I am not a coder or anything but I would like to know what the analogous shell command lines for invert select and select none would be, as windows.select would be used for select all.

Are the icons used for select all, invert select, and select none in the windows 7 at all?

Also, would it be possible to create a fourth option, wildcard select, where a small command line pops up that you could select by file type? That would be very useful.
My System SpecsSystem Spec
19 Jun 2013   #23
Brink
Microsoft MVP

64-bit Windows 10
 
 

Hello Bamajon,

Like you, I'm not sure how. I've already tried adding all the registry entries from Windows 8 to Windows 7, but the new "invert selection" and "select none" options from Windows 8 just will not work in Windows 7.
My System SpecsSystem Spec
.


19 Jun 2013   #24
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Invert Selection is available in Explorer in the Edit menu. Can it be transmogrified to the right click context?
My System SpecsSystem Spec
19 Jun 2013   #25
Brink
Microsoft MVP

64-bit Windows 10
 
 

I'll have to do some more playing and testing, but so far I haven't had much luck with it in Windows 7.
My System SpecsSystem Spec
19 Jun 2013   #26
bamajon1974

Vista
 
 

The keyboard command for invert selection is Alt + E + I. Is there a way to make a shell command in the registry based on these keystrokes?

Crashcourse software (http://www.crashcoursesoftware.com/download/index.htm) has dll files for select all and invert selection that might be useful but they are very old and probably not compatible with x64 windows. Perhaps they might be helpful.

And here is a link to an old code for wildcard select Windows Explorer wildcard selection shell extension - CodeProject

Will this information be helpful?
My System SpecsSystem Spec
21 Jun 2013   #27
bamajon1974

Vista
 
 

Ok I believe I found a solution but need a little help to finish it off.

So basically I need to know what the keyboard shortcuts for Invert Selection and Select None are and how would you correctly code them in a vbscript file.

I figured out how to add a "Select" parent menu with Select All, Invert Select, and Select None operations based on right click menu based on cascading context menu tutorials from AskVG.

Add Cascading Menus for Your Favorite Programs in Windows 7 Desktop and My Computer Context Menus - Tweaking with Vishal

In registry editor, I added a "Select" menu in

[HKEY_CLASSES_ROOT\*\shell\]
[HKEY_CLASSES_ROOT\Folder\shell\]
[HKEY_CLASSES_ROOT\Directory\Background\shell\]
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\]

For example, in

[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\]

I added a new key called Menu.
I added MUIVerb string called "Select"
I added Subcommands called "Windows.selectall;SelectInvert;SelectNone
I also added Icon and Position strings but left them blank.

I did the same thing for *, folder, and library, in addition to desktop background.

Then I went to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\Shell

Windows.selectall functionality is already there and the operation works as is. Invert select and select none is not. So i have to add it some way.

So I found this tutorial to add selectall and invert selection on door2windows using vbscripts based on keyboard shortcuts.

How To Select All Files In A Folder Using Context Menu | door2windows

Select all is control + a
Invert select is Alt + E + I
Select none is ???? -- I don't know here, I have seen Shift + A but I don't think it works. Can someone help?

Write a vbscript for invert selection:

set oShell = WScript.CreateObject("WScript.Shell")
oShell.SendKeys "%ei"

Open notepad, save the script as "InvertSelect.vbs" in windows directory.

Write a vbscript for select none:

set oShell = WScript.CreateObject("WScript.Shell")
oShell.SendKeys "+a"

Open notepad, save the script as "SelectNone.vbs" in windows directory.

In ....\CommandStore\Shell, I made "selectinvert" key and "selectnone" key

For selectinvert, the Default string, the value is "Invert Selection"
I added an icon string with a path to an appropriate invert selection icon.
In the selectinvert key, i made a new sub-key and called it "command"
and set the value to the path where I saved InvertSelect.vbs file.

For selectnone, the Default string, the value is "Select None"
I added an icon string with a path to an appropriate select none icon.
In the selectnone key, i made a new sub-key and called it "command"
and set the value to the path where I saved SelectNone.vbs file.

Now I have the cascading Select menu with Select All, Invert Selection, and Select None, all with Icons. Select All works, but the other two don't because I don't think I have the right format for keyboard shortcuts. This should be a simple fix. Can someone help?

Or if there is a better solution, I am all ears.

Thanks!
My System SpecsSystem Spec
21 Jun 2013   #28
Brink
Microsoft MVP

64-bit Windows 10
 
 

Bamajon,

That's the issue I'm having is to get the Invert Selection, and Select None options to work in Windows 7.
My System SpecsSystem Spec
21 Jun 2013   #29
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

What is the need for a "Select None'? Maybe 8 is different, but to select none in w7 take only a left click in an empty spot in an Explorer window.

OF course I'm always willing to attribute any misunderstanding to my age and possible dementia.
My System SpecsSystem Spec
Comment

 Select all - Add to Context Menu in Windows 7




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
How do I move context menu items into a cascading context menu?
Okay, I'm not sure if this can be done as easily as I'm hoping. What I'm wanting to do is move already existing context menu items into a cascading context menu to organize and reduce clutter. For instance, I would have a cascading menu named "Scan with" and inside it would be avast! Internet...
Customization
Desktop context menu of windows 7
How Do I can Remove the ( Paste Shortcut ) in the Desktop Context menu for Windows 7
Customization
Windows 7 Extended Context Menu
Hi, Is there a way to have the Extended Context Menu the default one. Instead of having to hold the Shift key and right click, just right click for the extended context menu. Thanks in advance.
General Discussion
Pin to Start Menu - Add or Remove from Context Menu in Windows 7
How to Add or Remove "Pin to Start Menu" from Context Menu in Windows 7 This will show you how to add or remove Pin to Start Menu from the context menu of all users in Windows 7. You must be logged in as an administrator to be able to do the steps in this tutorial. If this doesn't...
Tutorials
Play all - Add to Context Menu in Windows 7
How to Add "Play all" to the Context Menu in Windows 7 This will show you how to add Play all to the context menu for when users right click on a empty area in a opened folder or library window in Windows 7 to play all music, audio, and video files in the folder or library with Windows Media...
Tutorials
Windows Menu Context is too big for the menu...
Not sure if this is the right section but here goes: I've got a slight problem with my windows menus in that the content is too big for the actual menu box. There's no option to drag to make the box bigger, it's just that the actual content is way to big for the box as if the font/rendering size...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:06.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App