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

    Alexa in Spanish dont send multi params

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 525 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post