Giter VIP home page Giter VIP logo

cuda_shell_extension's Introduction

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

cuda_shell_extension's People

Contributors

alexey-t avatar dinkumoil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cuda_shell_extension's Issues

No "open with CudaText" item for folders

Win10 2004 x64, CudaText 1.112.1 x64

  • run install_shell64.cmd
  • sign out, sign in (apply shell info)
  • rt-click on files-> Cud item is here (Sublime item too, Winrar item too, ESET too)
  • rt-click on folder (many folders tried, usual ones with .pas files)-> no Cud item! (no Sublime item, Winrar is still here, ESET is here)

now I understand that user who told about missing Cud item on dirs.

@kvichans @iRamSoft @jairo-martinez Do you confirm?

The specified file cannot be found

изображение
02058
Error: The specified file cannot be found

I put the file cudatext_shell64.dll in the install folder, executed install_shell64.cmd, the item in the context menu appeared, however, it seems to me that it does not find the executable file cudatext.exe, which is installed in C:\cudatext\.
How do I fix this?

User notes

@dinkumoil User wrote me email:

Tested this new shell extension.
copy 2 files into folder: /cudatext:cudatext_shell64.dll, install_shell64.cmd.
run install_shell64.cmd and then select 17 files, right mouse opens context menu to open these 17 files, the "Open with CudaText" and its icon appears.
It is OK.
can open more than 15 files.
after finish this test, I copy "uninstall_shell64.cmd" into folder: /cudatext. then run it. The "Open with CudaText" and its icon disappears.

BTW, I noticed that the Notepad++ ( I used it before) can not do this. It can not open more than 15 files.
OS: Win10 X64 Ver 1803

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.