Giter Site home page Giter Site logo

kingjay66 / google-drive-context-fix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from patricknelson/google-drive-context-fix

0.0 1.0 0.0 587 KB

Dynamically enables/disables Google Drive in context menu when right clicking in Windows Explorer

License: MIT License

AutoHotkey 100.00%

google-drive-context-fix's Introduction

Google Drive "Slow Right Click" Fix

This script dynamically enables/disables the Google Drive options in context menu when right-clicking in Windows Explorer. Easily toggled by simply holding down shift key. This is also typically known as the "extended" right-click context menu.

Normally this isn't necessary and can configured to work this way by just adding an Extended registry key. However, since Google Drive (a.k.a. Backup & Sync) utilizes the ContextMenuHandlers registry key (see below) it cannot be hidden without doing it permanently or using a hack/workaround like this one.

Demo

Example of right-click (faster) and then right-click + shift (slower) but still includes the Google Drive options and only when you actually need them.

Demo

Installation Instructions

Once running, you should see the AutoHotkey icon AutoHotkey System Tray Icon running in your system tray in the bottom right corner of your screen.

1. Configure Registry Permissions

  • Press Windows + R to open the "Run" dialog.

  • Type regedit and press enter.

  • Find and right-click on each of the registry keys listed below and:

    • Select Permissions...
    • Select Users from the list
    • Enable Full Control permissions and click Ok.

    HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\GDContextMenu HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\DriveFS 28 or later HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers\GDContextMenu HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers\DriveFS 28 or later

2. Run Script

Quick:

From source:

If you prefer to be safer and also have the ability to tinker with the code, you can also run from source. This only requires that you already have AutoHotkey installed.

3. Run at Startup (Optional)

To ensure this works every time you start your computer (recommended), you'll need to perform a few extra steps:

  • Press the Windows Key + R to open the "Run" dialog.
  • Type (or paste) the following and click OK. This should open the windows "Startup" folder: shell:startup
  • Right click the downloaded .exe or .ahk file and select "Copy".
  • Right click inside the "Startup" folder and select "Paste shortcut".

google-drive-context-fix's People

Contributors

patricknelson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.