View Single Post
Old 01-18-2025, 01:48 PM   #25
Trender22
Member
Trender22 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2025
Device: Note Air 4C
To further elaborate on one of the points above here is what config for OneNote looks like. Clearly styleMap allows to recognise names of styles in OneNote terms into specific config for the Onyx hack. However to figure out what those style names would be for other apps (even if they do communicate those styles at all) would require debugging if not decompiling the code:
Code:
    "noteConfig" : {
      "compatibleVersionCode" : 0,
      "enable" : true,
      "styleMap" : {
        "highlighter_1" : [
          {
            "type" : 2,
            "value" : "-248"
          },
          {
            "type" : 0,
            "value" : "2"
          },
          {
            "type" : 1,
            "value" : "60.0"
          }
        ],
        "pen_3" : [
          {
            "type" : 2,
            "value" : "-12865536"
          },
          {
            "type" : 1,
            "value" : "10"
          },
          {
            "type" : 0,
            "value" : "1"
          }
        ],
        "highlighter_2" : [
          {
            "type" : 2,
            "value" : "-14417921"
          },
          {
            "type" : 1,
            "value" : "60.0"
          },
          {
            "type" : 0,
            "value" : "2"
          }
        ],
        "pen_2" : [
          {
            "type" : 0,
            "value" : "1"
          },
          {
            "type" : 2,
            "value" : "-2883566"
          },
          {
            "type" : 1,
            "value" : "6.0"
          }
        ],
        "pen_1" : [
          {
            "type" : 1,
            "value" : "6.0"
          },
          {
            "type" : 2,
            "value" : "-156916"
          },
          {
            "type" : 0,
            "value" : "1"
          }
        ],
        "pen_4" : [
          {
            "type" : 1,
            "value" : "12.0"
          },
          {
            "type" : 2,
            "value" : "-16572072"
          },
          {
            "type" : 0,
            "value" : "1"
          }
        ]
      },
      "supportNoteConfig" : true,
      "repaintLatency" : 500,
      "globalStrokeStyle" : {
        "strokeWidth" : 6,
        "enable" : true,
        "strokeColor" : -16777216,
        "strokeExtraArgs" : [

        ],
        "strokeStyle" : 1,
        "strokeParams" : [

        ]
      },
      "drawViewKey" : "com.microsoft.office.airspace.AirspaceInkLayer"
    },
Trender22 is offline   Reply With Quote