Announcement

Collapse
No announcement yet.

BYVARX issue

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

  • BYVARX issue

    In my last RRGmail version, i can send a mail with or not attached file by a simple line command:

    rr_gmail_sendemail;toaddress;subject;body;file
    RR_GMAIL_SENDEMAIL;[email protected];urgent;gm ail have email;C:\Temp\GMAIL\test1.txt

    I friend ask me to use this command with the BYVARX command and that don't run !!

    BYVARX;SENDER_ALERT;(DONOTHING<<RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt)

    I have found a solution!
    I add this line into my exectbl.ini file:
    "SENDOK","RR_GMAIL_SENDEMAIL;[email protected] ;urgent;gmail have email;C:\Temp\GMAIL\test1.txt"
    And i replace my BYVARX command by a simple BYVAR command
    BYVAR;SENDER_ALERT;DONOTHING<<SENDOK

    An idea why the BYVARX command don't run ?

    Thanks

  • #2
    i don't use your plugin, but i tried the command.
    i think it should work

    Code:
    18:45:22,594: Que Exec: True, menu.skin, "BYVARX;SENDER_ALERT;(DONOTHING<<RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt)", False
    18:45:22,602: Executing: BYVARX;SENDER_ALERT;(DONOTHING<<RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt)
    18:45:22,602: Que Exec: True, menu.skin, "DONOTHING", False
    18:45:22,609: Executing: DONOTHING
    18:45:22,609: Command not executed: DONOTHING
    18:45:22,609: Que Exec: True, menu.skin, "ONCOMMANDINVALID", False
    18:45:22,609: Executing: ONCOMMANDINVALID
    18:45:22,609: Leave Exec: False, menu.skin, ONCOMMANDINVALID, False
    18:45:59,141: Enter Exec: False, menu.skin, , False
    18:45:59,141: Que Exec: True, menu.skin, "SETVAR;SENDER_ALERT;01", False
    18:45:59,148: Executing: SETVAR;SENDER_ALERT;01
    18:45:59,148: Leave Exec: False, menu.skin, SETVAR;SENDER_ALERT;01, False
    18:46:00,734: Enter Exec: False, menu.skin, , False
    18:46:00,734: Que Exec: True, menu.skin, "BYVARX;SENDER_ALERT;(DONOTHING<<RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt)", False
    18:46:00,742: Executing: BYVARX;SENDER_ALERT;(DONOTHING<<RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt)
    18:46:00,742: Que Exec: True, menu.skin, "RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt", False
    18:46:00,750: Executing: RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt
    18:46:00,750: Command not executed: RR_GMAIL_SENDEMAIL ;[email protected];urgent;gmail have email;C:\Temp\GMAIL\test1.txt
    RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
    RR-Plugin: IBusCommunicatoRR new Updates

    Comment


    • #3
      Try my plugin with this screen and you will see that the BYVARX don't run with the line that follow:
      B,87,208,240,71,"BYVARX;SENDER_ALERT;(DONOTHING<<R R_GMAIL_SENDEMAIL;[email protected];urgent;gma il have email;C:\GMAIL\Lighting.jpg)",""

      But the BYVARX that define the SENDER_ALERT var run very well !!!
      B,485,125,76,71,"BYVARx;SENDER_ALERT;(SETVAR;SENDE R_ALERT;1||SAVETOSKIN;SENDER_ALERT;1<<SETVAR;SENDE R_ALERT;0||SAVETOSKIN;SENDER_ALERT;0)",

      Idem for the command that read the exectbl.ini file:
      B,86,115,240,71,"BYVARX;SENDER_ALERT;(DONOTHING<<S ENDOK)",
      with into my exectbl.ini file:
      "SENDOK","RR_GMAIL_SENDEMAIL;[email protected] ;urgent;gmail have email;C:\GMAIL\Lighting.jpg"
      Attached Files
      Last edited by pierrotm777; 02-11-2014, 07:04 AM.

      Comment


      • #4
        Did you tested with 00 and 01 as var?
        What says the debug log?

        Can i get the plugin files seperatly. i don't like the installer.
        RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
        RR-Plugin: IBusCommunicatoRR new Updates

        Comment


        • #5
          Originally posted by harryberlin View Post
          Did you tested with 00 and 01 as var?
          What says the debug log?

          Can i get the plugin files seperatly. i don't like the installer.
          http://www.mp3car.com/vbulletin/atta...-bin-files.zip
          Attached Files

          Comment


          • #6
            With 01, the command that follow don't run:
            B,485,125,76,71,"BYVARx;SENDER_ALERT;(SETVAR;SENDE R_ALERT;1||SAVETOSKIN;SENDER_ALERT;1<<SETVAR;SENDE R_ALERT;0||SAVETOSKIN;SENDER_ALERT;0)",

            and the command that read the exectbl.ini file run:
            B,86,115,240,71,"BYVARX;SENDER_ALERT;(DONOTHING<<S ENDOK)"

            Comment


            • #7
              How looks your Function ProcessCommand in RRExtension?
              RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
              RR-Plugin: IBusCommunicatoRR new Updates

              Comment


              • #8
                Originally posted by harryberlin View Post
                How looks your Function ProcessCommand in RRExtension?
                It's not into the plugin but used into the skintool for test or into a button !

                Comment


                • #9
                  Don't understand what you mean.

                  mikeeps said there is a problem by riderunner because the many ";".

                  a little bit confuse.
                  it works by disabled plugin.
                  thats why the question about your RRExtension.vb.
                  RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
                  RR-Plugin: IBusCommunicatoRR new Updates

                  Comment


                  • #10
                    Originally posted by harryberlin View Post
                    Don't understand what you mean.

                    mikeeps said there is a problem by riderunner because the many ";".

                    a little bit confuse.
                    it works by disabled plugin.
                    thats why the question about your RRExtension.vb.
                    Ho, this is my code!
                    Code:
                            'rr_gmail_sendemail;toaddress;subject;body;file
                            If LCase(CMD).Contains("rr_gmail_sendemail;") Then
                                AttchedFile = ""
                                Username = FuncCls.DecryptPassword(INI.ReadString("Gmail", "Username", ""))
                                Password = FuncCls.DecryptPassword(INI.ReadString("Gmail", "Password", ""))
                                sArray = LCase(CMD).Split(";")
                                If sArray.Length = 4 Then
                                    If gmail_send(sArray(1), sArray(2), sArray(3), "", SDK.GetUserVar("RR_GMAIL_USRLOGO")) = True Then
                                        RaiseEvent GmailSendEmail()
                                        If MessageOnOff = True Then SDK.Execute("SETVAR;RR_GMAIL_IDLE;3||SETVARFROMVAR;RR_GMAIL_INFO;l_set_SendRRGmail||MENU;RRGMAIL_NEWMAIL.SKIN||WAIT;3||SETVAR;RR_GMAIL_INFO;")
                                    End If
                                ElseIf sArray.Length = 5 Then
                                    If gmail_send(sArray(1), sArray(2), sArray(3), sArray(4), SDK.GetUserVar("RR_GMAIL_USRLOGO")) = True Then
                                        RaiseEvent GmailSendEmail()
                                        If MessageOnOff = True Then SDK.Execute("SETVAR;RR_GMAIL_IDLE;3||SETVARFROMVAR;RR_GMAIL_INFO;l_set_SendRRGmail2||MENU;RRGMAIL_NEWMAIL.SKIN||WAIT;3||SETVAR;RR_GMAIL_INFO;")
                                    Else
                                        SDK.ErrScrn("Error found !!!", SDK.GetUserVar("l_set_NoSendRRGmail") & " '" & sArray(4) & "' !!!", "************************************************", 5)
                                    End If
                    
                                End If
                                ProcessCommand = 2
                            End If
                    Last edited by pierrotm777; 02-11-2014, 01:24 PM.

                    Comment


                    • #11
                      i think the issue is this line:
                      If LCase(CMD).Contains("rr_gmail_sendemail;") Then

                      i would code it on this way:
                      Code:
                      'rr_gmail_sendemail;toaddress;subject;body;file
                              If Left(LCase(CMD), 19) = "rr_gmail_sendemail;" Then  '<----- new
                                  AttchedFile = ""
                                  UserName = FuncCls.DecryptPassword(INI.ReadString("Gmail", "Username", ""))
                                  Password = FuncCls.DecryptPassword(INI.ReadString("Gmail", "Password", ""))
                                  sArray = LCase(CMD).Split(";")
                                  Select Case sArray.Length '<----- new
                                      Case 4 '<----- new
                                          If gmail_send(sArray(1), sArray(2), sArray(3), "", SDK.GetUserVar("RR_GMAIL_USRLOGO")) = True Then
                                              If MessageOnOff = True Then SDK.Execute ("SETVAR;RR_GMAIL_IDLE;3||SETVARFROMVAR;RR_GMAIL_INFO;l_set_SendRRGmail||MENU;RRGMAIL_NEWMAIL.SKIN||WAIT;3||SETVAR;RR_GMAIL_INFO;")
                                          End If
                                      Case 5 '<----- new
                                          If gmail_send(sArray(1), sArray(2), sArray(3), sArray(4), SDK.GetUserVar("RR_GMAIL_USRLOGO")) = True Then
                                              If MessageOnOff = True Then SDK.Execute ("SETVAR;RR_GMAIL_IDLE;3||SETVARFROMVAR;RR_GMAIL_INFO;l_set_SendRRGmail2||MENU;RRGMAIL_NEWMAIL.SKIN||WAIT;3||SETVAR;RR_GMAIL_INFO;")
                                          Else
                                              SDK.ErrScrn("Error found !!!", SDK.GetUserVar("l_set_NoSendRRGmail") & " '" & sArray(4) & "' !!!", "************************************************", 5)
                                          End If
                                  End Select '<----- new
                                  RaiseEvent GmailSendEmail
                                  ProcessCommand = 2
                              End If
                      RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
                      RR-Plugin: IBusCommunicatoRR new Updates

                      Comment


                      • #12
                        Originally posted by harryberlin View Post
                        i think the issue is this line:
                        If LCase(CMD).Contains("rr_gmail_sendemail;") Then

                        i would code it on this way:
                        Code:
                        'rr_gmail_sendemail;toaddress;subject;body;file
                                If Left(LCase(CMD), 19) = "rr_gmail_sendemail;" Then  '<----- new
                                    AttchedFile = ""
                                    UserName = FuncCls.DecryptPassword(INI.ReadString("Gmail", "Username", ""))
                                    Password = FuncCls.DecryptPassword(INI.ReadString("Gmail", "Password", ""))
                                    sArray = LCase(CMD).Split(";")
                                    Select Case sArray.Length '<----- new
                                        Case 4 '<----- new
                                            If gmail_send(sArray(1), sArray(2), sArray(3), "", SDK.GetUserVar("RR_GMAIL_USRLOGO")) = True Then
                                                If MessageOnOff = True Then SDK.Execute ("SETVAR;RR_GMAIL_IDLE;3||SETVARFROMVAR;RR_GMAIL_INFO;l_set_SendRRGmail||MENU;RRGMAIL_NEWMAIL.SKIN||WAIT;3||SETVAR;RR_GMAIL_INFO;")
                                            End If
                                        Case 5 '<----- new
                                            If gmail_send(sArray(1), sArray(2), sArray(3), sArray(4), SDK.GetUserVar("RR_GMAIL_USRLOGO")) = True Then
                                                If MessageOnOff = True Then SDK.Execute ("SETVAR;RR_GMAIL_IDLE;3||SETVARFROMVAR;RR_GMAIL_INFO;l_set_SendRRGmail2||MENU;RRGMAIL_NEWMAIL.SKIN||WAIT;3||SETVAR;RR_GMAIL_INFO;")
                                            Else
                                                SDK.ErrScrn("Error found !!!", SDK.GetUserVar("l_set_NoSendRRGmail") & " '" & sArray(4) & "' !!!", "************************************************", 5)
                                            End If
                                    End Select '<----- new
                                    RaiseEvent GmailSendEmail
                                    ProcessCommand = 2
                                End If
                        Yes man, it was my issue ! I don't understand why !!! But now the command that follow run very well:
                        B,87,208,240,71,"BYVARX;SENDER_ALERT;(DONOTHING<<R R_GMAIL_SENDEMAIL;[email protected];urgent;gma il have email;C:\GMAIL\Lighting.jpg)",""

                        Thanks for your help !

                        Comment


                        • #13
                          Great
                          RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
                          RR-Plugin: IBusCommunicatoRR new Updates

                          Comment


                          • #14
                            i hope your other scriptcode works with Left() or without .contains()
                            it's not only a byvarx issue.
                            Last edited by harryberlin; 02-12-2014, 11:19 AM.
                            RR-Skin: BMW OpenBM Skin for E39 [never ending progress :-(]
                            RR-Plugin: IBusCommunicatoRR new Updates

                            Comment


                            • #15
                              Originally posted by harryberlin View Post
                              i hope your other scriptcode works with Left() or without .contains()
                              it's not only a byvarx issue.
                              Yes, in other plugin i use the Left() and not the.contains()

                              Comment

                              Working...
                              X