"sendkey;^+{f2}"
I've searched for the past hour on here and no luck-
How can i set a button to execute CONTROL SHIFT and F2 all at the same time?
For some reason this doesn't work for me. I am trying to send the same combination of keys for a button. I've tried every possible combination with no luck.
I have two buttons on my skin...one that I want ctrl+space to work for and one that I want ctrl+shift+f2 to work for. Just to test I set the first button to work for just s and it works fine with "SENDKEY;s". But I can't get the combinations to work for either button.
For ctrl+space, I have tried:
^{ }
^{SPACE}
^
^" "
For ctrl+shift+F2, I have tried:
^+{f2}
^+{F2}
^(+{F2})
^(+({F2}))
etc, etc, etc.
If I press ctrl+shift+f2 on my keyboard it works fine, but I can't find the syntax that RideRunner wants for the button to send that combination. Also, I have tried it with ACTIVATE as well, but it's not needed in this case, since the SENDKEY;s worked just fine.
Thanks
I would still like to know about the above question, but I solved this just by making a script in AutoIT and compiling it to an .exe and using the RUN command for the button to call the compiled .exe.
BTW I also have problems sending {SPACE} with the SENDKEY command. Simple letters work fine.
are you activating the window before using sendkey ?
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."
Yep, it didn't work with ACTIVATE, either. But, just to test it out, I did a simple sendkey for the character 's' and it worked fine, even without activate.
I have it solved with my AutoIT exe, but I would like to know what the correct syntax is so RideRunner will recognize it. Simple one letter commands work fine. But when I try multiple combinations, like for ctrl+shift+f2, it just doesn't work.
Variables in skin.ini:
Commands in ExecTBL.ini:Code:vid_playpause={SPACE} vid_stop=s vid_prev=p vid_next=n vid_frwd=^{LEFT} vid_ffwd=^{RIGHT} vid_dvdmenu=+m vid_aspect=a
As you can see the commands just vary in the variable they send to the external app.Code:"VIDEO_EXT_PREV","ACTIVATE;$vid_name$||WAIT;0.1||SENDKEY;$vid_prev$||WAIT;0.1||GETFOCUS" "VIDEO_EXT_FRWD","ACTIVATE;$vid_name$||WAIT;0.1||SENDKEY;$vid_frwd$||WAIT;0.1||GETFOCUS" "VIDEO_EXT_PLAYPAUSE","ACTIVATE;$vid_name$||WAIT;0.1||SENDKEY;$vid_playpause$||WAIT;0.1||GETFOCUS" "VIDEO_EXT_STOP","ACTIVATE;$vid_name$||WAIT;0.1||SENDKEY;$vid_stop$||WAIT;0.1||GETFOCUS" "VIDEO_EXT_FFWD","ACTIVATE;$vid_name$||WAIT;0.1||SENDKEY;$vid_ffwd$||WAIT;0.1||GETFOCUS" "VIDEO_EXT_NEXT","ACTIVATE;$vid_name$||WAIT;0.1||SENDKEY;$vid_next$||WAIT;0.1||GETFOCUS"
"{SPACE}" f.ex. doesn't work though, whereas "a" does. Can't test any further atm, but can it be that RR has problems with the sendkeys written in {} ?
I don't really know if sendkey can send special key combnations (i.e. SHIFT+ALT+? or CTRL+ALT+? or SHIFT+CTRL+?), that's not covered in the definitions: http://msdn.microsoft.com/en-us/libr...83(VS.85).aspx
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."
AFAIK it does. Saw VB examples with that, if I remember right.
Bookmarks