F1 as the men shortcut?

MisterX b.xavier at internet.lu
Thu Feb 16 16:07:25 CST 2006


one of 2 classic solutions

send ("MenuPick" && themenuname) to btn mymenu

or 

set the menuhistory of btn mymenu to thislinenumber...

- 

Another way, more tedious but with more freedom allowed is that if your
menupick handler calls a handler in the button or stack script, then you can
simply <send handlername to the button> (no menupick && stuff - which fails
if you change the menuitem) or in the simplest case, if your handler is in
the card, background or stack, you don't need to send anything, just call
the handler...

cheers
Xavier
http://monsieurx.com

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Garrett Hylltun
> Sent: Thursday, 16 February, 2006 22:53
> To: How to use Revolution
> Subject: Re: F1 as the men shortcut?
> 
> But what about the shortcut on the menu itself?  That's what 
> I'm trying to find out about.  I tried typing in "Help/F1", 
> but Rev won't accept such a thing.
> 
> Thanks,
> -Garrett
> 
> On Feb 16, 2006, at 1:17 PM, MisterX wrote:
> 
> > Hi Garret
> >
> > You might want to trap that key it at the card or stack level as a 
> > keydown or keyup message.
> >
> > cheers
> > Xavier
> > Push to arm, release to detonate...
> >
> >> -----Original Message-----
> >> From: use-revolution-bounces at lists.runrev.com
> >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf 
> Of Garrett 
> >> Hylltun
> >> Sent: Thursday, 16 February, 2006 21:55
> >> To: How to use Revolution
> >> Subject: F1 as the men shortcut?
> >>
> >> Rev 2.6.1
> >>
> >> Greetings,
> >>
> >> Is there any way to use keys such as F1 or DEL as the menu 
> shortcuts?  
> >> Looking through the docs only points out the ability to the CMD + 
> >> [single key] shortcuts.
> >>
> >> Thanks,
> >> -Garrett
> >> _______________________________________________
> >> use-revolution mailing list
> >> use-revolution at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your 
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list