• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Never used parameters before...

Windows
4
25
3.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Russ @Royher Figuera
    last edited by Russ Aug 30, 2020, 2:24 AM Aug 29, 2020, 9:25 PM

    @Royher-Figuera, what happens when you do this?
    "Ok Google, preguntarle a Ejecuta Comando ejecutar búsqueda con el parámetro X."

    I found your phrases in the history Google gives me to help train it.
    For this one: ejecutar búsqueda con parámetro USB
    It identified búsqueda as a computer instead of the trigger. I changed that in the training. I did the same for a few of your other phrases too. I hope that helps. The change will take effect after Google approves it in a couple days (hopefully). I submitted for approval just now.

    I also found that google sent trigger = undefined. I can work around that and change the logic so if computer is something but trigger is undefined, it will use the computer value as the trigger. I'm working on that now.
    EDIT: I didn't finish today, but I'll try to finish tomorrow. It's a simple change but I'm running into a deployment problem now.

    Russell VanderMey

    R 1 Reply Last reply Aug 30, 2020, 2:46 AM Reply Quote 0
    • R
      Royher Figuera @Russ
      last edited by Aug 30, 2020, 2:46 AM

      @Russ When I say this:

      "Ok Google, preguntarle a Ejecuta Comando ejecutar búsqueda con el parámetro X."

      Google Home says

      "Lo siento, no puedo ayudarte con eso"

      Thanks again, and let me know When I can try again

      R 1 Reply Last reply Aug 31, 2020, 12:07 PM Reply Quote 0
      • R
        Russ @Royher Figuera
        last edited by Aug 31, 2020, 12:07 PM

        @Royher-Figuera, ok, please try it now. I made the change.

        Russell VanderMey

        R 1 Reply Last reply Sep 3, 2020, 8:45 PM Reply Quote 0
        • R
          Royher Figuera @Russ
          last edited by Sep 3, 2020, 8:45 PM

          @Russ said in Never used parameters before...:

          @Royher-Figuera, ok, please try it now. I made the change.

          @Russ is working now...

          But, one question. We only can say "Ok Google, preguntarle a Ejecuta Comando ejecutar búsqueda con el parámetro X" ?, the long version?

          It´s not posible only say "Ok google, ejecutar* búsqueda con parámetro X" ?

          R 1 Reply Last reply Sep 3, 2020, 9:01 PM Reply Quote 0
          • R
            Russ @Royher Figuera
            last edited by Russ Sep 3, 2020, 9:01 PM Sep 3, 2020, 9:01 PM

            @Royher-Figuera, good question. No, that's not possible. The preguntarle a Ejecuta Comando part tells Google Assistant to use TRIGGERcmd, and the part after that tells TRIGGERcmd what to do. I know it's a lot to say. That's why I like the Smart Home version better, but I know that only allows on or off as parameters.

            Russell VanderMey

            R 1 Reply Last reply Sep 3, 2020, 11:59 PM Reply Quote 0
            • R
              Royher Figuera @Russ
              last edited by Sep 3, 2020, 11:59 PM

              @Russ said in Never used parameters before...:

              @Royher-Figuera, good question. No, that's not possible. The preguntarle a Ejecuta Comando part tells Google Assistant to use TRIGGERcmd, and the part after that tells TRIGGERcmd what to do. I know it's a lot to say. That's why I like the Smart Home version better, but I know that only allows on or off as parameters.

              Wow, 😞 It´s a lot to say...

              But is a good reason to diggin about...

              1 Reply Last reply Reply Quote 0
              • R
                Royher Figuera
                last edited by Oct 21, 2020, 1:48 PM

                Hi @Russ I'm back again...

                Again when I make a searching, the results are the variables of my .bat file.

                For example

                https://www.farmatodo.com.ve/buscar?producto=$10$20$30$4&departamento=Todos&filtros=

                https://www.youtube.com/results?search_query=$10$20$30$4

                https://www.cinecalidad.is/?s=$10$20$30$4

                Before was go Well

                Can You Check, please?

                R 1 Reply Last reply Oct 21, 2020, 11:37 PM Reply Quote 0
                • R
                  Russ @Royher Figuera
                  last edited by Oct 21, 2020, 11:37 PM

                  @Royher-Figuera, in a .bat file, the syntax for a parameter is %1 for the first parameter, and %2 for the second parameter, etc.

                  So you could make a simple batch file that google's something like this:

                  start https://www.google.com/search?q=%1
                  

                  Russell VanderMey

                  R 1 Reply Last reply Oct 24, 2020, 6:38 PM Reply Quote 0
                  • R
                    Royher Figuera @Russ
                    last edited by Oct 24, 2020, 6:38 PM

                    @Russ said in Never used parameters before...:

                    @Royher-Figuera, in a .bat file, the syntax for a parameter is %1 for the first parameter, and %2 for the second parameter, etc.

                    So you could make a simple batch file that google's something like this:

                    start https://www.google.com/search?q=%1
                    

                    @Russ Yes, my mistake.

                    I have a error in my .bat file with a "$" and "%". I compare with my google.bat and this is ok and modified the another files.

                    Thank You

                    1 Reply Last reply Reply Quote 0
                    • I
                      Ivan Kuler
                      last edited by Nov 30, 2020, 8:13 AM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post