Archive

Archive for July, 2009

Create new shortcuts in sitecore

06/07/2009 Leave a comment

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" ?><br>
<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

Categories: Sitecore 6 Tags: