|
 |
|
02-26-2009, 05:34 PM
|
#1
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
OSKTOCMD problem - solved
I have the following command for a button in my skin:
Code:
"OSKTOCMD;CJ_LETTER;SKIPTOLETTER"
and in my execTBL:
Code:
"SKIPTOLETTER","RUN;$pluginspath$CJSend.exe|{$CJ_LETTER$}"
For some reason, SKIPTOLETTER is not being executed when I click Enter in the OSK.
Even more strange, If I use the RR SKin Tool to pass the button command, it will work, and SKIPTOLETTER is executed.
Any ideas? Any others with this issue?
Edit:
Adding "||" to the beginning of the command, makes it work correctly.
Last edited by ws6vert; 02-27-2009 at 07:22 PM.
Reason: Problem solved, thank you El Camino
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
02-26-2009, 05:46 PM
|
#2
|
|
FLAC
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,405
|
Quote: Originally Posted by ws6vert 
I have the following command for a button in my skin:
Code:
"OSKTOCMD;CJ_LETTER;SKIPTOLETTER"
and in my execTBL:
Code:
"SKIPTOLETTER";"RUN;$pluginspath$CJSend.exe|{$CJ_LETTER$}"
For some reason, SKIPTOLETTER is not being executed when I click Enter in the OSK.
Even more strange, If I use the RR SKin Tool to pass the button command, it will work, and SKIPTOLETTER is executed.
Any ideas? Any others with this issue?
Typo.
"SKIPTOLETTER" ,"RUN;$pluginspath$CJSend.exe|{$CJ_LETTER$}"
__________________
Pico-ITX / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2
|
|
|
02-26-2009, 05:58 PM
|
#3
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
Quote: Originally Posted by Sal R. 
Typo.
"SKIPTOLETTER","RUN;$pluginspath$CJSend.exe|{$CJ_LETTER$}"
Typo is with the post, my bad. I have it correct in ExecTBL and it still does not work.
-I have determined that using the button command will not save the value to CJ_LETTER, when I call the exact same command in RR Skin Tool, it will save the value to CJ_LETTER and execute SKIPTOLETTER. I can not figure out why this is?
|
|
|
02-26-2009, 06:11 PM
|
#4
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
Here is relevant information from debug log. The first time, OSKTOCMD is run is using the button in skin. The second is using RR Skin Tool:
Code:
2/26/2009 6:05:28 PM: Enter Exec: False, coverjuke.skin, "ONBTNPRESS||GOTOALBUM", False
2/26/2009 6:05:28 PM: Que Exec: True, coverjuke.skin, "ONBTNPRESS||GOTOALBUM", False
2/26/2009 6:05:28 PM: Executing: ONBTNPRESS
2/26/2009 6:05:28 PM: Que Exec: True, coverjuke.skin, "GOTOALBUM", False
2/26/2009 6:05:28 PM: Executing: OSKTOCMD;CJ_LETTER;SKIPTOLETTER
2/26/2009 6:05:29 PM: Que Exec: True, osk.skin, "ONSCREENCHANGE", False
2/26/2009 6:05:29 PM: Executing: ONSCREENCHANGE
2/26/2009 6:05:29 PM: Leave Exec: False, osk.skin, ONSCREENCHANGE, False
2/26/2009 6:05:33 PM: Enter Exec: False, osk.skin, "ONBTNPRESS||r", False
2/26/2009 6:05:33 PM: Que Exec: True, osk.skin, "ONBTNPRESS||r", False
2/26/2009 6:05:33 PM: Executing: ONBTNPRESS
2/26/2009 6:05:33 PM: Que Exec: True, osk.skin, "r", False
2/26/2009 6:05:33 PM: Executing: r
2/26/2009 6:05:33 PM: Command not executed: r
2/26/2009 6:05:33 PM: Que Exec: True, osk.skin, "ONCOMMANDINVALID", False
2/26/2009 6:05:34 PM: Executing: ONCOMMANDINVALID
2/26/2009 6:05:34 PM: Leave Exec: False, osk.skin, ONCOMMANDINVALID, False
2/26/2009 6:05:35 PM: Enter Exec: False, osk.skin, "ONBTNPRESS||ENTER", False
2/26/2009 6:05:35 PM: Que Exec: True, osk.skin, "ONBTNPRESS||ENTER", False
2/26/2009 6:05:35 PM: Executing: ONBTNPRESS
2/26/2009 6:05:35 PM: Que Exec: True, osk.skin, "ENTER", False
2/26/2009 6:05:36 PM: Executing: ENTER
2/26/2009 6:05:36 PM: CheckResume: ResumeMusic=2 WasRadio=0
2/26/2009 6:05:36 PM: Enter Exec: True, coverjuke.skin, , False
2/26/2009 6:05:36 PM: Que Exec: True, coverjuke.skin, "ONSCREENCHANGE", False
2/26/2009 6:05:36 PM: Executing: ONSCREENCHANGE
2/26/2009 6:05:36 PM: Leave Exec: False, coverjuke.skin, ONSCREENCHANGE, False
2/26/2009 6:05:56 PM: Enter Exec: False, coverjuke.skin, , False
2/26/2009 6:05:57 PM: Que Exec: True, coverjuke.skin, "OSKTOCMD;CJ_LETTER;SKIPTOLETTER", False
2/26/2009 6:05:57 PM: Executing: OSKTOCMD;CJ_LETTER;SKIPTOLETTER
2/26/2009 6:05:57 PM: Enter Exec: True, osk.skin, , False
2/26/2009 6:05:57 PM: Que Exec: True, osk.skin, "ONSCREENCHANGE", False
2/26/2009 6:05:57 PM: Executing: ONSCREENCHANGE
2/26/2009 6:05:57 PM: Leave Exec: False, osk.skin, ONSCREENCHANGE, False
2/26/2009 6:05:58 PM: Enter Exec: False, osk.skin, "ONBTNPRESS||r", False
2/26/2009 6:05:58 PM: Que Exec: True, osk.skin, "ONBTNPRESS||r", False
2/26/2009 6:05:58 PM: Executing: ONBTNPRESS
2/26/2009 6:05:58 PM: Que Exec: True, osk.skin, "r", False
2/26/2009 6:05:58 PM: Executing: r
2/26/2009 6:05:58 PM: Command not executed: r
2/26/2009 6:05:58 PM: Que Exec: True, osk.skin, "ONCOMMANDINVALID", False
2/26/2009 6:05:58 PM: Executing: ONCOMMANDINVALID
2/26/2009 6:05:58 PM: Leave Exec: False, osk.skin, ONCOMMANDINVALID, False
2/26/2009 6:06:00 PM: Enter Exec: False, osk.skin, "ONBTNPRESS||ENTER", False
2/26/2009 6:06:00 PM: Que Exec: True, osk.skin, "ONBTNPRESS||ENTER", False
2/26/2009 6:06:00 PM: Executing: ONBTNPRESS
2/26/2009 6:06:00 PM: Que Exec: True, osk.skin, "ENTER", False
2/26/2009 6:06:00 PM: Executing: ENTER
2/26/2009 6:06:00 PM: CheckResume: ResumeMusic=2 WasRadio=0
2/26/2009 6:06:00 PM: Enter Exec: True, coverjuke.skin, , False
2/26/2009 6:06:01 PM: Que Exec: True, coverjuke.skin, "ONSCREENCHANGE", False
2/26/2009 6:06:01 PM: Executing: ONSCREENCHANGE
2/26/2009 6:06:01 PM: Que Exec: True, coverjuke.skin, "SKIPTOLETTER", False
2/26/2009 6:06:01 PM: Executing: RUNQ;C:\Program Files\RideRunner\Plugins\CJSend.exe|{r}
2/26/2009 6:06:01 PM: Shell: "C:\Program Files\RideRunner\Plugins\CJSend.exe" {r}
2/26/2009 6:06:01 PM: Leave Exec: False, coverjuke.skin, RUNQ;C:\Program Files\RideRunner\Plugins\CJSend.exe|{r}, False
As you can see, the first time the command is used, the SKIPTOLETTER is not executed. The second time using RR Skin Tool, it is executed.
|
|
|
02-27-2009, 10:20 AM
|
#5
|
|
FLAC
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,405
|
Any chance "SKIPTOLETTER" is defined in another part of ExecTBL?
__________________
Pico-ITX / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2
|
|
|
02-27-2009, 02:19 PM
|
#6
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
Quote: Originally Posted by Sal R. 
Any chance "SKIPTOLETTER" is defined in another part of ExecTBL?
no, my execTBL is pretty basic unlike others cough:MITCH:cough; I might reinstall RR tonight and see if that fixes the issue. Has anyone tried this, and had the same problem?
|
|
|
02-27-2009, 04:55 PM
|
#7
|
|
Raw Wave
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,915
|
Quote: Originally Posted by ws6vert 
no, my execTBL is pretty basic unlike others cough:MITCH:cough;
 You probably mean CHUCK!
|
|
|
02-27-2009, 05:31 PM
|
#8
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
Yeh, Chuck... Either way im sure Mitch's is ridiculous too.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
02-27-2009, 05:38 PM
|
#9
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
try it like this, (include the double pipes)
Code:
"||OSKTOCMD;CJ_LETTER;JUMPTOLETTER"
if you want to send letter "R" coverjuke is getting "{R}" the way you have it, and you need to send "R" only
no"{}"
Code:
"JUMPTOLETTER","RUN;$pluginspath$CJSend.exe|$CJ_LETTER$"
also, is always a good idea to run scripts from the source when testing.
QUESTION:
why you need a script to send a KEY to coverjuke, you can do that with pure RR code.
|
|
|
02-27-2009, 06:46 PM
|
#10
|
|
Low Bitrate
Join Date: Feb 2008
Location: Maryland
Posts: 91
|
That worked for me. Coverflow is complete for me. i couldn't ask for anything more
__________________
NEVER BLEND IN!!!
|
|
|
02-27-2009, 06:54 PM
|
#11
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
The way coverjuke is embedded, you cannot send a direct keystroke to it. So using RR's sendkey will do nothing but stare back at you. So I wrote CJSend to send the keys directly to coverjuke when it has been embedded.
Secondly, I was unable to send just R to coverjuke and have it understand. I will retry the issue, but using AutoIT, I had to send the commands with {} for coverjuke to perform the operation. I will look back into it, but this was my reasoning. I will also try the double pipes. The source code for CJSend is in the download, if you wanted to have a look at it.
|
|
|
02-27-2009, 06:56 PM
|
#12
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
Here is the real question, why would RR Skin Tool be able to perform the command correctly, but using the command in a button on the skin will not execute the command?
Edit:
Adding "||" to the beginning fixes the issue. Thank you El Camino
Last edited by ws6vert; 02-27-2009 at 07:18 PM.
|
|
|
02-28-2009, 03:46 AM
|
#13
|
|
Newbie
Join Date: Nov 2008
Posts: 37
|
"{$GOTOALBUM","||OSKTOCMD;CJ_LETTER;RUN;$skinpathh $CJSend.exe {$CJ_LETTER
not worrking for me....
|
|
|
02-28-2009, 11:12 AM
|
#14
|
|
Variable Bitrate
Join Date: Sep 2008
Location: Social Circle, Athens, Atlanta, Carrolton
Posts: 239
|
The above command is a little off:
it should look like:
Code:
"GOTOALBUM","||OSKTOCMD;CJ_LETTER;RUN;$skinpath$CJSend.exe|{$CJ_LETTER$}"
or you can make the Run command its own command, such as:
Code:
"GOTOALBUM","||OSKTOCMD;CJ_LETTER;SKIPTOLETTER"
"SKIPTOLETTER","RUN;$skinpath$CJSend.exe|{$CJ_LETTER$}"
These commands should be placed in your execTBL.ini
|
|
|
02-28-2009, 12:38 PM
|
#15
|
|
Newbie
Join Date: Nov 2008
Posts: 37
|
so i need to put two commands on one button (GOTOALBUM+SKIPTOLETTER)?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:13 PM.
| |