Anyone have an idea. My skin is pretty much complete and the sendkey issue is all I have to figure out..
I posted this question in my SKin thread but couldnt get an answer that helped me.
ANyway,
I am having problems with the sendkey command. I cant get it to send a keyboard command to a game from a button
here is the current button command.
"ACTIVATE;Form1||SENDKEY;{DOWN}||GETFOCUS"
Form1 is the name of the window, and the game embeds just fine. But I cant get this crazy sendkey thing to happen. What am I doing wrong. This is all that is keeping my skin from being released.
I searched and found nothing....for you search police out there.
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
Anyone have an idea. My skin is pretty much complete and the sendkey issue is all I have to figure out..
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
I *think* the syntax is wrong on your command, from what I can understand when you use multiple commands in one button they are set out like: "Cmd1||= ||cmd2"
So you could try using the string:-
"ACTIVATE;Form1||= ||SENDKEY;{DOWN}||= ||GETFOCUS"
Hi Thunderstick,
Are you sure the window name is correct ? if you fire up the application standalone, is Form1 the wording of the window ? I suspect it is something else, but can't offer any better advice on trying to fix this for you.
Sorry m8
KPJUK
M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......
The syntax seems correct, swift_gti's advice is actually for when combining label texts (not the case here). So chances are the window title is wrong. Can you please try it with something simple like notepad, etc ? It should really work, but I have seen cases where sendkey does not work with specific applications (just depends on how they handle the keyboard).
Ride Runner RR's Myspace
"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
It doesn't work cause I'm pretty sure that's a FLASH object on a VB form, so when you use sendkey, the VB form is catching the keys, and not the flash object. There are similar issues with flash objects inside RR. This is a limitation of integration between Flash and VB it seems.
Ride Runner RR's Myspace
"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
That's what what I figured..
Thanks for the help
New Age Garmin - Skin for RR
New Age Slider - RR SKin In Progress
"It's called CODE because I don't want you to know"
Bookmarks