loading

The perfect choice of one-stop service for diversification of architecture.

Create a New New Submenu in Context Menu with a Custom Name

I've been searching for a solution to this, but the closest thing I came up with to what I want is adding a new item to the context menu which calls a script that makes a copy of a template file.This isn't really what I want, but this might give someone an idea, so I'll post this anyway.First, I searched for a way to add an item to the context menu. For example, Command Prompt. Following registry key does the job.

Next, I want to add an item that creates a file, e.g., a CSS file.Similar to Command Prompt registry key, this will add an item to the context-menu, but instead of running an application, it calls a bat file. Content of the bat file:I have a css.css template file in C:WindowsShellNew. I simply make a copy of the template file in the directory where I right click and choose Cascading Style Sheet Document.

Of course, I'll not use this method. This just complicates things even more. Imagine having all bat, css, html, js, and php files right in the context menu. I still need a better solution.Update:I may have found a solution. Original article: Add Cascading Menus for Programs in Desktop and My Computer Context Menus in Windows 7 and Later - AskVGAdding the custom menu to the context-menu:For this menu to work, we need to define these commands cmd, css, html, etc. For example, defining the Command Prompt:Clicking on Command Prompt on the menu will run cmd.

exe. This is straightforward. Tricky part is adding an item/app that creates a new file.Let's start with a CSS file. Following registry will add the item to the menu.While we have a new item with the name "Cascading Style Sheet Document", clicking on it, normally, wouldn't do anything. To make it create a new file in the current folder, we call a script.I have prepared a batch script for each file type that I want to create; bat.bat, css.bat, html.bat, etc. and placed them in C:WindowsCustomNew. Also I have placed the template files bat.

bat, css.

css, html.

html, etc. in C:WindowsShellNew. So whenever I click "Cascading Style Sheet Document" on the menu, I call the css.bat which makes a copy of the css template file and places it in the current folder.css.bat file:It'd be better just to create a new css file without calling any script, but I don't think that's possible. However, if anyone has an any idea, I'd love to hear it.Look at it. It's beautiful :)

I like to experiment a lot with coding and creating html, css, js etc. files each time I want to try something is tiring. To get around this, I have created template html, css, etc. files and added them into "New" in context menu (How can I add an item to the 'new' context menu?).

Currently, I've added 4 items; html, css, js, and php. "New" submenu got a little crowded. Now I'm thinking if it's possible to create a new submenu with a custom name (e.g. "Coding") that I can add these files. Actual "New" submenu would be less crowded and I could access these coding files easily under a new submenu.

A second thought, this new submenu doesn't necessarily have to be just right in the context menu. It can be inside the "New" menu. I just want to group these four files.

Worst case scenario, can I reorder the "New" submenu? I'd like to stack these four at the top or at the bottom.

Update: I've created a repository for this functionality. Feel free to check it out.

·OTHER ANSWER:

I like to experiment a lot with coding and creating html, css, js etc. files each time I want to try something is tiring. To get around this, I have created template html, css, etc. files and added them into "New" in context menu (How can I add an item to the 'new' context menu?).

Currently, I've added 4 items; html, css, js, and php. "New" submenu got a little crowded. Now I'm thinking if it's possible to create a new submenu with a custom name (e.g. "Coding") that I can add these files. Actual "New" submenu would be less crowded and I could access these coding files easily under a new submenu.

A second thought, this new submenu doesn't necessarily have to be just right in the context menu. It can be inside the "New" menu. I just want to group these four files.

Worst case scenario, can I reorder the "New" submenu? I'd like to stack these four at the top or at the bottom.

Update: I've created a repository for this functionality. Feel free to check it out.

Create a New New Submenu in Context Menu with a Custom Name 1

GET IN TOUCH WITH Us
recommended articles
Related Blogs blog
Serving Half a Million Images with Redundancy
Might I suggest going over to Amazon S3 for image hosting? Depending on your bandwidth, the storage and hosting is cheap and I would think much more reliable and cos...
CA Certificate Shows As Unkown Certificate
Meaning if I specify certfiles here I do not have to specify per each module? like for c2S module, do I have to specify the path for cert file?Looking at the documen...
Using Wildcard in 'ls' Command to Find Files Containing Uppercase Letters Only
(like FOO, T, ; unlike FOO.BAR, ETE (where that is written as E followed by a U0301 combining acute accent))With ksh or zsh -o kshglob -o nobareglobqual or bash -O e...
Why I'm I Getting the No Matches Found Error When There Is a Match?
In first case :access right prevent shell(*) expansion of /var/solr/data/new_core/_default/* when your are centos.command expand then as /var/solr/data/new_core/_def...
Win10 1803 Not Asking for WiFi Connection During OSD
In the windows folder for both the target image and winPE image, you will need to create cmd files that have something like set /p new_variable"type the SSID of the ...
Using Rsync to Sync Two External HDDs, Keep Getting Permission Error
I had the same problem once, I think you should choose more carefully the options of rsync. The option -a equals to -rlptgoD, so rsync tries to preserve permissions,...
Problems of Phased Array Ground Penetrating Radar Detection System
Although GPR has been widely used in hydrology, engineering, environment and other fields, many basic theoretical and technical problems have not been fundamentally ...
Suggestions for Journaling, Bullet Notes, Activity, Wiki Like Application
So I am thinking of a possible answer to my own question:Build my own journal note entry app linked to a wiki.Zim Wiki uses a file based system for wiki. Maybe I cou...
How Many NCAA Football Bowls Are There?
About 8 I think1. where can i get ncaa football 10 rosters with names?For the last two years I got mine from "Pastapadre". From what i can tell they are really prett...
What Is the Name of a Horror Movie with an Eye Falling in a Cocktail Glass?
The Haunting I vaguely remember some kind of eye injury in the movie.• Other Related Knowledge ofa cocktail glass— â€&...
no data
Customer service
detect