• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Toggle checkbox or normal selection from right click context menu

By Abhishek Ghosh May 11, 2011 8:43 pm Updated on May 11, 2011

Toggle checkbox or normal selection from right click context menu

Advertisement

Previously, we wrote the trick on how to enable the check boxes to select multiple files and folders in Windows 7. This time, we will show you the way to get an option in right click context menu in Windows 7 so that you can toggle between the usual normal multiple selection holding the CTRL key and just clicking the right click menu option to switch between these two options.

Here are two screenshots.

First multiple file selection by using the CTRL key:

Advertisement

---

 

Toggle checkbox or normal selection from right click context menu

 

Secondly multiple file selection by using the checkboxes:

 

Toggle checkbox or normal selection from right click context menu-1

 

And here is the option to toogle in right click context menu:

 

Toggle checkbox or normal selection from right click context menu-2

Now, how to get it.

Two parts : part one is a vbs script and part two is a Registry key.

 

The vbs script to make the checkbox toggle function:

 

Nothing, but to call default Windows action do activate it in the folder where it is. Open Notepad and write the code:

 

FileExt = “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\AutoCheckSelect”
Set Sh = WScript.CreateObject(“WScript.Shell”)
St = Sh.RegRead(FileExt)
If St = 1 Then
Sh.RegWrite FileExt, 0, “REG_DWORD”
Else
Sh.RegWrite FileExt, 1, “REG_DWORD”
End If
Sh.SendKeys(“{F5}”)

 

We have told many times, again repeating it: save the file as checkbox.vbs and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it.

checkbox.vbs is just a name; we could have name it John_is_a_fool.vbs ; but in that case we have to the rename in next step, otherwise you will be proved to be a fool, not John.

 

Place it in C partition, again you can place it anywhere, but have to mention in Registry file.

 

The Registry file:

 

This will add the functionality to get working from right click context menu.

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Toggle checkbox]
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\Directory\Background\shell\Toggle checkbox\command]
@=”cmd.exe /c start C:\\checkbox.vbs”

[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Toggle checkbox]
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Toggle checkbox\command]
@=”cmd.exe /c start C:\\checkbox.vbs“

 

Explanation:

 

No one gives explanation in any Windows forum blog etc after writing tricks or tutorials. Do not ask us why, it is implied.

 

The green texts depend on your wish. As we said ago; we could have name it John_is_a_fool.vbs; then it will be that.

The red text is what you want to see in right click context menu. We could have name it coconut.reg

The pink text is the location of the vbs file; you can change it as well. Frankly, we have not tested in other complicated  ways, we have used conventional location.

The fist set (first four lines) starts the file for the shell and the next set for Library. We have circumvented the restriction of Windows UAC by starting it through elevated command prompt.

 

Save the file as checkbox.reg and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Name does not matter here at all. You can save as Rose.reg and it will work.

 

Now, double click the reg file and accept the security warnings and you will see the option in right click context menu when clicked on a folder or any empty place inside folder or Windows 7 desktop.

 

Removal:

 

Add a minus sign before the H starts after the third bracket; like [-HKEY_CLASSES…. to all where there is HKEY and save it (with some good name) as reg file and run it. It will break the association; so the option will disappear from right click context menu.

Obviously, you might delete the vbs file manually too.

 

Downloads:

 

As usually all the required files are here for your download.

The rar file is password protected, type thecustomizewindows.com as the password.

 

Signature Tagged With check box right click selection , toggle controls in context menu , toggle windows file selection

This Article Has Been Shared 372 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Toggle checkbox or normal selection from right click context menu

  • Cascading list of websites in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of websites of your choice with icons of your choice in Windows 7.

  • Show Hide file extension toggle option in Windows 7 context menu

    Add a toggle Show Hide file extension with a custom icon in Windows 7 right click context menu following this trick. Resources needed are available as free download too.

  • Talking clock in right click context menu without any software

    After reading this tutorial, you will get an option in the right click context menu, click which your computer will speak the current time by your clock.

  • Talking Calculator in right click context menu without any software

    Talking Calculator in right click context menu without any software for your Windows 7 or any version of Windows PC.

  • Talking Program Opener with Input Window in Right Click Context Menu

    Talking Program Opener with Input Window in Right Click Context Menu tutorial will show how you can create a interactive talking program opener to open any file with specific program in Windows 7.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Domain-Driven Design (DDD)? January 23, 2021
  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021
  • What is Software Modernization? January 21, 2021
  • Cloud Computing : Cybersecurity Tips for Small Business Owners January 20, 2021
  • Arduino : Independently Blink Multiple LED January 18, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Toggle checkbox or normal selection from right click context menu," in The Customize Windows, May 11, 2011, January 23, 2021, https://thecustomizewindows.com/2011/05/toggle-checkbox-or-normal-selection-from-right-click-context-menu/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy