How to get the two different text which is not known by user in same intent using alexa and dialog flow - alexa-skills-kit

I am working with alexa and dialog flow.
I want to get the title and description from user.
I have implemented #sys.any in same intent.
Help me to get the dynamic changing value from user for multiple times in same intent

Related

I need different button titles for different users in telegram group

I'm going to make vote-bot based on Schulze-method, so I need to show individual buttons for every user. Is it possible?
No possible to make different inline keyboard for each user in same chat at this time.
But I think you can use a button with url parameter contain https://t.me/Bot?start=vote_uniqueId, and when user click it, your bot will receive /start vote_uniqueId. And then you can give they different keyboard to vote now. :)

LiveCycle ES 2.5 Aws_Action field JavaScript

I have a form that I am designing in Adobe LiveCycle ES 2.5 for a client.
Quick background for the project: It involves taking an even older PDF and converting it to allow digital signatures with potential Reject/Accept buttons.
Does anyone know how to determine in the click event (AWS_SUBMIT::click) for the submit button which submit button was actually clicked??
Like the Reject vs Accept button.
The client only has access to Adobe LiveCycle es2.5 workbench/suite.
The AWS_ACTION field's raw value contains the caption of the button that was clicked, but not until it has been clicked - before that, the rawvalue is null. You can put code in the AWS_SUBMIT button click event to do various things based on the value of AWS_ACTION. I have used it before to do different validation depending on the action taken, eg, if the form is rejected, check that they have entered a comment before allowing it to submit, etc.
The possible values for AWS_ACTION match up with the list of user action names you set in that process task in Workbench.

Start Activity in a Fragment

I want to start an activity in a fragment and the activity is just like any other installed applications. eg. Email.
I get the intent of that application from PackageManager, now I want to start that activity in my seperate Fragment. Whenever I use startActivityFromFragment is starts the application in whole screen, but I want to start that activity limited in only that fragment.
What should I do?
Drop the idea as it doesn't really make sense and I can't see that it can be done anyway.
For example if you have a dual-pane layout and want to invoke the contacts app into the right fragment which itself uses a dual-pane layout along with making use of the application bar how would you expect it to look? It's the contacts app that is making the call to setContentView and deciding how to layout itself out, not your app. If I'm mistaken in what you mean and it's your activity then of course you can create a fragment from it and load into your required view.

How to dynamically create the same input fields upon user request (clicking Add More button)?

On the Job Positions page, I would like to have 3 groups of input fields which are static so user can enter Job Name, Job Description, etc. respectively.
I'm not sure what the best approach is but I imagine there would be a button at the bottom which says "Add More". When user clicks on this, it would reveal (say 3) more groups of the input fields. And after entering up to 6 groups, the user can still click "Add More" (perhaps as many times as permissible) to bring up 3 more each time it is clicked.
Hope this is clear enough. I'm slowly getting into the AJAX world.
Thank you.
I would recommend using a framework such as jQuery and use a particular function called append, very easy to do and you'll find the framework simplifying alot of thing for you in the future as well

flex chat/telnet application send/receive same window in TextArea

Just wanting to know if anybody has seen an example of a telnet/chat or other console like FLEX application where you can use the same TextArea as input/ouput area.
I've been trying to modify the app at:
http://livedocs.adobe.com/flex/3/html/17_Networking_and_communications_8.html
but so far, computer says no.
All the implementations I've seen use a combination of TextInput and TextArea.
The challenge is that we'll be using this app to telnet into some old routers and we'll need to do a fair amount of copy/pasting. Based on what I've seen, it seems that I would need to point the mouse into the TextInput in order to be able to right click and paste, which is not very sleak.....
Your thoughts,
Fran
edit Just realized that I had trimmed out what was directly pertaining to the question: I was unable to find anything that used the TextArea for input and output; see the below suggestions if custom-component suggestions are ok.
The TextArea component only fires a change event whenever a user adds input. Whenever you set the text field programmatically, a change event does not fire--you could maybe use that as a way to know what is user input and console "responses" by looking for carriage-returns (\r).
I'm unsure if you have a requirement to maintain the user's input at the bottom-most line (like a console), even after the console responds with something like auto-complete. If that's the case, then something a bit more complex would have to come into play (such as remembering where the user's input started/ended) or the requirement of a single-component console needs to be reconsidered--sleek is nice, but not always necessary.

Resources