input dialog with longer text or confirmation with other

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
angelatwork
Posts: 186
Joined: 12 Feb 2014 01:45

input dialog with longer text or confirmation with other

Post by angelatwork » 05 Aug 2014 11:00

I would greatly appreciate the possibility to write longer questions in input dialog single choice menu (today it does not show all of my text) where it is important that you have the whole text in front of you when you make your choice,

OR...

Have a confirmation dialog with the choice to change the yes or no answer to other words (still just having the true and false outcome) (I am using this option to today to be able to show all the text I want to show with answer input. But it is not easy to get the text including a question to logically result in the answer yes or no, when you should choose between two different options.

Best regards
Best regards,
AngelAtwOrk

angelatwork
Posts: 186
Joined: 12 Feb 2014 01:45

Re: input dialog with longer text or confirmation with other

Post by angelatwork » 05 Aug 2014 11:30

Or could I dabble with the xml file? I looked at it in a text editor but I could not find any labels or whatever you call them that contained yes or no, so I would not know what to change.The xml file seems to be lacking important parts. Are they in a xml schema?

I get a bit frustrated that I don't understand the structure of your scripting language, so I would more easily understand when I am doing something wrong and how to fix it :-). Are your triggers, actions and conditions kinda like macros where we cannot see the scripting? Or is it "hard core" scripting which is not accessible? If it is a kind of macros, would it be possible for you to show the scripting behind at least some of them, so we can learn how to script better in the action script or in the xml file. Or is it not possible.

If I am not making myself clear, I would be very happy if you just could elaborate a bit on how your programming language is built, how it works, how it connects with ordinary Android scripting (in java or other languages one can use).
Best regards,
AngelAtwOrk

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: input dialog with longer text or confirmation with other

Post by Martin » 05 Aug 2014 17:49

The built-in actions, conditions and triggers are written in Java which is compiled and packaged in an apk file. It's not possible for you to see how things internally are implemented and you can not change such internal aspects like text labels or button names of Automagic that are not exposed in the configuration of the action/condition/trigger.
I would also not recommend to edit the XML file containing your flows directly in a text editor since it's not meant to be changed by hand and likely will produce errors when you try to load it.

The values provided in an action Input Dialog should be wrapped to multiple lines when the value is longer than one line. Does the text not wrap on your device?

angelatwork
Posts: 186
Joined: 12 Feb 2014 01:45

Re: input dialog with longer text or confirmation with other

Post by angelatwork » 06 Aug 2014 10:16

Thank you for your answer. No, it only wraps one line. Here is two pics on how the same question looks in the input dialog single choice menu and the confirmation dialog.
Attachments
Screenshot_2014-08-06-12-02-18-1.png
Screenshot_2014-08-06-12-02-18-1.png (91.04 KiB) Viewed 14787 times
Screenshot_2014-08-06-12-00-11-1.png
Screenshot_2014-08-06-12-00-11-1.png (61.76 KiB) Viewed 14787 times
Best regards,
AngelAtwOrk

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: input dialog with longer text or confirmation with other

Post by Martin » 06 Aug 2014 16:34

Ahh, I see what you mean now. Yes, the title is limited to two lines.
I add it to the todo-list to make the Yes/No buttons configurable so you can define your own text.

angelatwork
Posts: 186
Joined: 12 Feb 2014 01:45

Re: input dialog with longer text or confirmation with other

Post by angelatwork » 06 Aug 2014 23:35

Thank you! :-)
Best regards,
AngelAtwOrk

angelatwork
Posts: 186
Joined: 12 Feb 2014 01:45

Re: input dialog with longer text or confirmation with other

Post by angelatwork » 07 Aug 2014 16:56

After reading your post I tried to write all of the information as a list value in input dialog single choice menu, and that worked. Although it's a bit tricky since you have to be careful when writing since your overview is slightly limited :-).
Best regards,
AngelAtwOrk

Locked