[Gambas-user] send 'pgup' to process

Johny Provoost johny.provoost at ...27...
Mon Jan 20 19:06:12 CET 2014


Hi,

I adapted the example Movieplayer from Benoît .
It's about sending keys to mplayer.
I can send "+" and "-' to the process with success, but when want to 
send "PageUp", "PageDown", "Up", "Down","Left", and 'right', I get stuck.


the line is

   If Not $hProcess Then Return
   Print #$hProcess,-here comes the key to send- ;

I tried
key.PageUp,
Desktop.Sendkeys("[PageUp"]), with and without the quotes.
PgUp instead of PageUp

Nothing helped.
I found nothing about this specific case in the help, nor by googling.

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provoost at ...27... <mailto:johny.provoost at ...27...>*

*mailto: johny.provoost at ...626... <mailto:johny.provoost at ...626...>*

*Website:* *http://www.johnyprovoost.net* <http://www.johnyprovoost.net/>






More information about the User mailing list