Key shortcut to Application Browser

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
Josh
Posts: 46
Joined: Sat Jan 12, 2008 6:42 am

Key shortcut to Application Browser

Post by Josh » Tue Apr 22, 2008 5:45 pm

Hi all,

I thought it was listed in Dan's book, but I can't find it. Anyway, I have the windows version of Revolution Studio and I would love to know whether or not there is a quick key shortcut to get to the application browser. It costs me a lot of time and fluency to break out of scripting mode to go to tool-->application browser every time.

While we're on the topic, if anyone has a list readily available, I'd greatly appreciate all key shortcuts provided by revolution (if it's not too much trouble).

Thanks,
Josh

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Tue Apr 22, 2008 5:59 pm

Hi Josh,

All shortcuts are listed in Appendix A of the Revolution User Guide (definitely in Rev 2.9, though it may have been there earlier).
It doesn't look like there is a shortcut for the Application Browser, however. Then again, it's not too complicated to add this to your project's mainstack script:

Code: Select all

on functionKey pNumber
  if the environment is not "development" then pass functionKey
  if pNumber is 8 and the shiftKey is "down" then
    put "Application browser" into tMenuItem
    send "menuPick tMenuItem" to menu "Edit" of stack "revMenubar"
  end if
end functionKey
Now when you press Shift-F8 in your stack while in the Revolution IDE, it will open the Application Browser. The fact that Revolu!ton is written using Revolution, has some very interesting side effects, allowing you to customize it to your particular workflow.
You can even turn a stack into a plug-in and add functionKey support throughout the Rev IDE, even when your project doesn't have the above script. But that's food for another post, methinks.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Post by paul_gr » Tue Apr 22, 2008 11:56 pm

This function will be useful, but at the moment I can't get it to work. The function is progressing through the if statements ok. But nothing is happening when it gets to the line

send "menuPick tMenuItem" to menu "Edit" of stack "revMenubar"

The app browser doesn't open.

Paul

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Wed Apr 23, 2008 12:07 pm

D'oh! That line should have been

Code: Select all

send "menuPick tMenuItem" to menu "Tools" of stack "revMenubar"
Hope this helped,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Post by paul_gr » Wed Apr 23, 2008 9:36 pm

Thanks Jan,
I appreciate your help.

Paul

Post Reply