Navigation

    GUI-O Forum

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. kl3m3n
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 121
    • Best 0
    • Groups 2

    kl3m3n

    @kl3m3n

    Global Moderator

    0
    Reputation
    8
    Profile views
    121
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kl3m3n Follow
    Global Moderator administrators

    Latest posts made by kl3m3n

    • RE: TA Widget support different Text colors

      @sato Ok, I am glad it works now. The unicode sequence is parsed as double quotes, so it needs to be escaped again to not represent the actual escape sequence, but a backslash. GUI-O can then parse this correctly.

      Thanks for the feedback.
      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: TA Widget support different Text colors

      @sato

      Try escaping the \u0022 sequence using another slash, e.g.:

      <font color=\\u0022red\\u0022>
      

      Does this work ok?

      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: TA Widget support different Text colors

      @sato You are missing the escape character. Did this even compile?

      Try (please try copy-paste) the following:

      String var = "13:13 13-07-2022 Ewald Weber";
      String message = "@ta1 TXT:\"<font color=\u0022red\u0022>" + var + "</font>\"\r\n";
      mqttClient.publish(&In[0], &message[0]);
      

      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: NFC function

      @sato Thank you, I will add it to the list (with low priority).

      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: TA Widget support different Text colors

      @sato

      Could be something like this (after creating |TA with UID:ta1):

      String var = "your_variable";
      String message = "@ta1 TXT:\"<font color=\u0022red\u0022>" + var + "</font>\"\r\n";
      

      in case of * delimiter:

      String var = "your_variable";
      String message = "@ta1 TXT:*<font color=\"red\">" + var + "</font>*\r\n";
      

      BR,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: Know the UUID of the connected Gui-O

      @sato said in Know the UUID of the connected Gui-O:

      Hi @kl3m3n,

      appUserName works great. Thanks

      Best regards

      Thank you for the feedback.

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: NFC function

      @sato GUI-O supports NFC, but this feature is currently disabled. I will enable it, but first I just need to think how to expose it to the user. Possibly through hardware components, similarly as RTC (real-time clock).

      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: TA Widget support different Text colors

      @sato Yes you can do it, but it takes a little "trick". There are two ways to do it:

      1. Use double quotes for text (default). For example:
      |TA UID:ta1 X:50 Y:50 TXT:"my text"\r\n
      @ta1 TXT:"<font color=\u0022red\u0022>my red text</font>"\r\n
      

      In this case, the \u0022 is unicode escape for double quotes, which needs to be written like this, otherwise GUI-O will parse the TXT incorrectly when adding the 'font' color attribute.

      1. Use other character for TXT encapsulation (for example * - you have to set this via @gse request - see 'General settings change request' section in the manual):
      |TA UID:ta1 X:50 Y:50 TXT:*my text*\r\n
      @ta1 TXT:*<font color="red">my red text</font>*\r\n
      

      Note that instead of "red" you can use any hex color, e.g., #FFFF00.

      This is not explicitly stated in the manual, so I will correct this.

      BR,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: Know the UUID of the connected Gui-O

      @sato Hello. The feature is implemented in v1.0.14 (should already be available). See the new manual under 'Application user name' section.

      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n
    • RE: Know the UUID of the connected Gui-O

      @sato Hello,

      I have fixed a minor bug in the app and plan to release a new version. I will see if I can do something about your suggestion.

      Best regards,
      kl3m3n

      posted in Comments & Feedback
      K
      kl3m3n