Announcement

Collapse
No announcement yet.

OSKTOCMD problem - solved

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Originally posted by ws6vert View Post
    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 / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

    Comment


    • #3
      Originally posted by Sal R. View Post
      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?

      Comment


      • #4
        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.

        Comment


        • #5
          Any chance "SKIPTOLETTER" is defined in another part of ExecTBL?
          Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

          Comment


          • #6
            Originally posted by Sal R. View Post
            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?

            Comment


            • #7
              Originally posted by ws6vert View Post
              no, my execTBL is pretty basic unlike others cough:MITCH:cough;
              You probably mean CHUCK!
              ****************************************
              OLD SYSTEM (DEAD)
              Intel D945GCLF2 Dual Core ATOM
              Lilliput 7" 629GL 2008 LED Backlight
              BU-353 USB GPS Receiver / iGuidance / IGO8
              M2-ATX Power Supply
              RideRunner Front End / Various Skins
              Windows XP SP3

              Comment


              • #8
                Yeh, Chuck... Either way im sure Mitch's is ridiculous too.

                Comment


                • #9
                  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.
                  BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                  RRTube ==> [View/Download Youtube Videos]
                  WifiMan ==> [Wifi Manager]
                  RRec ==> [Audio Capture]

                  If You Want To Be Given Everything, Give Everything Up ...
                  Bird York -- In The Deep --

                  Comment


                  • #10
                    That worked for me. Coverflow is complete for me. i couldn't ask for anything more
                    506 Skin
                    506 Flash!
                    NEVER BLEND IN!!!

                    Comment


                    • #11
                      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.

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          "{$GOTOALBUM","||OSKTOCMD;CJ_LETTER;RUN;$skinpathh $CJSend.exe {$CJ_LETTER

                          not worrking for me....

                          Comment


                          • #14
                            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

                            Comment


                            • #15
                              so i need to put two commands on one button (GOTOALBUM+SKIPTOLETTER)?

                              Comment

                              Working...
                              X