Page 1 of 1
Using {} in text
Posted: 22 Nov 2013 21:00
by TheBrain1984
Hi there,
how can I use { and } in a text as text. For example I want to show the string:
{test}
and not the value of the variable test?
Thanks
Regards
Manuel
EDIT: Put the text to be shown in a quotation box.
Re: Using {} in text
Posted: 22 Nov 2013 21:55
by MURTUMA
Put them between these: "
Sorry, I don't know what's that called in English.
Re: Using {} in text
Posted: 22 Nov 2013 22:02
by Martin!
MURTUMA wrote:Put them between these: "
Sorry, I don't know what's that called in English.
Could you give an example?
Re: Using {} in text
Posted: 22 Nov 2013 22:36
by TheBrain1984
Now I tried a lot of combinations:
for example the value of test is foo
- "{test}" --> "foo"
- "{"test"}" --> "test"
- {"test"} --> test
- '{test}' --> 'foo'
- '{'test'}' --> 'test'
- {'test'} --> test
but not the expected {test}
Re: Using {} in text
Posted: 22 Nov 2013 23:33
by TheBrain1984
Ok, finally I found a way.
First I had to make a "script"-action:
and then my final action (in my case a "HTTP request"-action, but for better testing I used the notification-action) and put in the text box:
and got finally
{test}
Re: Using {} in text
Posted: 23 Nov 2013 12:29
by MURTUMA
Sorry, that was just a wild guess. Good thing you stillmanaged to solve that on your own.
Re: Using {} in text
Posted: 02 Dec 2013 17:29
by Martin
Hi,
You can also use the same syntax in an inline script in a regular action like
Notification on Screen.
A text like this should work:
Regards,
Martin
Re: Using {} in text
Posted: 04 Dec 2013 10:30
by TheBrain1984
OK, thanks. Looks a little bit like an inception *g.