Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - RedDragonManor

Pages: [1]
1
One on one support / RedDragonManor's special echo thread
« on: March 26, 2017, 09:17:38 AM »
I do have another question. How do  I get a different code I guess u would call it like yo u do  in the history 9 EchoToVC that shows up in  the history. I have it to where. when I have Alexa to  tell  Denise open  google  chrome she does that, but I want her to be able to  do  other stuff too like opening my Skype account and doing other stuff, but I dont know how to  get another trigger if u will within the history  so  that I may drag  it open  the command. If I try to apply the EchoToVox to  each  of the other commands she does each one right after another opening google chrome then opening my skype account any help  would be most helpful

2
One on one support / Mysteriously resolved user error
« on: March 23, 2017, 06:28:49 PM »
I'm needing a little help  with coding for setting up Vox commando. I don't know what  else to try.  I have went over and over the instructions  and followed everything step  by  step. I have even  had a friend of mine look  at it and were both  a little stumped. I keep  get and error message
{
  "errorMessage": "Exception: TypeError: Cannot read property 'new' of undefined"
}

The tutorial and even  the written  instructions say  something about this but it has something to do  with  line 18  in  the code but the instructions  say nothing about it its like it cant read this part like its wanting a value of some kind any help  would be most appreciative yours truly Paul  thanks in advanced


exports.handler = function (event, context) {
    try {
          if (event.session.new)
            onSessionStarted({requestId: event.request.requestId}, event.session);
        }
        if (event.request.type === "LaunchRequest") {
            onLaunch(event.request,
                     event.session,
                     function callback(sessionAttributes, speechletResponse) {
                        context.succeed(buildResponse(sessionAttributes, speechletResponse));
                     });
        }  else if (event.request.type === "IntentRequest") {
            onIntent(event.request,
                     event.session,
                     function callback(sessionAttributes, speechletResponse) {
                         context.succeed(buildResponse(sessionAttributes, speechletResponse));
                     });
        } else if (event.request.type === "SessionEndedRequest") {
            onSessionEnded(event.request, event.session);
            context.succeed();
        }
    } catch (e) {
        context.fail("Exception: " + e);
    }

Pages: [1]