Home > Sitecore 6 > Create new shortcuts in sitecore

Create new shortcuts in sitecore

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

Advertisements
Categories: Sitecore 6 Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: