How to customize keyboard shortcuts in RunRev?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

How to customize keyboard shortcuts in RunRev?

Post by ale870 » Tue Dec 01, 2009 4:03 pm

Hello,

I wanted to customize shortcuts of the editor and other items in the enviroment (for example I wish to add a key to recall "Application Browser" instead using the mouse and menu everytime). Is it possible? How

Thank you for your help!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10328
Joined: Wed May 06, 2009 2:28 pm

Re: How to customize keyboard shortcuts in RunRev?

Post by dunbarx » Tue Dec 01, 2009 4:58 pm

You can assign keyboard shortcuts. For example, to get the application browser that you asked for, you might assign a functionkey:

Code: Select all

on functionkey var
   if var = 12 then
      go stack "revApplicationOverview" --this is the actual name of the app browser stack
   end if
end functionkey
The handler can be placed in a library, or in a backscript, or just in use somewhere.

Craig Newman

ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: How to customize keyboard shortcuts in RunRev?

Post by ale870 » Tue Dec 01, 2009 6:34 pm

Great! Everyday this community teach me something new!

Thank you!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

Post Reply