Date
1 - 5 of 5
Request a simplest example
=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
I'll create an addon regarding braille displayed. Would someone give me
the simplest codes to change something on braille diwplay such as adding a ':' to each uppercase A. I know to import braille but don't know how to use its objects. Thank you very much! |
|
Alberto Buffolino
高生旺, il 17/3/2023, ha scritto:
I'll create an addon regarding braille displayed. Would someone give meAlberto: Hi, I don't know if the most correct way, but try something like: *** import braille text = "your text" region = braille.TextRegion(" {0}".format(text)) region.update() braille.handler.buffer.regions.append(region) braille.handler.buffer.focus(region) braille.handler.buffer.update() braille.handler.update() *** Alberto |
|
=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
Thank you Alberto!
toggle quoted message
Show quoted text
I'll try. On Fri, 17 Mar 2023, Alberto Buffolino wrote:
Date: Fri, 17 Mar 2023 13:56:17 +0100 |
|
=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
Hello Alberto:
text = "your text"If I want to let each displayed A displays as A:, What should I replace "your text" with? I didn't see any changed things on my braille display. On Fri, 17 Mar 2023, 高生旺 wrote: Date: Fri, 17 Mar 2023 21:00:13 +0800 (CST) |
|
Alberto Buffolino
高生旺, il 17/3/2023, ha scritto:
I didn't see any changed things on my braille display.Alberto: Hi, It's difficult to understand what is wrong, in this way. Can you provide your code? Alberto |
|