Hi Nimikipod,
have you tried to activate the screen/app you want to send the key to first?
How do I use SENDKEY
If I want to make the buttons for embedded applications so that they look like they belong in my skin, how do I do that?
You can communicate with embedded applications using the SENDKEY command. You make the buttons in your skin with the standard button commands, and then use SENDKEY to send commands to your application. Here is an extract of my GPS skin which I embed Infomap Navigator into.
/, B, x, y, w, h, Command;COMMANDCODES, Tooltip
B01,-1,-2,56,68,"ACTIVATE;Navigator||SENDKEY;{F5}","Zoom In"
B02,51,-1,51,67,"ACTIVATE;Navigator||SENDKEY;{F6}","Zoom In"
B03,101,-1,102,67,"ACTIVATE;Navigator||SENDKEY;%V{RIGHT}I%V {RIGHT}O","Fullscreen Toggle"
B04,201,-1,100,67,"ACTIVATE;Navigator||SENDKEY;%T{DOWN}{DOW N}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN} {DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{RIGHT}{ENTER} ","Exit"
B05,301,0,101,65,"ACTIVATE;Navigator||SENDKEY;%T{D OWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOW N}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{RIGHT }{DOWN}{DOWN}{DOWN}{ENTER}","Exit"
B06,402,0,100,65,"ACTIVATE;Navigator||SENDKEY;%T{D OWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOW N}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{RIGHT }C","Exit"
B07,500,0,101,65,"ACTIVATE;Navigator||SENDKEY;{F7} ","Exit"
B08,601,1,99,64,"MENU;Audio_Menu.skin",
B08,700,1,99,64,"EXIT","Exit"
cheers
KPJUK



LinkBack URL
About LinkBacks
Reply With Quote






Bookmarks