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

    Alexa in Spanish dont send multi params

    General Discussion
    2
    3
    115
    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.
    • E
      eocode
      last edited by eocode

      i tried to say to Alexa:

      preguntar a ejecuta comando ejecutar buscar en laptop con parámetros enchiladas verdes
      

      In my program only receipt "verdes", The last param

      Would yo help me to receipt two parameters or more from Alexa?

      My example code:

      import sys, os
      
      if(len(sys.argv) > 1):
          saved_args = sys.argv
          saved_args.pop(0)
          os.system("echo %s >> ~/hola.txt"%("+").join(saved_args))
      else:
          os.system("echo %s >> ~/hola.txt"%"sin parametros")
      

      My configuration:

       {
        "trigger": "Buscar en Google",
        "command": "python ~/Documentos/google.py",
        "offCommand": "python ~/Documentos/google.py",
        "ground": "foreground",
        "voice": "buscar",
        "voiceReply": "Buscando en google",
        "allowParams": "true"
       }
      

      Regards!

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @eocode
        last edited by Russ

        @eocode, thanks for telling me about this problem. It was my fault. When I gave Alexa training examples, I only gave single-word examples. I added some multi-word examples and submitted the update. I hope that will allow you to send multiple words in the parameters field once Amazon approves the update.

        EDIT: They seem to have approved the change, so please try it again. I tested it myself and it worked for me.

        Russell VanderMey

        1 Reply Last reply Reply Quote 1
        • E
          eocode
          last edited by

          Great! I tried to run again and it works

          Thanks Russ for the prompt attention!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post