Skip to content
uDMBK edited this page May 4, 2021 · 1 revision

Welcome to the Better Sticky Notes wiki!


This wiki serves purely as documentation for the 0.4.0 advanced text editor

Advanced Text Editor

Asset

Value Type: String (3 possible variants 'dynamic text', 'progress bar', 'image')

Usage

  • specifies asset type

Style

Primary Colour

Value Type: ARGB Color

Usage

  • Dynamic Text: text colour
  • Progress Bar: gradient start-point
  • Image: image background colour

Secondary Colour

Value Type: ARGB Color

Usage

  • Dynamic Text: n/a
  • Progress Bar: gradient end-point
  • Image: n/a

Font Style

Value Type: 4 Booleans Usage

  • Dynamic Text: specify if font is bold/italic/underlined/strikeout
  • Progress Bar: n/a
  • Image: n/a

Data

Type

Value Type: String (3 possible variants 'web', 'file', 'fixed')

Usage

  • Dynamic Text: specifies where to get text from
  • Progress Bar: specifies where to get progress amount from
  • Image: specified image location ('fixed' property not valid)

Location (aka Url / File Name / Value)

Value Type: String

Usage

  • Web: specifies url to get text from
  • File: specifies file path to read text from
  • Value: specifies fixed string constant

Extraction Data

Value Type: 2 Strings

Usage

  • Web / File: specify start and end to extract text between from (eg. in the text {'example':'hello, world!'} with extraction start set as {'example':' and end as '} you would get the value hello, world!
  • Value: n/a
  • Null: specifying no value for this property is also valid and will just skip extraction

Refresh Interval

Value Type: Integer (Range: 0 -> 99,999)

Usage

  • Web: specifies the interval to get text from the specified webpage
  • File: specifies the interval to get text from the specified file
  • Value: n/a

Modifications (not available with initial 0.4.0 release)

Modification Type

Value Type: String (2 possible variants 'regex', 'math')

Usage

  • n/a