Create new shortcuts in sitecore

6. november 2009 by Thomas Stern

A usefull little thing could be to create your own shortcuts keys in sitecore.
Of course one should be carefull not to override keys allready assigned.

In the file:

sitecore\shell\Controls\Applications\Global Keys.xml

 

 

 
<?xml version="1.0" encoding="utf-8" ?>
<control xmlns:def="Definition" xmlns="http://schemas.sitecore.net/Visual-Studio-Intellisense"> <GlobalKeys> <RegisterKey KeyCode="120" Click="system:publish"/> <KeyMap/> </GlobalKeys> </control>

 

Simple xml with registered shortcuts for the desktop, you can add your own.
So for example we want to add F10 as a shortcut for preview we add the line.

 

 
<RegisterKey KeyCode="121" Click="system:preview"/>

 

You can finde more keycodes here

 

0 comment(s) for “Create new shortcuts in sitecore”

    Leave comment: