[Gambas-user] Finally Gambas got "SendKeys"

Arief Bayu Purwanto ariefbayu at ...626...
Wed Dec 5 09:59:32 CET 2007


On 12/5/07, Benoit Minisini <gambas at ...1...> wrote:
>
> On mercredi 5 décembre 2007, Arief Bayu Purwanto wrote:
> > Hi there,
> > I try to send F12 to lauch yakuake, but it couldn't launch it.
> >
> > I try it with console:
> >
> > ?Desktop.SendKeys(Key.F12)
> > No return value
> > 4155
> > ?Desktop.SendKeys("F12")
> > No return value
> > F12
> > ?Desktop.SendKeys(F12)
> > Unknown symbol
> >
> > Did I do something wrong?
>
> Yes, a lot. Desktop.SendKeys is not a function to be used in the console.


Ah, i see.

> Or, SendKeys only able to send normal character, not function keys?
> >
>
> You must read the documentation of the function on the wiki first.
>
> Anyway, try Desktop.SendKeys("[F12]").


Thanks for the info, I'll read the wiki.

--
> Benoit Minisini
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Daiguren Hyōrinmaru


More information about the User mailing list