Skip to content

CudaText context menu shell extension for Windows Explorer

License

Notifications You must be signed in to change notification settings

dinkumoil/cuda_shell_extension

Repository files navigation

Windows Explorer context menu extension for CudaText

Builds for 32 and 64 bit Windows available

Author: Andreas Heim, 2019-2020

Developed with Lazarus IDE and Free Pascal Compiler.

Features

This context menu extension for Windows Explorer installs an entry into Explorer's context menu to be able to open an arbitrary number of files with CudaText. It overcomes the 15 files limit that exists for the Explorer context menu entry that has been installed via cuda_explorer_integration plugin which uses a shell\CudaText\command registry entry.

Additionally you are able to open a folder and even a whole drive with CudaText. The Project Manager plugin will add the folder/the drive's root folder to the project loaded at startup or to a new project.

Known issues

When Windows Explorer is compositing the context menu of a drive or a folder right-clicked in a window's navigation pane (the folder tree structure at the left side of an Explorer window), for whatever reason the context menu handler's COM interface is called twice. Thus, in the context menu of the items mentioned aforehand there will be two CudaText entries. Since both of these entries work as expected, this is only a minor flaw I won't fix.

Installation

The DLL file of the Explorer context menu extension can be downloaded here, choose the one that fits the bitness of your Windows installation. Copy the downloaded DLL file to the directory of your cudatext.exe.

The context menu extension has to be installed via regsvr32.exe which requires administrator permissions. The install directory of this repository contains batch scripts for its automatic installation and uninstallation. Again, choose the ones that fit the bitness of your Windows installation. Copy the downloaded scripts to the directory of your cudatext.exe as well. Then start install_shellXX.cmd by double-click.

The scripts try to automate the whole process of installing/uninstalling by requesting administrator permissions. If automatic installation/uninstallation fails, run the following commands from a console window that has been started via Run as administrator:

Installation: regsvr32 "<path-to-DLL-file>"

Uninstallation: regsvr32 /u "<path-to-DLL-file>"

After uninstalling the context menu extension you won't be able to immediately delete its DLL file. To do so you have to log out from Windows and log in again or, in the brute-force manner, kill all explorer.exe processes in Windows Task Manager and restart Explorer via (menu) File -> New task.

History

v1.1 - October 2020

  • enhanced: The CudaText context menu entry is also available in the context menu of directories and drives.

v1.0 - December 2019

  • Initial version

About

CudaText context menu shell extension for Windows Explorer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published