Hello,
Given the text containing " I need to place this text in two lines", and i would like to see it as
I need to place <===in line 1
this text in two lines <== in line 2
I tested these these combinations I need to place\nthis text in two lines
I need to place "\n"this text in two lines
and they didn't work.
Is there way to break the lines using some AutoMagic feature?
You have a good example on how to Create a list of lines from a multiline text but the opposite of that is not in the Scrpt examples.
Thank You
Husky
how to break a line in two in notification
Moderator: Martin
how to break a line in two in notification
"Basic research is what I'm doing when I don't know what I'm doing"
Re: how to break a line in two in notification
Use "\r\n" between the lines (without quotes).
-
- Posts: 82
- Joined: 13 Jan 2014 21:39
Re: how to break a line in two in notification
The syntax that works for me is {"\n"}
Re: how to break a line in two in notification
kintrupf, skiptannen
Thank You for the reply.
Unfortunately none of the examples given work for Notification on Statusbar (title and text).
I tried all possible combinations of your examples.
The title contains:
[{global_date}*{global_time}](variations of line break chars)BATTERY OVERHEAT
The text contains:
Overheat temperature is {global_temp}(variations of line break chars)Celsius
From the Log:
ch.gridvision.ppam.androidautomagiclib.util.p: (no such file or directory) for any of the line break variations.
Could that be that Notification On Status bar does not accept line breaks?
Regards
husky
Thank You for the reply.
Unfortunately none of the examples given work for Notification on Statusbar (title and text).
I tried all possible combinations of your examples.
The title contains:
[{global_date}*{global_time}](variations of line break chars)BATTERY OVERHEAT
The text contains:
Overheat temperature is {global_temp}(variations of line break chars)Celsius
From the Log:
ch.gridvision.ppam.androidautomagiclib.util.p: (no such file or directory) for any of the line break variations.
Could that be that Notification On Status bar does not accept line breaks?
Regards
husky
"Basic research is what I'm doing when I don't know what I'm doing"
-
- Posts: 82
- Joined: 13 Jan 2014 21:39
Re: how to break a line in two in notification
husky,
I don't think line breaks work in the action Notification on Statusbar. When I tried it I didn't get errors in the log, but I also didn't get line breaks in the notification. I use it in the action Notification on Screen and it works perfectly.
Hope that helps.
I don't think line breaks work in the action Notification on Statusbar. When I tried it I didn't get errors in the log, but I also didn't get line breaks in the notification. I use it in the action Notification on Screen and it works perfectly.
Hope that helps.
Re: how to break a line in two in notification
skiptannen,
It looks like you're right.
I will not pursue the line break in the tnotification on statusbar anymore.
Thanks anyways to all.
Post closed from my side.
Regards
Husky
It looks like you're right.
I will not pursue the line break in the tnotification on statusbar anymore.
Thanks anyways to all.
Post closed from my side.
Regards
Husky
"Basic research is what I'm doing when I don't know what I'm doing"