Why can't I send tabKey?
xbury.cs at clearstream.com
xbury.cs at clearstream.com
Fri Aug 12 02:21:14 EDT 2005
Damn,
two mails now that Ken has "hijacked" over my previous answers to this
list...
Am i wasting my time writing answers to see others rewrite them over
again?
Dan,
See the first response to your mail, it resolves this issue one handed...
Why
mess with the rest?
In addition, if you want to send this to a field in particular and still
use a generic
card/stack level handler, here's the way
on opencard
doTabKey afield -- note the new parameter...
end OpenCard
on doTabKey afield
select line 1 of field afield
or whathaveyou
end doTabKey
Or you could just say
on opencard
select line 1 of field 1
why go into all these hoops and loops when there's a simple solution?
Xavier
use-revolution-bounces at lists.runrev.com wrote on 11/08/2005 18:46:52:
> Ken....
>
> While "type tabKey" doesn't generate an error, it also doesn't do
> what I think it should.
>
> In my book, I had a script:
>
> on openCard
> type tabKey
> end openCard
>
> I suggested that if you did this, you could force the first field (in
> tab order, of course) on a card to be active when a new card opens.
> Doesn't work (though I could *swear* I tested it in 1.1.1 or whatever
> version was current when I wrote the book two years ago). Nothing
> happens. So I don't know if the tabKey is actually being typed or not
> but if it is, it's not doing what I think tabbing SHOULD do.
>
> Dan
>
> On Aug 11, 2005, at 8:08 AM, Ken Ray wrote:
>
> > On 8/11/05 1:37 AM, "Dan Shafer" <revdan at danshafer.com> wrote:
> >
> >
> >> But if I try to send tabKey, with or without quotation marks and with
> >> or without a target, I always get a "can't find handler" error.
> >>
> >
> > That's because 'tabKey' isn't treated as a handler... it's treated
> > as a
> > keystroke. You need to "type tabkey" instead of "send". I think
> > this would
> > be the same as functionKey, etc. But I agree with you - if it is a
> > handler
> > that can be trapped, it should be able to be "sent". So I'd still
> > BZ it.
> >
> > Ken Ray
> > Sons of Thunder Software
> > Web site: http://www.sonsothunder.com/
> > Email: kray at sonsothunder.com
> >
> >
> > _______________________________________________
> > 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
> >
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dan Shafer, Revolution Consultant and Author
> http://www.shafermedia.com
> Get my book, "Revolution: Software at the Speed of Thought"
> From http://www.revolutionpros.com, Click "My Stuff"
>
>
>
> _______________________________________________
> 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
-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.
The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.
END OF DISCLAIMER
More information about the use-livecode
mailing list