{
  "ml": {
    "analyzed_at": "2026-11-17T22:26:33Z",
    "files": [
      {
        "lvl": 100,
        "prob": 0.3181938,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      }
    ],
    "lvl": 100,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.3181938,
    "v": "7",
    "version": "v20.20"
  },
  "path": "LTMacros.dotm",
  "raw": {
    "files": [
      {
        "ctx": [
          {
            "ln": 1043,
            "s": "\u0026²BõvÚþ°Ìþ\u0003ĀĀÿÿ\u0003ĀPK\u0003\u0004\u0014Ā\u0006Ā\bĀĀĀ!Ā\u001e\u001a·ïĀĀĀN\u0002ĀĀ\u000bĀ\b\u0002_rels/.rels ¢\u0004\u0002( Ā\u0002ĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀ"
          },
          {
            "ln": 1409,
            "s": "ĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀ¬ÁjÃ0\f@ïýÑ½QÚÁ\u0018£N/cÐÛ\u0018Ù\u0007\b[IL\u0013ÛØj×þý"
          },
          {
            "ln": 1842,
            "s": "ï!Y´_áo\u001b]Aó\u0001ĀĀÿÿ\u0003ĀPK\u0003\u0004\u0014Ā\u0006Ā\bĀĀĀ!Ā¡ÎÎg\u001d\u0003ĀĀ%\fĀĀ\u0011ĀĀĀword/document.xml¤ÛnÛ0\f@ß\u0007ì\u001f\u0002¿§/¹ÔhRdÉ:ôa@°n\u001f Èò\u0005³$Ct_?Ê÷Í[a»yd\u003c¢IÖÃã¥³\u000b*\u0011|kÙw\u000bkF9\u0011AÂ£­õãûÓ|cÍÆ\u003cÀ©àtk½Re=î\u003e~x¸ú 9£\\ÏĀÁÍÈÖµÎ|\u0014)Ãê%D\n%B}G\u0004C\"\f"
          },
          {
            "ln": 2687,
            "s": "o_LË¢ö~¿û\rĀĀÿÿ\u0003ĀPK\u0003\u0004\u0014Ā\u0006Ā\bĀĀĀ!Ā¹\u0014kQI\u0001ĀĀ;\u0005ĀĀ\u001cĀ\b\u0001word/_rels/document.xml.rels ¢\u0004\u0001( Ā\u0001ĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀ"
          },
          {
            "ln": 257745,
            "s": "mlPK\u0001\u0002-Ā\u0014Ā\u0006Ā\bĀĀĀ!Ā\u0017éÁn\u0001\u0001ĀĀÊ\u0002ĀĀ\u001eĀĀĀĀĀĀĀĀĀĀĀĀĀ:©\u0003Āword/_rels/vbaProject.bin.relsPK\u0001\u0002-Ā\u0014Ā\u0006Ā\bĀĀĀ!Āudÿ\b\u0001ĀĀñ\u0001ĀĀ\u0017ĀĀĀĀĀĀĀĀĀĀĀĀĀwª\u0003Āword/customizations.xmlPK\u0001\u0002-Ā\u0014Ā\u0006Ā\bĀĀĀ!ĀÃÀF\u0002ĀĀ¿\u0019ĀĀ\u0019"
          },
          {
            "ln": 258436,
            "s": "!Āuáld\u0001ĀĀº\u0002ĀĀ\u0010ĀĀĀĀĀĀĀĀĀĀĀĀĀNé\u0003ĀdocProps/app.xmlPK\u0005\u0006ĀĀĀĀ\u0016Ā\u0016ĀÌ\u0005ĀĀèë\u0003ĀĀĀ"
          }
        ],
        "depth": 0,
        "facts": {
          "funcs": [
            [
              "cmdNon_KeyDown",
              362
            ],
            [
              "UserForm_Initialize",
              528
            ],
            [
              "cmdMonter_Click",
              3090
            ],
            [
              "cmdDescendre_Click",
              3640
            ],
            [
              "cmdOK_Click",
              4217
            ],
            [
              "cmdNon_Click",
              4956
            ],
            [
              "cmdAnnuler_Click",
              5696
            ],
            [
              "Splitter",
              6081
            ],
            [
              "lstDocFiches_KeyDown",
              420
            ],
            [
              "UserForm_Initialize",
              592
            ],
            [
              "cmdMonter_Click",
              3053
            ],
            [
              "cmdDescendre_Click",
              3627
            ],
            [
              "cmdOuvrir_Click",
              4229
            ],
            [
              "cmdAjouter_Click",
              5158
            ],
            [
              "cmdSuppr_click",
              6556
            ],
            [
              "UserForm_Resize",
              7045
            ],
            [
              "ResetFormHeight",
              7711
            ],
            [
              "ResetFormWidth",
              7934
            ],
            [
              "UserForm_Terminate",
              8111
            ],
            [
              "EnregListeDocs",
              8275
            ],
            [
              "InitMessages",
              170
            ],
            [
              "HasLanguageChanged",
              30556
            ],
            [
              "GetMessage",
              30810
            ],
            [
              "LoadSettings",
              85
            ],
            [
              "GetSettings",
              246
            ],
            [
              "Lire_LogitermIni",
              423
            ],
            [
              "Lire_LogibarIni",
              2695
            ],
            [
              "ProcessID",
              4807
            ],
            [
              "UserName",
              5667
            ],
            [
              "AutoExit",
              2983
            ],
            [
              "AutoExec",
              3012
            ],
            [
              "RechargerBarre",
              6897
            ],
            [
              "DesactiverSynchroDef",
              15055
            ],
            [
              "MAJ_VarCourantes",
              15801
            ],
            [
              "EcrireMsWordLog",
              16571
            ],
            [
              "ListesModifiees",
              18453
            ],
            [
              "RechargerDeroulant",
              20961
            ],
            [
              "cmdCreerFiche",
              24236
            ],
            [
              "cmdEnregFiche",
              25550
            ],
            [
              "LireChamp",
              36490
            ],
            [
              "LireDernierDomSouRem",
              37827
            ],
            [
              "InserChamp",
              38748
            ],
            [
              "cmdInserDom",
              39463
            ],
            [
              "cmdInserSou",
              39571
            ],
            [
              "cmdInserRem",
              39675
            ],
            [
              "InsererDomSouRem",
              39779
            ],
            [
              "RangeDebutFiche",
              41265
            ],
            [
              "DebutFiche",
              42369
            ],
            [
              "OkToGo",
              43423
            ],
            [
              "cmdHabilFiche",
              43908
            ],
            [
              "HabillerEnFiche",
              44433
            ],
            [
              "GrilleFiche",
              51587
            ],
            [
              "cmdAccolades",
              51809
            ],
            [
              "FocusClientsComboBox",
              52419
            ],
            [
              "EncoderCarAccentues2",
              55233
            ],
            [
              "OpenRunDialog",
              56289
            ],
            [
              "PauseOneSecond",
              56489
            ],
            [
              "StartExe",
              56626
            ],
            [
              "cmdRechLogiTerm",
              56890
            ],
            [
              "cmdLogiTrans",
              58896
            ],
            [
              "RemoveQueryChars",
              64656
            ],
            [
              "cmdRechExterne",
              65909
            ],
            [
              "EncoderCarAccentues",
              66936
            ],
            [
              "TermiumEncode",
              68260
            ],
            [
              "UrlEncode",
              69033
            ],
            [
              "Parser",
              69802
            ],
            [
              "Segmenter",
              72492
            ],
            [
              "cmdAidEnLigne",
              73436
            ],
            [
              "cmdCollerTexte",
              74807
            ],
            [
              "Recoudre",
              76461
            ],
            [
              "ParseSelBtxNatrad",
              78511
            ],
            [
              "MonSplit",
              79807
            ],
            [
              "MonInStrRev",
              80464
            ],
            [
              "DisableConfirmations",
              80812
            ],
            [
              "EnableConfirmations",
              80900
            ],
            [
              "cmdNettoyer",
              80988
            ],
            [
              "RemplacementsNettoyage",
              83905
            ],
            [
              "cmdSelDocFiches",
              90894
            ],
            [
              "cmdEditeurBalises",
              91928
            ],
            [
              "Modif",
              93481
            ],
            [
              "EnregConfig",
              94270
            ],
            [
              "ErrStd",
              96279
            ],
            [
              "Effacer",
              98481
            ],
            [
              "DiagLog",
              98763
            ],
            [
              "cmdSynchroDef",
              99200
            ],
            [
              "BasculerWinTaskbar",
              103366
            ],
            [
              "FlecheVBas",
              104293
            ],
            [
              "FlecheVHaut",
              106255
            ],
            [
              "Bind",
              108259
            ],
            [
              "ClearBindFleches",
              108472
            ],
            [
              "MonReplace",
              109357
            ],
            [
              "cmdSelDocFiches_2007",
              110151
            ],
            [
              "cmdCreerFiche_2007",
              110320
            ],
            [
              "cmdHabilFiche_2007",
              110392
            ],
            [
              "cmdEnregFiche_2007",
              110464
            ],
            [
              "cmdInserDom_2007",
              110536
            ],
            [
              "cmdInserSou_2007",
              110604
            ],
            [
              "cmdInserRem_2007",
              110672
            ],
            [
              "cmdCollerTexte_2007",
              110740
            ],
            [
              "cmdAccolades_2007",
              110814
            ],
            [
              "cmdNettoyer_2007",
              110884
            ],
            [
              "cmdSynchroDef_2007",
              110952
            ],
            [
              "cmdLogiTrans_2007",
              111024
            ],
            [
              "cmdRechLogiTerm_2007",
              111094
            ],
            [
              "cmdRechExterne_2007",
              111170
            ],
            [
              "cmdAidEnLigne_2007",
              111244
            ],
            [
              "OnGetCompteDomaines_2007",
              111316
            ],
            [
              "OnGetCompteSources_2007",
              111611
            ],
            [
              "OnGetCompteRemarques_2007",
              111724
            ],
            [
              "OnGetLabelDomaines_2007",
              111869
            ],
            [
              "OnGetLabelSources_2007",
              112103
            ],
            [
              "OnGetLabelRemarques_2007",
              112239
            ],
            [
              "OnSetMemorDomaine_2007",
              112407
            ],
            [
              "OnSetMemorSource_2007",
              112612
            ],
            [
              "OnSetMemorRemarque_2007",
              112798
            ],
            [
              "cmdOnSelectDomaines_2007",
              112984
            ],
            [
              "cmdOnSelectSources_2007",
              113342
            ],
            [
              "cmdOnSelectRemarques_2007",
              113622
            ],
            [
              "SelCourDomSouRem",
              113904
            ],
            [
              "LireConfig",
              114944
            ],
            [
              "RetournerCompte",
              115697
            ],
            [
              "RetournerTexte",
              116457
            ],
            [
              "RetournerIndex",
              117889
            ],
            [
              "ManipulerBarre",
              119798
            ],
            [
              "LogiTerm_NettoyerProchainTerme",
              125471
            ],
            [
              "LogiTerm_RemplacerNombre",
              126960
            ],
            [
              "LogiTerm_RemplacerNombres_FRAENG_1",
              127797
            ],
            [
              "LogiTerm_RemplacerNombres_ENGFRA_1",
              129015
            ],
            [
              "CleanRangeL",
              130081
            ],
            [
              "Trouver",
              130686
            ],
            [
              "Is2007AndUp",
              131352
            ],
            [
              "PTA_Inverse2Mots",
              131771
            ],
            [
              "PTA_Inverse3Mots",
              132043
            ],
            [
              "PTA_Inverse4Mots",
              132423
            ],
            [
              "PTA_Inv2Caracteres",
              132998
            ],
            [
              "ShowOpen",
              8464
            ],
            [
              "sByteArrayToString",
              18284
            ],
            [
              "ShowFileDialog",
              19064
            ]
          ],
          "imp": [
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "com",
              "ADODB.Stream"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "shell32",
              "ShellExecuteA"
            ],
            [
              "hhctrl.ocx",
              "HtmlHelpA"
            ],
            [
              "user32",
              "GetActiveWindow"
            ],
            [
              "user32",
              "FindWindowA"
            ],
            [
              "user32",
              "GetWindowLongA"
            ],
            [
              "user32",
              "SetWindowLongA"
            ],
            [
              "advapi32",
              "GetUserNameA"
            ],
            [
              "kernel32",
              "CreateToolhelp32Snapshot"
            ],
            [
              "kernel32",
              "Process32First"
            ],
            [
              "kernel32",
              "Process32Next"
            ],
            [
              "kernel32",
              "CloseHandle"
            ],
            [
              "shell32",
              "ShellExecuteA"
            ],
            [
              "hhctrl.ocx",
              "HtmlHelpA"
            ],
            [
              "user32",
              "GetActiveWindow"
            ],
            [
              "user32",
              "FindWindowA"
            ],
            [
              "user32",
              "GetWindowLongA"
            ],
            [
              "user32",
              "SetWindowLongA"
            ],
            [
              "advapi32",
              "GetUserNameA"
            ],
            [
              "kernel32",
              "CreateToolhelp32Snapshot"
            ],
            [
              "kernel32",
              "Process32First"
            ],
            [
              "kernel32",
              "Process32Next"
            ],
            [
              "kernel32",
              "CloseHandle"
            ],
            [
              "user32",
              "GetAsyncKeyState"
            ],
            [
              "kernel32",
              "Sleep"
            ],
            [
              "user32",
              "keybd_event"
            ],
            [
              "user32",
              "GetForegroundWindow"
            ],
            [
              "kernel32",
              "Sleep"
            ],
            [
              "user32",
              "keybd_event"
            ],
            [
              "user32",
              "GetForegroundWindow"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "com",
              "Scripting.FileSystemObject"
            ],
            [
              "kernel32",
              "GlobalAlloc"
            ],
            [
              "kernel32",
              "GlobalFree"
            ],
            [
              "kernel32",
              "GlobalLock"
            ],
            [
              "kernel32",
              "GlobalUnlock"
            ],
            [
              "kernel32",
              "RtlMoveMemory"
            ],
            [
              "kernel32",
              "GlobalAlloc"
            ],
            [
              "kernel32",
              "GlobalFree"
            ],
            [
              "kernel32",
              "GlobalLock"
            ],
            [
              "kernel32",
              "GlobalUnlock"
            ],
            [
              "kernel32",
              "RtlMoveMemory"
            ]
          ],
          "metrics": {
            "archive": {
              "compressed_size": 254036,
              "compression.method_counts.deflate": 22,
              "compression.ratio": 0.37,
              "crc_collision_count": 0,
              "directory_count": 0,
              "double_extension_count": 0,
              "duplicate_member_count": 0,
              "entry_comment_count": 0,
              "eocd_signature_count": 1,
              "executable_count": 5,
              "extra_field_size": 0,
              "file_count": 22,
              "format.regular_count": 22,
              "hidden_file_count": 1,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 22,
              "max_filename_length": 34,
              "member_count": 22,
              "misplaced_executable_count": 5,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 0,
              "security.encrypted_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_dominant_count": 22,
              "timing.mtime_dominant_ratio": 1,
              "timing.mtime_spread_seconds": 0,
              "timing.mtime_unique_count": 1,
              "timing.mtime_unique_ratio": 0.05,
              "timing.sentinel_mtime_count": 0,
              "uncompressed_size": 693363,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 10.23
            },
            "binary": {
              "peak_region_bytes": 250880,
              "peak_region_entropy": 7.85
            },
            "file": {
              "entropy": 7.98,
              "size": 258506
            },
            "functions": {
              "count": 138
            },
            "imports": {
              "count": 48
            },
            "office": {
              "macro_count": 4,
              "ooxml.max_entry_size": 541184,
              "vba.avg_identifier_length": 15.11,
              "vba.createobject_count": 9,
              "vba.createobject_non_literal_count": 0,
              "vba.declare_count": 39,
              "vba.declare_non_literal_count": 0,
              "vba.distinct_trigger_count": 3,
              "vba.getobject_count": 0,
              "vba.getobject_non_literal_count": 0,
              "vba.identifier_entropy": 5.01,
              "vba.module_count": 9,
              "vba.project_size": 581805,
              "vba.total_logical_lines": 4832,
              "vba.trigger_handler_count": 4
            }
          }
        },
        "id": 0,
        "ident": {
          "trust": "unsigned",
          "producer": {
            "value": "Microsoft Office Word",
            "source": "office.application",
            "verified": false
          }
        },
        "mol": "K(Li)O(As₂)H₆(Db₇F₈HfMg₂Os₃Po)Md₃(InPd₃Pt₄)",
        "path": "LTMacros.dotm",
        "risk": 21,
        "sha": "bab8265e2fe2b6150821f17bffbe384accd72cf9e48bd72d41e04e83bf77220e",
        "size": 258506,
        "traits": [
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Office macro-enabled filename extension",
            "id": "metadata/document/office/macro::macro-enabled-extension"
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Word OOXML VBA project",
            "id": "metadata/document/office/macro::word-vba-project-value"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Large OOXML archive member",
            "id": "metadata/document/office/markup::ooxml-large-archive-member"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Document application is Microsoft Office",
            "id": "metadata/document/office/properties::office-application-microsoft-office"
          },
          {
            "conf": 0.93,
            "crit": 3,
            "desc": "VBA declares a ShellExecute import",
            "id": "metadata/import/library::vba-declare-shellexecute",
            "spans": [
              [
                1129,
                13
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBS helper strips a variable-held token",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/encoding/shape/escape::vbs-replace-variable-with-empty-helper"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Multiple French function-word tokens",
            "from": [
              {
                "file": 6,
                "line": 34,
                "off": 1004
              },
              {
                "file": 2,
                "line": 35,
                "off": 1242
              },
              {
                "file": 4,
                "line": 146,
                "off": 5458
              },
              {
                "file": 3,
                "line": 181,
                "off": 6641
              },
              {
                "file": 1,
                "line": 10,
                "off": 477
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french",
            "uses": [
              61,
              62,
              63,
              64,
              65
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Five contiguous long VB comments",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/comment::contiguous-long-vb-comment-block"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBA mean declared identifier length \u003e=14",
            "id": "metadata/lang/source/naming/population::vba-long-mean-identifier-length"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "ReDim Preserve array syntax reference",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/data/collection/array::vbs-redim-preserve-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Iterates attached and global Word templates",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/data/document/open::word-template-iteration"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "VBA creates an ADODB.Stream COM object",
            "id": "micro-behaviors/data/stream/create::createobject-adodb-stream",
            "spans": [
              [
                1121,
                12
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript assigns a Mid substring",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/string/access::vbs-assigned-mid-substring"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Indexed Mid near constant step across lines",
            "from": [
              {
                "file": 4,
                "line": 60,
                "off": 1598
              },
              {
                "file": 1,
                "line": 3195,
                "off": 116260
              }
            ],
            "id": "micro-behaviors/data/string/access::vbs-mid-multiline-stride-walk",
            "uses": [
              15,
              16
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript extracts one indexed Mid character",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/data/string/access::vbs-mid-single-character"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "VBScript Mid uses variable index and width",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/string/access::vbs-mid-variable-width"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Small constant increment assignment",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/string/access::vbs-variable-constant-step-addition"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "VB Chr-family function-name reference",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/string/conversion::vb-chr-function-reference"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "VB6 Unicode string to bytes",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/data/string/conversion::vb6-unicode-string-to-bytes"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "VB Replace function-name reference",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/string/replace::vb-replace-function-reference"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "VB6 Kill file deletion statement",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/fs/delete/file/command::vb6-kill-file-source"
          },
          {
            "atk": "T1083",
            "conf": 0.88,
            "crit": 3,
            "desc": "For Each loop iterates folder files",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/fs/directory/readdir/language::wsh-for-each-files"
          },
          {
            "atk": "T1137",
            "conf": 0.9,
            "crit": 3,
            "desc": "References an Office startup folder",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/fs/path/autostart::office-startup-folder-reference"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Path separator before office or PDF filename",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/fs/path/temporary-artifact::document-subpath-literal"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls a stream LoadFromFile method",
            "from": [
              {
                "file": 4,
                "line": 46,
                "off": 1135
              }
            ],
            "id": "micro-behaviors/fs/read/stream::stream-load-from-file",
            "uses": [
              28,
              66
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "ADODB.Stream object",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/write/file/stream::adodb-stream"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Creates an ADODB.Stream COM object",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/write/stream::adodb-stream-object"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "ADODB.Stream ProgID",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/write/stream::adodb-stream-progid"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "VBA Open For Output file write",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/fs/write/vba::vba-open-for-output"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "GetAsyncKeyState named, not imported",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/hardware/input/keyboard/poll::get-async-key-state-str"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "VBA Declare imports GlobalAlloc",
            "id": "micro-behaviors/mem/alloc/heap::vba-declare-globalalloc",
            "spans": [
              [
                1473,
                11
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "VBA Declare imports a memory-copy primitive",
            "id": "micro-behaviors/mem/copy::vba-declare-memcopy-primitive",
            "spans": [
              [
                1906,
                13
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "CreateObject and COM ProgID references co-occur",
            "from": [
              {
                "file": 7,
                "line": 48,
                "off": 1506
              },
              {
                "file": 4,
                "line": 46,
                "off": 1121
              },
              {
                "file": 1,
                "line": 497,
                "off": 21674
              }
            ],
            "id": "micro-behaviors/os/com/automation::createobject-with-com-progid-references",
            "uses": [
              34,
              35
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "FileSystemObject ProgID string",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/os/com/automation::filesystemobject-progid"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "CreateObject call text",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/os/com/instantiation::createobject-reference"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "WSH instantiates FileSystemObject",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/os/com/instantiation::filesystemobject-constructor"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "AutoIt ShellExecute opens a file",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/handler/open::autoit-shell-execute-call"
          },
          {
            "atk": "T1057",
            "conf": 0.92,
            "crit": 3,
            "desc": "VB6 Process32First alias",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/enumerate/snapshot::process32-first-vb6"
          },
          {
            "atk": "T1057",
            "conf": 0.92,
            "crit": 3,
            "desc": "VB6 Process32Next alias",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/enumerate/snapshot::process32-next-vb6"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBA identifiers have high character entropy",
            "id": "objectives/anti-static/obfuscation/document/renaming::vba-high-identifier-entropy"
          },
          {
            "atk": "T1027,T1059.005",
            "conf": 0.9,
            "crit": 3,
            "desc": "VBA sets an object window visibility",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "objectives/anti-static/obfuscation/padding::vba-hidden-object-window"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "VBA FileSystemObject COM import",
            "id": "well-known/lib/runtime/scripted/windows-script-host::createobject-scripting-fso",
            "spans": [
              [
                1506,
                26
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "OOXML ZIP end-of-central-directory record",
            "id": "metadata/document/office/markup::ooxml-eocd-record",
            "spans": [
              [
                258484,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "OOXML root relationships part",
            "id": "metadata/document/office/markup::ooxml-root-relationships",
            "spans": [
              [
                1091,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Word document relationships part",
            "id": "metadata/document/office/markup::ooxml-word-relationships-part",
            "spans": [
              [
                2735,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Word document XML part",
            "id": "metadata/document/office/markup::word-document-part"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/scripted::dim-declaration"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/scripted::end-block-statement"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript For loop statement",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/scripted::for-to-loop"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/scripted::function-declaration"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "VB-family error suppression",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/scripted::on-error-resume"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript Set object assignment",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/scripted::set-object"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/scripted::sub-declaration"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"dans\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"avec\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"nous\"",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"vous\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"cette\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-5"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Calls a LoadFromFile method",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/read/stream::load-from-file-call"
          }
        ],
        "type": "docx"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"LogiTerm\"\r\nOption Explicit\r\n\r\nPrivate Const sVersionLogiterm As String = \"5.5\"\r\nPrivate Const sVersionBarre As String = \"LT5-13AVR17\"\r\n\r\n' ****************************** VERSION LOGITERM 5.0 ******************************\r\n' 11 jun 09: la largeur des dï¿½roulants est dï¿½sormais adaptï¿½e au contenu, toujours\r\n' 11 jun 09: boutons bloquï¿½s si modï¿½le arborescent\r\n' 17 jun 09: largeur des dï¿½roulants dï¿½sormais imposï¿½e ï¿½ chaque lancement; DATHR dans msword.log\r\n' 29 jun 09: rï¿½forme \"RechargerBarre\"\r\n'  3 jul 09: neutraliser le sï¿½parateur de date cmdEnreg\r\n'  7 jul 09: sï¿½parateur de date\r\n'  8 jul 09: modifs pour W2007\r\n' 14 jul 09: cmdLogiTrans remaniï¿½ selon LT4\r\n' 31 jul 09: logi024 dans \\config\\ et non plus dans \\int\\\r\n'  5 aou 09: Champ HIS alimentï¿½ ï¿½ partir de AUTEU= dans logibar.ini (GetSettings().NomAuteur)\r\n' 23 oct 09: Ajoutï¿½ cmbEditeurBalises\r\n' 19 nov 09: Ajoutï¿½ valeur par dï¿½faut de fichier d'aide, Barre pigiste (ltw5pro_f.chm)\r\n'            Petit correctif au dï¿½but de cmdEnregFiche (document sans nom)\r\n' 22 dec 09: Modifiï¿½ AutoExec pour \"logiterm.dotm\" - JFR\r\n'            Ajoutï¿½ premiï¿½re macro LogiTerm_RemplacerNombres\r\n'  4 jan 10: Macros Private/Public\r\n'  8 jan 10: Ajoutï¿½ Err.Clear ï¿½ la fin de AutoExec\r\n'     "
          },
          {
            "col": 8,
            "line": 30,
            "ln": 1593,
            "s": "ion API\r\n'Office 2010 x64 MW 10-11-10\r\n'Declare Sub Sleep Lib \"kernel32\" (ByVal dwMilliseconds As Long)\r\n#If VBA7 Then\r\n    Private Declare PtrSafe Sub S"
          },
          {
            "col": 57,
            "line": 34,
            "ln": 1769,
            "s": "Val ms As LongPtr)\r\n    Private Declare PtrSafe Sub keybd_event Lib \"user32\" ( _\r\n        ByVal bVk As Byte, _\r\n        ByVal bScan As Byte, _\r\n        ByVal d"
          },
          {
            "col": 20,
            "line": 39,
            "ln": 1966,
            "s": "raInfo As LongPtr)\r\n    Private Declare PtrSafe Function GetForegroundWindow Lib \"user32\" () As LongPtr\r\n    \r\n#Else\r\n    Private Declare Sub Sleep Lib \"kernel32\" (ByVal ms"
          },
          {
            "col": 28,
            "line": 49,
            "ln": 2363,
            "s": "n GetForegroundWindow Lib \"user32\" () As Long\r\n#End If\r\n\r\n\r\n\r\nPrivate Const INPUT_KEYBOARD = 1\r\nPrivate Const KEYEVENTF_UNICODE = \u0026H4\r\nPrivate Const K"
          },
          {
            "col": 19,
            "line": 64,
            "ln": 2715,
            "s": "NOMOVE = \u0026H2\r\nPrivate Const SWP_NOSIZE = \u0026H1\r\nPrivate Const SWP_SHOWWINDOW = \u0026H40\r\n\r\n\r\nPublic sDebogage As String ' Derniï¿½re info de dï¿½bogage\r\nPrivate sAutoExec As String ' Dernier action effectuï¿½e "
          },
          {
            "col": 1,
            "line": 71,
            "ln": 2937,
            "s": "Private bAreConfirmationsDisabled As Boolean\r\n\r\nSub AutoExit()\r\n\r\nEnd Sub\r\n\r\nSub AutoExec()\r\n    Dim sLocDiag As String, sLogiTermDot As String\r\n    Dim bBarrePresente As Boolean\r\n    Dim oDOT As AddIn\r\n    \r\n    ' Intialisation\r\n    bAreConfirmationsDisabled = False\r\n    \r\n    ' MANIPUL"
          },
          {
            "col": 34,
            "line": 96,
            "ln": 3610,
            "s": "dot\"\r\n    End If\r\n\r\n    bBarrePresente = False\r\n    For Each oDOT In Application.AddIns\r\n       If LCase(oDOT.Name) = sLogiTermDot Then\r\n           If Not oDOT.Inst"
          },
          {
            "col": 15,
            "line": 106,
            "ln": 3890,
            "s": "t For 'Pour empecher word de planter sur des macros/addin pas a nous\r\n       End If\r\n    Next oDOT\r\n                                                              \r\n   sLocDiag = \"AutoExec-02\"\r\n   "
          },
          {
            "col": 33,
            "line": 114,
            "ln": 4269,
            "s": "Then\r\n        If Dir(GetSettings().CheminExe \u0026 \"\\ltrans.exe\") = \"\" Then\r\n            Application.AddIns(sLogiTermDot).Delete\r\n            Application.AddIns(\"LTMacros.dot\").Delete\r\n       "
          },
          {
            "col": 3,
            "line": 161,
            "ln": 6359,
            "s": "  ' ********** 3. LIRE LES INI, MESSAGES, ETC. *********\r\n    Call MAJ_VarCourantes ' Maintenant que tou"
          },
          {
            "col": 44,
            "line": 175,
            "ln": 6844,
            "s": " \" \u0026 Err.Number, vbExclamation, sLocDiag\r\n\r\nEnd Sub\r\n\r\nPrivate Sub RechargerBarre()\r\n\r\n    Dim sListeInactive As String\r\n\r\n    ' Test: logiterm.dot inaccessible\r\n    sDebogage = \"IBUL-00\"\r\n    On Error Resume Next\r\n    Err.Clear\r\n    CommandBars(\"LogiTerm\").Controls(1).Tag = \"TEST\"\r\n    If Err.Number \u003c\u003e 0 Then\r\n        Open GetSettings().CheminMon \u0026 \"\\logfiles\\logibar.err\" For Output As #6: sDebogage = \"90302\"\r\n        Close #6: sDebogage = \"90303\"\r\n        Exit Sub\r\n    End If\r\n\r\n    ' Nommer les infobulles des boutons Insï¿½rer; vider les listes non assignï¿½es (cont"
          },
          {
            "col": 22,
            "line": 195,
            "ln": 7453,
            "s": "aitErreur\r\n    sDebogage = \"IBUL-01\"\r\n    \r\n    Dim sDomSouRem As String ' : Dim sBalise As String: Dim sSelCourante As String\r\n    sDomSouRem = GetSettings().DomSouHis\r\n    Dim sChamps As Variant\r\n    sChamps = Segmenter(sDomSouRem, \"|\")\r\n    sDebogage = \"IBUL-02\"\r\n\r\n    If GetSe"
          },
          {
            "col": 28,
            "line": 234,
            "ln": 10175,
            "s": "rm\").Controls(6).TooltipText = \"Insert into \" \u0026 sChamps(0)\r\n        CommandBars(\"LogiTerm\").Controls(7"
          },
          {
            "col": 29,
            "line": 239,
            "ln": 10590,
            "s": "m\").Controls(11).TooltipText = \"Paste as Unformatted Text\" ' A0062, C0118\r\n        CommandBars(\"LogiT"
          },
          {
            "col": 1,
            "line": 251,
            "ln": 11573,
            "s": "    End If\r\n    sDebogage = \"IBUL-03\"\r\n    \r\n    ' Installation avec modï¿½le arborescent: condamner les listes\r\n    If GetSettings().PremierChamp = \"%ARBO%\" Then\r\n        CommandBars(\"LogiTerm\")."
          },
          {
            "col": 41,
            "line": 263,
            "ln": 12159,
            "s": "\n    Else\r\n        ' Imposer un message \"Inactif\" si la liste n'est pas paramï¿½trï¿½e\r\n        If sCha"
          },
          {
            "col": 3,
            "line": 288,
            "ln": 13219,
            "s": "  sDebogage = \"IBUL-04\"\r\n    \r\n    Dim oModele As Template\r\n    For Each oModele In Templates\r\n        If LCase(oModele.Name) = \"logiterm.dot\" Then\r\n            oModele.Save ' MsgBox \"Saving...\"\r\n        End If\r\n        ' MsgBox oModele.Name \u0026 \"...\"\r\n    Next oModele\r\n\r\n    ' Rï¿½ï¿½crire les infobulles, selon la langue de logibar.ini (provenant de LT4)\r\n    ' Si la langue a ï¿½tï¿½ mise ï¿½ jour, par LT4, recharger les listes (ï¿½ cause de \u003cDUPLICATE\u003e)\r\n    ' If GetSettings().LangInterf \u003c\u003e GetSettings().LangueExecu Then\r\n    'If bChangerLangue = True Or ListesModifiees = True Then\r\n        ' Mettre ï¿½ jour la variable et l'ï¿½crire dans le INI\r\n        'GetSettings().LangInterf = GetSettings().LangueExecu\r\n        'Call EnregConfig(\"LGBAR\", GetSettings().LangInterf)\r\n        ' Rï¿½ï¿½crire les infobulles\r\n        ' Recharger les dï¿½roulants\r\n        \r\n    'Call RechargerDeroulant(\"logi003.txt"
          },
          {
            "col": 12,
            "line": 309,
            "ln": 14145,
            "s": "echargerDeroulant(\"logi004.txt\", 9) 'bEnregModele = True\r\n    \r\n    'ElseIf ListesModifiees = True Then\r\n'        ' Recharger les dï¿½roulants\r\n'        Call RechargerDeroulant(\"logi002.txt\", 5)\r\n'        Call RechargerDeroulant(\"logi003.txt\", 7)\r\n'        Call RechargerDeroulant(\"logi004.txt\", 9) 'bEnregModele = True\r\n'    Else\r\n'        ' Forcer le paramï¿½tre de largeur, si les listes ne sont pas rechargï¿½es - 5 juin 09\r\n'        CommandBars"
          },
          {
            "col": 8,
            "line": 327,
            "ln": 15017,
            "s": " bEnregModele = True Then\r\n\r\nEnd Sub\r\n\r\nPrivate Sub DesactiverSynchroDef()\r\n\r\n    ' Abolir le fonctionnement spï¿½cial des flï¿½ches de dï¿½filement, s'il existe encore"
          },
          {
            "col": 16,
            "line": 344,
            "ln": 15658,
            "s": "earBindFleches\r\n        sDebogage = \"Kill \" \u0026 slogi024\r\n        Kill slogi024: sDebogage = \"Err. WindowsInTaskbar\"\r\n    End If\r\n    \r\nEnd Sub\r\n    \r\nPrivate Sub MAJ_VarCourantes(Optional sOrigine As String)\r\n\r\n    ' Attention, tous les INI doivent avoir ï¿½tï¿½ lus, sinon on perd tout!! D"
          },
          {
            "col": 51,
            "line": 374,
            "ln": 16714,
            "s": "s\\msword.log\"\r\n    sDebogage = \"90113a - Open \" \u0026 sFichLog\r\n    Open sFichLog For Output As #7: sDebogage = \"90114\" ' ï¿½craser tout contenu antï¿½rieur\r\n    Print #7, \"VERSN=\" \u0026 Application.Version\r\n    Print #7, \"START=\" \u0026 Application.StartupPath\r\n    Print #7, \"BARRE=\" \u0026 sVersionBarre ' 4 juin 09\r\n    Print #7, \"DATHR=\" \u0026 Date \u0026 \"@\" \u0026 time\r\n    Print #7, \"\"\r\n    Print #7"
          },
          {
            "col": 60,
            "line": 418,
            "ln": 18514,
            "s": "isqu'on enregistre. Plus simple aussi.\r\nPrivate Function ListesModifiees() As Boolean\r\n\r\n    ' Tester si les listes  ont changï¿½\r\n    ListesModifiees = False\r\n    \r\n  "
          },
          {
            "col": 106,
            "line": 475,
            "ln": 20899,
            "s": "ales \u0026 \"/AP=\" \u0026 sListesCentrales\r\n    End If\r\n\r\nEnd Function\r\n\r\nPrivate Sub RechargerDeroulant(sFichier As Variant, iIndice As Integer) ' Repris de 40-JUIN09\r\n    \r\n  "
          },
          {
            "col": 40,
            "line": 495,
            "ln": 21610,
            "s": "1, cbAnsi = 0\r\n    Dim oFSO, oStream1 As Object\r\n    Set oFSO = CreateObject(\"Scripting.FileSystemObject\")\r\n    sDebogage = \"MAJD-03; \" \u0026 iIndice\r\n    \r\n    ' Ouvrir le With du contrï¿½le\r\n    With CommandBars(\"LogiTerm\").Controls(iIndice)\r\n        .Clear\r\n        .Dro"
          },
          {
            "col": 14,
            "line": 509,
            "ln": 22074,
            "s": " = 0: sDebogage = \"Open \" \u0026 sFichListe\r\n        Set oStream1 = oFSO.OpenTextFile(sFichListe, cbRead, True, cbUnicode)\r\n        sAutoExec = sAutoExec \u0026 vbCrLf "
          },
          {
            "col": 14,
            "line": 576,
            "ln": 24677,
            "s": "ich As String\r\n    sNomFich = GetSettings().CheminBas \u0026 \"\\config\\term.doc\"\r\n    On Error GoTo 200\r\n    Selection.HomeKey Unit:=wdStory\r\n    On Error GoTo 100\r\n    Selection.InsertFile FileName:=sNomFic"
          },
          {
            "col": 3,
            "line": 587,
            "ln": 25059,
            "s": "  'If bWplus = True Then\r\n    ' Message: \"Modï¿½le de fiche introuvable...!\"\r\n    MsgBox GetMessage(115"
          },
          {
            "col": 62,
            "line": 684,
            "ln": 28342,
            "s": " MW\r\n    'Si debut pas trouvee on QUIT MW\r\n'    Set aRange = Selection.Range\r\n    If Not RangeDebutFiche(aRange) Then GoTo SortirIci 'Fiche pas trouvee, don"
          },
          {
            "col": 109,
            "line": 687,
            "ln": 28528,
            "s": "W\r\n    ActiveDocument.Bookmarks.Add Name:=\"debutfiche\", Range:=aRange\r\n        \r\n    '\u003cCONCEPT_TELQUEL_OUCH\u003e MW\r\n    Dim I As Integer\r\n    For I = 0 To iFin\r\n        If aChOblig(I) = sChHis Then\r\n            GoTo 300 ' Empï¿½cher que le champ HIS "
          },
          {
            "col": 4,
            "line": 738,
            "ln": 31015,
            "s": "     EnregConfig \"REMRQ\", GetSettings().DernierRem\r\n    End If\r\n'    GetSettings().DernierDom = LireDernierDomSouRem(sChDom): Call EnregConfig(\"DOMAI\", GetSettings().DernierDom)\r\n'    GetSettings().DernierSou = LireDernierDomSouRem(sChSou): Call EnregConfig(\"SOURC\", GetSettings().DernierSou)\r\n'    GetSettings().DernierRem = LireDernierDomSouRem(sChRem): Call EnregConfig(\"REMRQ\", GetSettings().DernierRem)\r\n'MW    sDernDom = LireDernierDomSouRem(sChDom): Call EnregConfig(\"DOMAI\", sDernDom)\r\n'MW    sDernSou = LireDernierDomSouRem(sChSou): Call EnregConfig(\"SOURC\", sDernSou)\r\n'MW    sDernRem = LireDernierDomSouRem(sChRem): Call EnregConfig(\"REMRQ\", sDernRem)\r\n    \r\n    ' Bloc HISTORIQUE: seulement s"
          },
          {
            "col": 45,
            "line": 753,
            "ln": 32040,
            "s": "t\r\n        '    End If\r\n        '    sInserer = Trim(sInserer)\r\n        '    If UCase(sSelCourAut) = GetMessage(42) Then sInserer = \"\"\r\n'MW        sChHisCherche = \"[HIS]\" \u0026 \" ^t\" ' Avant: sChHis\r\n'MW        Selection.Find.ClearFormatting\r\n'MW        Selection.Find.Forward = True\r\n'MW        Selection.Find.Execute FindText:=sChHisCherche\r\n'MW        If Selection.Find.Found Then\r\n'MW            Selection.Collapse wdCollapseEnd\r\n'MW            Selection.MoveDown wdParagraph, 1, wdExtend\r\n'MW            Selection.MoveLeft wdCharacter, 1, wdExtend\r\n'MW            Selection.ExtendMode = False ' MODE\r\n'MW            sDateAncienne = Right(Selection.Text, 10)\r\n        Set aRange = ActiveDocument.Bookmark"
          },
          {
            "col": 11,
            "line": 795,
            "ln": 34322,
            "s": "      Dim sDateAncTemp As String\r\n                sDateAncTemp = Replace(sDateAncienne, \"-\", \"\")\r\n                sDateAncTemp = Replace(sDateAncTemp, \"/\", \"\")\r\n                sDateAncTemp = Replace(s"
          },
          {
            "col": 5,
            "line": 852,
            "ln": 36542,
            "s": " Dim r As Range\r\n'    Dim sTest As String\r\n'    Set r = Selection.Range\r\n'    If LireChamp(\"[ENG]\", sTest, r) Then MsgBox \"\"\"\" + sTest + \"\"\"\"\r\n'\r\n'End Sub\r\n\r\nPrivate Function LireChamp(sBal As String, ByRef sReturn As String, Optional R As Variant) As Boolean\r\n'Retourne le texte "
          },
          {
            "col": 11,
            "line": 868,
            "ln": 37138,
            "s": "n = \"\"\r\n    \r\n    If IsMissing(R) Then\r\n        Set R = Selection.Range\r\n        Set aRange = R\r\n        If Not RangeDebutFiche(aRange) Then\r\n            LireChamp = False\r\n            Exit Function\r\n        End If\r\n    End If\r\n    \r\n    If aRange Is Nothing Then Set aRange = R\r\n    aRange.Collapse 'defaul"
          },
          {
            "col": 7,
            "line": 888,
            "ln": 37685,
            "s": "  LireChamp = False\r\n    End If\r\n    \r\n    Exit Function\r\nErrorHandler:\r\n    ErrStd \"LireChamp \" + sBal\r\n    LireChamp = False\r\nEnd Function\r\n\r\nPrivate Function LireDernierDomSouRem(sBalise As String) As String\r\n'Probablement rendu useless MW\r\n    Dim sTemp As String\r\n    \r\n  "
          },
          {
            "col": 11,
            "line": 902,
            "ln": 38001,
            "s": "eChamp(sBalise, sTemp) Then LireDernierDomSouRem = sTemp\r\n    \r\n    ' Mï¿½morisation des contenus SOM-SOU-REM\r\n'MW    LireDernierDomSouRem = \"\"\r\n'MW    Selection.Find.MatchWildcards = False\r\n'MW    Selection.Find.ClearFormatting\r\n'MW    Selection.Find.Forward = True\r\n'MW    'sRecherche = sBalise \u0026 \" \" \u0026 vbTab\r\n'MW    Selection.Find.Execute FindText:=sBalise \u0026 \" \" \u0026 vbTab\r\n'MW    If Selection.Find.Found Then\r\n'MW        Selection.Collapse wdCollapseEnd\r\n'MW        Selection.MoveDown wdParagraph, 1, wdExtend\r\n'MW        Selection.MoveLeft wdCharacter, 1, wdExtend\r\n'MW        Selection.ExtendMode = False\r\n'MW        If Len(Selection.Text) \u003e 1 Then LireDernierDomSouRem = Selection.Text\r\n'MW    End I"
          },
          {
            "col": 52,
            "line": 1005,
            "ln": 41227,
            "s": "\n    Resume SortirIci\r\n    \r\nEnd Sub\r\n\r\nPrivate Function RangeDebutFiche(R As Range) As Boolean\r\n'retourne True si le debut de la fiche est trouvï¿½; r est positionnï¿½"
          },
          {
            "col": 34,
            "line": 1187,
            "ln": 47508,
            "s": " \"=\")\r\n        sTag() = Parser(sMasque, \"|\")\r\n        \r\n        ReDim Preserve sValue(UBound(sTag)) 'ï¿½galise les tableaux\r\n        \r\n        \r\n        ' Aller au dï¿½but de la fiche\r\n        Set aRange = "
          },
          {
            "col": 5,
            "line": 1197,
            "ln": 47890,
            "s": "    \r\n        'inserer tous les champs\r\n        For iCount = 0 To UBound(sTag)\r\n            If (sTag(iCount) = sBalDom) And bDomSou And (sSelDom \u003c\u003e GetMessage(42)) And (sSelDom \u003c\u003e GetMessage(43)) Then sValue(iCount) = s"
          },
          {
            "col": 6,
            "line": 1248,
            "ln": 50605,
            "s": "oop\r\n\r\n    GoTo SortirIci\r\n    'TODO: La gestion d'erreur devra probablemnt ï¿½tre revue puisqu'on n"
          },
          {
            "col": 2,
            "line": 1296,
            "ln": 51975,
            "s": "   lDeb = Selection.Start\r\n    lFin = Selection.End\r\n    If lFin - lDeb = 0 Then\r\n        Selection.TypeText Text:=\"{}\"\r\n        Selection.MoveLeft Unit:=w"
          },
          {
            "col": 29,
            "line": 1342,
            "ln": 53296,
            "s": "ow()\r\n    If hwnd = 0 Then Exit Function\r\n\r\n    Set WindowEl = UIA.ElementFromHandle(ByVal hwnd)\r\n    If WindowEl Is Nothing Then Exit Function\r\n\r\n    Set ConditionType = UIA.CreatePropertyCondition( _\r\n        UIA_ControlTypePropertyId, UIA_ComboBoxControlTypeId)\r\n\r\n    Set ComboList = WindowEl.FindAll(TreeScope_Subtree, ConditionType)\r\n    If ComboList Is Nothing Then Exit Funct"
          },
          {
            "col": 14,
            "line": 1383,
            "ln": 54488,
            "s": "t if requested\r\n    If Len(NewText) \u003e 0 Then\r\n\r\n        On Error Resume Next\r\n\r\n        Set ValuePattern = _\r\n            TextBoxEl.GetCurrentPattern(UIA_ValuePatternId)\r\n\r"
          },
          {
            "col": 14,
            "line": 1426,
            "ln": 55481,
            "s": "ner un retour de chariot en fin de chaï¿½ne (prï¿½caution)\r\n    sChaine = Replace(sChaine, vbCr, \"\")\r\n    ' Filtrer tout point-virgule et guillemet de la chaï¿½ne\r\n    ' Les autres remplacements ne sont pas nï¿½cessaires\r\n    sC"
          },
          {
            "col": 9,
            "line": 1433,
            "ln": 55822,
            "s": "ine = Replace(sChaine, \")\", \"\")\r\n    sChaine = Replace(sChaine, ChrW(34), \"\")\r\n    sChaine = Replace(sChaine, ChrW(160), \" \")\r\n    sChaine = Replace(sChaine, ChrW(171), \"\")\r\n    sChaine = Replace(s"
          },
          {
            "col": 27,
            "line": 1487,
            "ln": 57213,
            "s": "1\r\n    sExecutable = GetSettings().CheminExe \u0026 \"\\ltwebclient.exe\"\r\n    If Dir(sExecutable) = \"\" Then\r\n        ' Message: Exï¿½cutable introuvable\r\n        MsgBo"
          },
          {
            "col": 24,
            "line": 1585,
            "ln": 60077,
            "s": "er As Object\r\n            Set objFolder = objFSO.GetFolder(ActiveDocument.Path)\r\n            \r\n            exists = False\r\n            Dim objFile As Object\r\n            For Each objFile In objFolder.Files\r\n                \r\n                If UCase(objFile.Path) = UCase(sXmlPath) Then\r\n                    exists = True\r\n          "
          },
          {
            "col": 3,
            "line": 1628,
            "ln": 61424,
            "s": "      MsgBox GetMessage(124) \u0026 \".\"\r\n        \r\n    End If\r\n    \r\n'    ' Dï¿½finir l'emplacement et Tester la prï¿½sence de l'exï¿½cutable\r\n'    Dim sExecutable As String;\r\n'    'If sVersionLogiterm = \"5.2\" Then\r\n'    '    sExecutable = GetSettings().CheminExe \u0026 \"\\ncorflou.exe\"\r\n'     'ElseIf sVersionLogiterm = \"5.5\" Then\r\n'        sExecutable = GetSettings().CheminExe \u0026 \"\\ltrans.exe\"\r\n'    'Else 'should never be hit\r\n'    '    sExecutable = \"\"\r\n'    'End If\r\n'\r\n'    If Dir(sExecutable) = \"\" Then\r\n'        MsgBox sExecutable \u0026 \" not found!\", vb"
          },
          {
            "col": 13,
            "line": 1652,
            "ln": 62332,
            "s": " ' Crï¿½er le fichier de contournement provisoire\r\n'            Open sFichCfg For Append As #6: Print #6, \"\": Close #6\r\n'            ' La commande qui fait planter Word!\r\n'            hwnd_Word = GetActiveWindow\r\n'  "
          },
          {
            "col": 18,
            "line": 1657,
            "ln": 62602,
            "s": "facer le fichier provisoire si Word ne plante pas\r\n'            Kill sFichCfg\r\n'        End If\r\n'     ElseIf sVersionLogiterm = \"5.5\" Then\r\n'        sWindowHandle = ActiveWindow.Index\r\n'    Else 'should ne"
          },
          {
            "col": 46,
            "line": 1675,
            "ln": 63446,
            "s": " \u0026 Chr(34) \u0026 \" \" \u0026 sArguments, vbNormalFocus)\r\n'    lngReturn = ShellExecute(0, \"open\", sExecutable, sArguments, \"\", SW_SHOW)\r\n    \r\n    \r\n    ' Attraper toute erreur d'exï¿½cution (0 ou moins)\r\n    If lng"
          },
          {
            "col": 6,
            "line": 1686,
            "ln": 63837,
            "s": "FichLog = GetSettings().CheminMon \u0026 \"\\logfiles\\msword.log\"\r\n    Open sFichLog For Append As #7\r\n    Print #7, \"NCORF=\" \u0026 sExecutable \u0026 \" \" \u0026 sXmlPath\r\n    Close #7\r\n    \r\nSortirIci:\r\n    Exit Sub\r\nTraitErreur:\r\n    I"
          },
          {
            "col": 6,
            "line": 1794,
            "ln": 67839,
            "s": "Chaine = Replace(sChaine, \"  \", \" \")\r\n    \r\n    For iPos = 1 To Len(sChaine)\r\n        sCar = Mid(sChaine, iPos, 1) ' C0001 +4; D015\r\n        iAsc = AscW(sCar)\r\n        If iAsc \u003e 128 Then\r\n              'sFinal = sFinal \u0026 \"\u0026#\" \u0026 CStr(iAsc) \u0026 \""
          },
          {
            "col": 3,
            "line": 1813,
            "ln": 68396,
            "s": "  Dim ascii As Integer\r\n    Dim encText As String\r\n\r\n    ansi = StrConv(urlText, vbFromUnicode)\r\n    encText = \"\"\r\n    For I = 0 To UBound(ansi)\r\n        ascii = ansi(I)\r\n        Select Case ascii\r\n        Case 48 To 57, 65 To 90, 97 To 122\r\n                encText = encText \u0026 Chr(asci"
          },
          {
            "col": 78,
            "line": 1877,
            "ln": 70194,
            "s": "e inutiles\r\n'    For iPos = 1 To Len(sEnvoyer)\r\n'        sCar = Mid(sEnvoyer, iPos, 1) ' C0001 +4; D015\r\n'        iAsc = AscW(sCar)\r\n'        ' Cas particulier de translittï¿½ration\r\n'        If sCar = \"ï¿½\" Then\r\n"
          },
          {
            "col": 3,
            "line": 1944,
            "ln": 72728,
            "s": "  \r\n    ' Nettoyer les variables de sortie\r\n    For I = LBound(aTableau) To UBound(aTableau)\r\n        aTableau(I) = \"\"\r\n    Next\r\n    \r\n    Selection.ExtendMode = False ' "
          },
          {
            "col": 13,
            "line": 1978,
            "ln": 73638,
            "s": "accï¿½s ï¿½ l'aide en ligne n'a pas encore ï¿½tï¿½ configurï¿½. Vous devez d'abord lancer LogiTerm Web Client.\r\n        MsgBox GetMessage(118), vbExclamation, \" LogiTerm\": Exit Sub\r\n    End If\r\n  "
          },
          {
            "col": 64,
            "line": 1982,
            "ln": 73901,
            "s": "les\\msword.log\"\r\n    \r\n    ' ï¿½crire la ligne de commande\r\n    Open GetSettings().CheminMon \u0026 \"\\logfiles\\msword.log\" For Append As #9\r\n    Print #9, \"FICHAID: \" \u0026 GetSettings().FichierDAide \u0026 \" - \" \u0026 1045\r\n    Close #9\r\n    \r\n'****************** MW\r\n'D'ic"
          },
          {
            "col": 3,
            "line": 2080,
            "ln": 76727,
            "s": "  sFin = \"\"\r\n    bRC = False\r\n    For iPos = 1 To Len(sChaine)\r\n        sCar1 = Mid(sChaine, iPos, 1)\r\n        If asc(sCar1) = 10 Then\r\n            sFin = sFin \u0026 \" \"\r\n        ElseIf asc(sCar1) = 9 Then\r\n         "
          },
          {
            "col": 14,
            "line": 2093,
            "ln": 77141,
            "s": "= 1 To Len(sChaine) - 1\r\n        sCar1 = Mid(sChaine, iPos, 1)\r\n        sCar2 = Mid(sChaine, iPos + 1, 1)\r\n        If asc(sCar1) = 32 And asc(sCar2) = 32 Then\r\n        Else: sFin = sFin \u0026 sCar1\r\n        End If\r\n "
          },
          {
            "col": 59,
            "line": 2121,
            "ln": 78257,
            "s": "d(sChaine, iPos)\r\n    For iPos = 1 To Len(sFin)\r\n        sCar = Mid(sFin, iPos, 1)\r\n        If sCar = vbCr Then\r\n            sFio = sFio \u0026 vbCr \u0026 vbCr\r\n        Else: sFio = sFio \u0026 sCar\r\n        End If\r\n    Next"
          },
          {
            "col": 8,
            "line": 2149,
            "ln": 79156,
            "s": " End If\r\n        iMax = UBound(aListe)\r\n        For I = 1 To iMax\r\n            aListe(I) = RTrim(aListe(I)) ' 16 juin 06\r\n            kPos = InStr(aListe(I)"
          },
          {
            "col": 34,
            "line": 2251,
            "ln": 82402,
            "s": "ge(oStory, bEffSurlign)\r\n    Else\r\n        'Fix the skipped blank Header/Footer problem\r\n        lSauter = ActiveDocument.Sections(1).Headers(1).Ra"
          },
          {
            "col": 19,
            "line": 2259,
            "ln": 82762,
            "s": "ll RemplacementsNettoyage(oStory, bEffSurlign)\r\n                On Error Resume Next\r\n                Select Case oStory.StoryType\r\n                    Case 6, 7, 8, 9, 10, 11\r\n   "
          },
          {
            "col": 9,
            "line": 2351,
            "ln": 86545,
            "s": "Next I\r\n        \r\n    End With\r\n    \r\n    \r\n    For leNum = oStory.Bookmarks.Count To 1 Step -1\r\n        Set leMark = oStory.Bookmarks(leNum)\r\n        If InStr(leMark.Name, \"lt_\") T"
          },
          {
            "col": 24,
            "line": 2362,
            "ln": 86828,
            "s": "urquoise: 3, Vert: 4, Rose: 5, Jaune: 7,  Gris: 16\r\n    \r\n    ' Cette vï¿½rification a ï¿½tï¿½ retirï¿½ pour corriger le bogue #0002671\r\n    'If Not bSurlign Then Exit Sub\r\n    \r\n    Dim pos As Lon"
          },
          {
            "col": 22,
            "line": 2670,
            "ln": 97942,
            "s": "\n'    ' Print #iNo2, GetSettings().CheminExe \u0026 \"\\diagno.exe\" \u0026 \"/u=\" \u0026 GetSettings().CheminMon\r\n'    Print #iNo2, GetSettings().CheminExe \u0026 \"\\diagno.exe /e"
          },
          {
            "col": 22,
            "line": 2689,
            "ln": 98632,
            "s": "ier, vbNormal\r\n        sDebogage = \"Supp. \" \u0026 sFichier\r\n        Kill sFichier\r\n        sDebogage = \"90087\"\r\n    End If\r\n\r\nEnd Sub\r\n\r\nPrivate Function DiagLog(sMessage As Variant) As String\r\n\r\n    Dim sDiag"
          },
          {
            "col": 14,
            "line": 2702,
            "ln": 98958,
            "s": "eFile\r\n    sDebogage = \"Diagno 88887 - Open \" \u0026 sDiagnoLog\r\n    Open sDiagnoLog For Append As #iNo: sDebogage = \"Diagno 88888\"\r\n    Print #iNo, sMessage\r\n    Close #iNo: sDebogage = \"Diagno 88889\"\r\n    DiagLog = sMessa"
          },
          {
            "col": 36,
            "line": 2752,
            "ln": 101229,
            "s": "in; y ï¿½crire l'ï¿½tat de dï¿½part le cas ï¿½chï¿½ant\r\n        Open sTemoin For Output As #1\r\n        ' Si Word 2000+, gï¿½rer la  propriï¿½tï¿½ InTaskBar\r\n        sDebogage = \"Version \" \u0026 Application.Version\r\n    "
          },
          {
            "col": 2,
            "line": 2790,
            "ln": 102960,
            "s": "       On Error Resume Next\r\n        If Dir(sTemoin) \u003c\u003e \"\" Then Kill sTemoin\r\n    End If\r\n    \r\nSortirIci:\r\n    Exit Sub\r\nTraitErreur:\r\n    ' En cas d'erreur, se dï¿½barrasser de logi024.txt pour ne pas r"
          },
          {
            "col": 12,
            "line": 2953,
            "ln": 108997,
            "s": " aa As String\r\n        aa = aKey.Command\r\n        aKey.Disable ' Clear ' .Disable\r\n    Next aKey\r\n    \r\n"
          },
          {
            "col": 50,
            "line": 2959,
            "ln": 109191,
            "s": "yCategory:=wdKeyCategoryCommand, Command:=\"LineUp\"\r\n    KeyBindings.Add KeyCode:=BuildKeyCode(40), KeyCa"
          },
          {
            "col": 35,
            "line": 3167,
            "ln": 115471,
            "s": "Etiquette Then\r\n                If InStr(sLigne, \"=\") \u003e 0 Then\r\n                    LireConfig = Mid(sLigne, 7): Exit Do\r\n                End If\r\n            End If\r\n        End If\r\n    Loop\r\n    Close #1\r\n    \r\nEnd Function\r\n\r\nP"
          },
          {
            "col": 42,
            "line": 3191,
            "ln": 116196,
            "s": "= iNbre + 1\r\n    Loop\r\n    Close #1: sDebogage = \"90030\"\r\n\r\n    iNbre = iNbre + 2 ' LT5: mï¿½me traitement pour tous\r\n    RetournerCompte = iNbre\r\n\r\nSortirIci:\r\n    Exit Function\r\n\r\nTraitErreur:\r\n    Call ErrS"
          },
          {
            "col": 6,
            "line": 3329,
            "ln": 120944,
            "s": " Pour changer le nom de la macro commandï¿½e\r\n    ' CommandBars(\"LogiTerm\").Controls(11).OnAction = \"Log"
          },
          {
            "col": 8,
            "line": 3341,
            "ln": 121657,
            "s": "  CommandBars(\"LogiTerm\").Controls(13).\r\n\r\n'    For i = 1 To 20\r\n'        CommandBars(\"LogiTerm\").Controls(i).Visible = True\r\n'    Next i\r\n    \r\n    ' Pour "
          },
          {
            "col": 47,
            "line": 3347,
            "ln": 121848,
            "s": " certain qu'on a le bon bouton (ATTENTION: 1er index = 1)\r\n    ' MsgBox CommandBars(\"LogiTerm\").Controls("
          },
          {
            "col": 30,
            "line": 3413,
            "ln": 125085,
            "s": "02-DEVELOPPEMENT\\8-VBNET\\ICONES\\Push Pin Pinned.png\")\r\n'    oShape.Select\r\n'    'Copy graphic\r\n'    Selection.CopyAsPicture\r\n''    'Delete from document\r\n'    Selection.Delete\r\n'\r\n'    'Copy the graphic to the first "
          },
          {
            "col": 38,
            "line": 3595,
            "ln": 131391,
            "s": "lean\r\n\r\n    Dim sTemp As String\r\n    Dim iVer As Integer\r\n    \r\n    sTemp = Mid(Application.Version, 1, InStr(1, Application.Version, \".\") - 1)\r\n    iVer = CInt(sTemp)\r\n    If iVer \u003e= 12 Then 'Office 2000: 9;"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 81920,
              "peak_region_entropy": 5.18
            },
            "file": {
              "entropy": 4.96,
              "size": 133238
            },
            "text": {
              "ascii_art_lines": 7,
              "avg_line_length": 34.36,
              "char_entropy": 4.96,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.17,
              "escape_density": 0.02,
              "last_line_length": 7,
              "line_length_stddev": 27.73,
              "lines": 3664,
              "lines_over_200": 3,
              "max_line_length": 219,
              "max_whitespace_run": 28,
              "non_ascii_ratio": 0.01,
              "octal_escape_count": 20,
              "repeated_char_sequences": 513,
              "space_count": 32183,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "trailing_whitespace_lines": 348,
              "unique_chars": 99,
              "whitespace_ratio": 0.3
            }
          }
        },
        "id": 1,
        "mol": "O(As)H₃(Db₅F₅Os₃)Md(Pt₃)",
        "path": "LTMacros.dotm!!vba/LogiTerm.vbs",
        "pid": 0,
        "risk": 12,
        "sha": "44e76dc804285c2a29812f19a360282084dcd45196622cdfc49ac89e955335d3",
        "sid": 10728937703,
        "size": 133238,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBS helper strips a variable-held token",
            "id": "metadata/lang/encoding/shape/escape::vbs-replace-variable-with-empty-helper",
            "spans": [
              [
                55545,
                36
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Multiple French function-word tokens",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french",
            "spans": [
              [
                477,
                4
              ],
              [
                3954,
                4
              ],
              [
                11637,
                4
              ],
              [
                73702,
                4
              ],
              [
                86892,
                5
              ]
            ],
            "uses": [
              33,
              34,
              35,
              36,
              37
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Five contiguous long VB comments",
            "id": "metadata/lang/source/comment::contiguous-long-vb-comment-block",
            "spans": [
              [
                158,
                471
              ],
              [
                661,
                925
              ],
              [
                13490,
                509
              ],
              [
                14209,
                257
              ],
              [
                31079,
                600
              ],
              [
                32104,
                596
              ],
              [
                38065,
                628
              ],
              [
                61488,
                356
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "ReDim Preserve array syntax reference",
            "id": "micro-behaviors/data/collection/array::vbs-redim-preserve-reference",
            "spans": [
              [
                47572,
                14
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Iterates attached and global Word templates",
            "id": "micro-behaviors/data/document/open::word-template-iteration",
            "spans": [
              [
                13283,
                29
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript assigns a Mid substring",
            "id": "micro-behaviors/data/string/access::vbs-assigned-mid-substring",
            "spans": [
              [
                67917,
                19
              ],
              [
                76791,
                20
              ],
              [
                77205,
                20
              ],
              [
                115535,
                37
              ],
              [
                131455,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript extracts one indexed Mid character",
            "id": "micro-behaviors/data/string/access::vbs-mid-single-character",
            "spans": [
              [
                67932,
                21
              ],
              [
                70258,
                22
              ],
              [
                78321,
                18
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Small constant increment assignment",
            "id": "micro-behaviors/data/string/access::vbs-variable-constant-step-addition",
            "spans": [
              [
                116260,
                17
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "VB Chr-family function-name reference",
            "id": "micro-behaviors/data/string/conversion::vb-chr-function-reference",
            "spans": [
              [
                55886,
                5
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "VB6 Unicode string to bytes",
            "id": "micro-behaviors/data/string/conversion::vb6-unicode-string-to-bytes",
            "spans": [
              [
                68460,
                31
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "VB Replace function-name reference",
            "id": "micro-behaviors/data/string/replace::vb-replace-function-reference",
            "spans": [
              [
                34386,
                9
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "VB6 Kill file deletion statement",
            "id": "micro-behaviors/fs/delete/file/command::vb6-kill-file-source",
            "spans": [
              [
                15722,
                13
              ],
              [
                62666,
                13
              ],
              [
                98696,
                13
              ],
              [
                103024,
                12
              ]
            ]
          },
          {
            "atk": "T1083",
            "conf": 0.88,
            "crit": 3,
            "desc": "For Each loop iterates folder files",
            "id": "micro-behaviors/fs/directory/readdir/language::wsh-for-each-files",
            "spans": [
              [
                60247,
                35
              ]
            ]
          },
          {
            "atk": "T1137",
            "conf": 0.9,
            "crit": 3,
            "desc": "References an Office startup folder",
            "id": "micro-behaviors/fs/path/autostart::office-startup-folder-reference",
            "spans": [
              [
                16939,
                23
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Path separator before office or PDF filename",
            "id": "micro-behaviors/fs/path/temporary-artifact::document-subpath-literal",
            "spans": [
              [
                24741,
                9
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "VBA Open For Output file write",
            "id": "micro-behaviors/fs/write/vba::vba-open-for-output",
            "spans": [
              [
                7165,
                65
              ],
              [
                16778,
                24
              ],
              [
                62396,
                24
              ],
              [
                63901,
                24
              ],
              [
                73965,
                64
              ],
              [
                99022,
                26
              ],
              [
                101293,
                23
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "CreateObject and COM ProgID references co-occur",
            "id": "micro-behaviors/os/com/automation::createobject-with-com-progid-references",
            "spans": [
              [
                21674,
                13
              ],
              [
                21688,
                26
              ]
            ],
            "uses": [
              17,
              18
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "FileSystemObject ProgID string",
            "id": "micro-behaviors/os/com/automation::filesystemobject-progid",
            "spans": [
              [
                21688,
                26
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "CreateObject call text",
            "id": "micro-behaviors/os/com/instantiation::createobject-reference",
            "spans": [
              [
                21674,
                13
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "WSH instantiates FileSystemObject",
            "id": "micro-behaviors/os/com/instantiation::filesystemobject-constructor",
            "spans": [
              [
                21674,
                42
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "AutoIt ShellExecute opens a file",
            "id": "micro-behaviors/os/handler/open::autoit-shell-execute-call",
            "spans": [
              [
                63510,
                13
              ]
            ]
          },
          {
            "atk": "T1027,T1059.005",
            "conf": 0.9,
            "crit": 3,
            "desc": "VBA sets an object window visibility",
            "id": "objectives/anti-static/obfuscation/padding::vba-hidden-object-window",
            "spans": [
              [
                2779,
                12
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                25775,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                3003,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript For loop statement",
            "id": "metadata/lang/scripted::for-to-loop",
            "spans": [
              [
                79204,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "id": "metadata/lang/scripted::function-declaration",
            "spans": [
              [
                43715,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "VB-family error suppression",
            "id": "metadata/lang/scripted::on-error-resume",
            "spans": [
              [
                7033,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript Set object assignment",
            "id": "metadata/lang/scripted::set-object",
            "spans": [
              [
                53806,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                36500,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                82450,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                48010,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                3662,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                21779,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"dans\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-1",
            "spans": [
              [
                477,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"avec\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-2",
            "spans": [
              [
                11637,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"nous\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-3",
            "spans": [
              [
                3954,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"vous\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-4",
            "spans": [
              [
                73702,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"cette\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-5",
            "spans": [
              [
                86892,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"Messages\"\r\nOption Explicit\r\n\r\nPrivate bAreMessagesInitialized As Boolean\r\nPublic sLoadedMessag"
          },
          {
            "col": 38,
            "line": 5,
            "ln": 132,
            "s": "\n\r\nPrivate asMessages(125) As String\r\n\r\nPrivate Sub InitMessages()\r\n\r\n    sDebogage = \"77076a\"\r\n\r\n    Dim sLanguage As String\r\n    sLanguage = \"ENG\"\r\n\r\n    If (GetSettings().LangInterf \u003c\u003e \"\") Then\r\n        sLanguage = GetSettings().LangInterf\r\n    End If\r\n\r\n    If (sLanguage = \"FRA\") Then\r\n        asMessages(1) = \"Fichier \"\r\n        asMessages(2) ="
          },
          {
            "col": 34,
            "line": 34,
            "ln": 1178,
            "s": "de fin de fiche introuvable!\"\r\n        asMessages(13) = \"Voulez-vous conserver cette fiche dans \"\r\n        asMessages(14) = \"La fiche n'est pas encore enregistrï¿½e!\"\r\n        asMessages(15) = \"Il existe dï¿½jï¿½ un documen"
          },
          {
            "col": 7,
            "line": 142,
            "ln": 9134,
            "s": "  asMessages(83) = \"Avant d'utiliser la barre d'outils LogiTerm avec la Version 2.1, \" \u0026 vbCr \u0026 _\r\n                         \"veuillez mettre ï¿½ jour votre Dictionnaire central \" \u0026 vbCr \u0026 _\r\n     "
          },
          {
            "col": 17,
            "line": 214,
            "ln": 15336,
            "s": "          \"Pour ï¿½viter que ce message s'affiche de nouveau, veuillez dï¿½sinstaller\" \u0026 vbCr \u0026 _\r\n    "
          },
          {
            "col": 57,
            "line": 228,
            "ln": 16226,
            "s": "main menu\" \u0026 vbCr \u0026 _\r\n                        \"and select Tools / Terminology record template.\"\r\n        asMessages(4) = \"A document must be open!"
          },
          {
            "col": 37,
            "line": 232,
            "ln": 16468,
            "s": "ument has no name!  \"\r\n        asMessages(7) = \"The \"\r\n        asMessages(8) = \" field must not be empty!\"\r\n        asMessages(9) = \"Cannot find \"\r"
          },
          {
            "col": 71,
            "line": 238,
            "ln": 16769,
            "s": "\n        asMessages(13) = \"Do you wish to store this terminology record in \"\r\n        asMessages(14) = \"Terminology record has not yet been saved to disk!\"\r\n        asMessages(15) = \"A file with that name already exists.\" \u0026 _\r\n                         \"Do you want to replace the existing file?\"\r\n        asMessages(16) = \"Document is empt"
          },
          {
            "col": 2,
            "line": 253,
            "ln": 17698,
            "s": "                        \"Please locate it again.\"\r\n        asMessages(26) = \"Your Record Creation File"
          },
          {
            "col": 40,
            "line": 264,
            "ln": 18393,
            "s": "age\"\r\n        asMessages(33) = \"Update toolbar lists\"\r\n        asMessages(34) = \"Create new record\"\r\n "
          },
          {
            "col": 43,
            "line": 267,
            "ln": 18536,
            "s": "ord\"\r\n        asMessages(36) = \"Delete current record\"\r\n        asMessages(37) = \"Insert selected value\"\r\n        asMessages(38) = \"Insert selected sour"
          },
          {
            "col": 35,
            "line": 275,
            "ln": 18919,
            "s": "TE\u003e\"\r\n        asMessages(44) = \"Paste text\"\r\n        asMessages(45) = \"Clean up pretranslation\"\r\n    "
          },
          {
            "col": 2,
            "line": 279,
            "ln": 19059,
            "s": "       asMessages(47) = \"Cannot paste from the clipboard in text mode!\"\r\n        asMessages(48) = \"Pl"
          },
          {
            "col": 57,
            "line": 282,
            "ln": 19313,
            "s": "bCr \u0026 _\r\n                         \"(Click No to have the text box removed from the toolbar.)\"\r\n        asMessages(51) = \"No documents are open!\"\r\n  "
          },
          {
            "col": 51,
            "line": 287,
            "ln": 19657,
            "s": "\r\n        asMessages(54) = \"This command will close all other open documents... Do you agree?\"\r\n        asMessages(55"
          },
          {
            "col": 90,
            "line": 294,
            "ln": 20277,
            "s": "mp.doc. \" \u0026 vbCr \u0026 _\r\n                         \"For more details, click the Online help button on the toolbar.\"\r\n        asMessages(57) = \"Protected file! You must remove the protection \" \u0026 vbCr \u0026 _\r\n                         \"in order"
          },
          {
            "col": 55,
            "line": 320,
            "ln": 22119,
            "s": "g!\"\r\n        asMessages(71) = \" Add to the list...\"\r\n        asMessages(72) = \"File not found!     "
          },
          {
            "col": 72,
            "line": 327,
            "ln": 22580,
            "s": "terms:\" \u0026 vbCr \u0026 _\r\n                         \"- Put the cursor on the line you want to have transfered. \" \u0026 vbCr \u0026 _\r\n                         \"- C"
          },
          {
            "col": 2,
            "line": 348,
            "ln": 24204,
            "s": "                        \"please update your Core Dictionary \" \u0026 vbCr \u0026 _\r\n                         \"(O"
          },
          {
            "col": 10,
            "line": 369,
            "ln": 25811,
            "s": "                \"        Please note that NO fuzzy match file is created \" \u0026 vbCr \u0026 _\r\n             "
          },
          {
            "col": 44,
            "line": 386,
            "ln": 27115,
            "s": "tion as needed, then click the 'push pin' button \" \u0026 _\r\n                          \"to paste it into "
          },
          {
            "col": 62,
            "line": 395,
            "ln": 27861,
            "s": "\u0026 _\r\n                          \"NOTE. For best results, the two documents should be displayed \" \u0026 vb"
          },
          {
            "col": 14,
            "line": 406,
            "ln": 28666,
            "s": "sages(112) = \"This command will disable synchronized scrolling.   \" \u0026 vbCr \u0026 vbCr \u0026 _\r\n                  "
          },
          {
            "col": 21,
            "line": 426,
            "ln": 30307,
            "s": "25) = \" whose corresponding XML data file is located in the same place as the document.\"\r\n          "
          },
          {
            "col": 23,
            "line": 432,
            "ln": 30499,
            "s": "lized = True\r\n    \r\n    sDebogage = \"77076b\"\r\n\r\nEnd Sub\r\n\r\nPrivate Function HasLanguageChanged() As Boolean\r\n\r\n    HasLanguageChanged = False\r\n    \r\n    If (GetSettings().LangInterf \u003c\u003e \"\") A"
          },
          {
            "col": 1,
            "line": 443,
            "ln": 30748,
            "s": "       HasLanguageChanged = True\r\n    End If\r\n\r\nEnd Function\r\n\r\nPublic Function GetMessage(iMessageId As Integer) As String\r\n\r\n    If Not bAreMessagesInitialized Or HasLanguageChanged Th"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 26939,
              "peak_region_entropy": 4.62
            },
            "file": {
              "entropy": 4.45,
              "size": 31035
            },
            "text": {
              "avg_line_length": 66.06,
              "char_entropy": 4.45,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.05,
              "last_line_length": 12,
              "line_length_stddev": 28.33,
              "lines": 456,
              "max_line_length": 151,
              "max_whitespace_run": 10,
              "non_ascii_ratio": 0.02,
              "repeated_char_sequences": 153,
              "space_count": 9585,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "trailing_whitespace_lines": 6,
              "unique_chars": 85,
              "whitespace_ratio": 0.34
            }
          }
        },
        "id": 2,
        "mol": "Md(Pt)",
        "path": "LTMacros.dotm!!vba/Messages.vbs",
        "pid": 0,
        "risk": 1,
        "sha": "14bb89176dffd7f8207e7a2c4beb4de96b75589be6ad648f53ea47744f1bc411",
        "sid": 10728937701,
        "size": 31035,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Multiple French function-word tokens",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french",
            "spans": [
              [
                1242,
                4
              ],
              [
                1257,
                5
              ],
              [
                1269,
                4
              ],
              [
                9198,
                4
              ]
            ],
            "uses": [
              12,
              13,
              14,
              15
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                234,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                30547,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "id": "metadata/lang/scripted::function-declaration",
            "spans": [
              [
                30819,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                30551,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                16516,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                16274,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                16964,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                19361,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                20325,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                16959,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                16817,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"dans\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-1",
            "spans": [
              [
                1269,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"avec\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-2",
            "spans": [
              [
                9198,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"vous\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-4",
            "spans": [
              [
                1242,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"cette\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-5",
            "spans": [
              [
                1257,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"Module\"\r\nOption Explicit 'MW\r\n\r\nPublic Const SW_SHOW = 5\r\nPublic Const SW_SHOWNORMAL = 1\r\nPubl"
          },
          {
            "col": 8,
            "line": 38,
            "ln": 988,
            "s": " szExeFile As String * MAX_PATH\r\n    End Type\r\n#End If\r\n\r\n'***********************compatibilitï¿½ office 2010 x64\r\n#If VBA7 Then\r\n    Public Declare PtrSafe Function ShellExecute Lib \"Shell32.dll\" Alias \"ShellExecuteA\" (ByVal hwnd As LongPtr, _\r\n        ByVal lpOperation As"
          },
          {
            "col": 62,
            "line": 46,
            "ln": 1389,
            "s": "r) As LongPtr\r\n    \r\n    Public Declare PtrSafe Function HtmlHelp Lib \"hhctrl.ocx\" Alias \"HtmlHelpA\" _\r\n       (ByVal hwndCaller As LongPtr, ByVal pszFile As Str"
          },
          {
            "col": 112,
            "line": 49,
            "ln": 1604,
            "s": "r) As LongPtr\r\n    \r\n    Public Declare PtrSafe Function GetActiveWindow Lib \"user32\" () As LongPtr\r\n    Public Declare PtrSafe Function FindWindow Lib \"user32\" Alias \"FindWindowA\" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPtr\r\n    \r\n    Public Declare PtrSafe Function GetWindowLong Lib \"user32\" Alias \"GetWindowLongA\" (ByVal hwnd As LongPtr, ByVal nIndex As Long) As LongPtr\r\n    Public Declare PtrSafe Function SetWindowLong Lib \"user32\" Alias \"SetWindowLongA\" (ByVal hwnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLo"
          },
          {
            "col": 23,
            "line": 57,
            "ln": 2207,
            "s": "e, pour ci-dessous\r\n    Private Declare PtrSafe Function GetUserName Lib \"advapi32.dll\" _\r\n      Alias \"GetUserNameA\" _\r\n      (ByVal lpBuffer As String, nSize As L"
          },
          {
            "col": 50,
            "line": 60,
            "ln": 2377,
            "s": ") As LongPtr\r\n    \r\n    Private Declare PtrSafe Function CreateToolhelp32Snapshot Lib \"kernel32\" _\r\n        (ByVal lFlags As LongPtr, ByVal lProcessID As LongPtr) As LongPtr\r\n\r\n    Private Declare PtrSafe Function ProcessFirst Lib \"kernel32\" Alias \"Process32First\" _\r\n        (ByVal hSnapShot As LongPtr, uProcess As PROCESSENTRY32) As LongPtr\r\n\r\n    Private Declare PtrSafe Function ProcessNext Lib \"kernel32\" Alias \"Process32Next\" _\r\n        (ByVal hSnapShot As LongPtr, uProcess As PROCESSENTRY32) As LongPtr\r\n\r\n    Private Declare PtrSafe Sub CloseHandle Lib \"kernel32\" (ByVal hPass As LongPtr)\r\n    \r\n#Else\r\n    Public Declare Function ShellExecute "
          },
          {
            "col": 46,
            "line": 101,
            "ln": 4660,
            "s": "el32\" (ByVal hPass As Long)\r\n    \r\n    Private Declare Function GetAsyncKeyState Lib \"user32\" _\r\n        (ByVal vKey As Long) As Integer\r\n#End If\r\n\r\nPublic Function ProcessID(sExeName As String) As Long\r\n\r\n#If VBA7 Then\r\n    Dim hSnapShot As LongPtr\r\n    Dim success As LongPtr\r\n#Else\r\n    Dim hSnapShot As Long\r\n    Dim success As Long\r\n#End If\r\n    Dim uProcess As PROCESSENTRY32\r\n    Dim sTemp As String\r\n    \r\n    ProcessID = -1\r\n    \r\n    hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAP"
          },
          {
            "col": 27,
            "line": 126,
            "ln": 5275,
            "s": "(hSnapShot, uProcess)\r\n\r\n    If success = 1 Then\r\n\r\n        Do\r\n            sTemp = Mid(CStr(uProcess.szExeFile), 1, Len(sExeName))\r\n            If sTemp = sExeName Then\r\n                ProcessID = CLng(uProcess.th3"
          },
          {
            "col": 2,
            "line": 138,
            "ln": 5605,
            "s": "   End If\r\n\r\n    Call CloseHandle(hSnapShot)\r\n\r\nEnd Function\r\n\r\n'Public Sub Activer(sExeName As String)\r\n'\r\n'#If VBA7 Then\r\n'    Dim hSnapShot As LongPtr\r\n'    Dim success As Long"
          },
          {
            "col": 7,
            "line": 173,
            "ln": 6443,
            "s": "nd If\r\n'\r\n'    Call CloseHandle(hSnapShot)\r\n'\r\n'End Sub\r\n\r\nPublic Function UserName() As String\r\n    '***********************compatibilitï¿½ office 2010 x64\r\n   "
          },
          {
            "col": 9,
            "line": 181,
            "ln": 6609,
            "s": "r que llReturn soit dï¿½clarï¿½ avec la bonne taille pour recevoir le rï¿½sultat de GetUserName\r\n    #If VBA7 Then\r\n        Dim llReturn As LongPtr\r\n    #Else\r\n        Dim llReturn As Long\r\n    #End If\r\n    Dim lsUserName As String\r\n    Dim lsBuffer As String\r\n    \r\n    lsUserName = \"\"\r\n    lsBuffer = Space$(255)\r\n    llReturn = GetUserName(ls"
          },
          {
            "col": 11,
            "line": 195,
            "ln": 6990,
            "s": "eturn Then\r\n       lsUserName = Left$(lsBuffer, InStr(lsBuffer, Chr(0)) - 1)\r\n    End If\r\n    \r\n    UserName = lsUserName\r\n    \r\nEnd Function\r\n\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 7135,
              "peak_region_entropy": 4.98
            },
            "file": {
              "entropy": 4.98,
              "size": 7135
            },
            "text": {
              "avg_line_length": 33.32,
              "char_entropy": 4.98,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.21,
              "last_line_length": 12,
              "line_length_stddev": 34.15,
              "lines": 202,
              "max_line_length": 170,
              "max_whitespace_run": 16,
              "non_ascii_ratio": 0,
              "repeated_char_sequences": 12,
              "space_count": 1527,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.05,
              "trailing_whitespace_lines": 19,
              "unique_chars": 76,
              "whitespace_ratio": 0.27
            }
          }
        },
        "id": 3,
        "mol": "H₃(Db₂HfPo)",
        "path": "LTMacros.dotm!!vba/Module.vbs",
        "pid": 0,
        "risk": 3,
        "sha": "634356b98e758314ba71b647a4b398908aa65417e5825d4d79e450386e958fc2",
        "sid": 10728937705,
        "size": 7135,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript assigns a Mid substring",
            "id": "micro-behaviors/data/string/access::vbs-assigned-mid-substring",
            "spans": [
              [
                5339,
                24
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "VB Chr-family function-name reference",
            "id": "micro-behaviors/data/string/conversion::vb-chr-function-reference",
            "spans": [
              [
                7054,
                4
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "GetAsyncKeyState named, not imported",
            "id": "micro-behaviors/hardware/input/keyboard/poll::get-async-key-state-str",
            "spans": [
              [
                4724,
                16
              ]
            ]
          },
          {
            "atk": "T1057",
            "conf": 0.92,
            "crit": 3,
            "desc": "VB6 Process32First alias",
            "id": "micro-behaviors/process/enumerate/snapshot::process32-first-vb6",
            "spans": [
              [
                2619,
                22
              ]
            ]
          },
          {
            "atk": "T1057",
            "conf": 0.92,
            "crit": 3,
            "desc": "VB6 Process32Next alias",
            "id": "micro-behaviors/process/enumerate/snapshot::process32-next-vb6",
            "spans": [
              [
                2788,
                21
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                6733,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                6491,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "id": "metadata/lang/scripted::function-declaration",
            "spans": [
              [
                2582,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                5677,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"Settings\"\r\nOption Explicit\r\n\r\nPrivate oSettings As clsSettings\r\n\r\nPrivate Sub LoadSettings()\r\n\r\n    Set oSettings = New clsSettings\r\n    \r\n    Call Lire_LogitermIni(oSettings)\r\n    Call Lire_LogibarIni(oSettings)\r\n\r\nEnd Sub\r\n\r\nPublic Function GetSettings() As clsSettings\r\n    \r\n    If oSettings Is Nothing Then\r\n        LoadSettings\r\n    End If\r\n    \r\n    Set GetSettings = oSettings\r\n\r\nEnd Function\r\n\r\nPrivate Sub Lire_LogitermIni(oSettings As clsSettings)\r\n\r\n    Dim sLogiTermIni As String\r\n    Dim objStream\r\n    Dim sLigne As String\r\n    Dim sEtiquette As String\r\n    Dim iLongueur As Integer\r\n    Dim iLongTot As Integer\r\n    Dim iPos As Integer\r\n    Dim sParametre As String\r\n    \r\n    ' Plus blindï¿½ de rï¿½itï¿½rer le chemin ici, Sub plus autonome; sinon la variable se perd (hou hou ... oï¿½ est tu petite variable)\r\n    sLogiTermIni"
          },
          {
            "col": 10,
            "line": 44,
            "ln": 1057,
            "s": "gage = \"Open \" \u0026 sLogiTermIni ' D031\r\n    \r\n    Set objStream = CreateObject(\"ADODB.Stream\")\r\n    objStream.Charset = \"utf-8\"\r\n    objStream.Open\r\n    objStream.LoadFromFile sLogiTermIni\r\n   \r\n    Do Until objStream.EOS = True\r\n        'Line Input #1, sLigne\r\n        sLigne = objStream.ReadText(-2)\r\n  "
          },
          {
            "col": 8,
            "line": 56,
            "ln": 1428,
            "s": "     iPos = InStr(1, sLigne, \"=\")\r\n            iPos = iPos - 1\r\n            sEtiquette = Mid(sLigne, 1, iPos)\r\n            iLongueur = iLongTot - (iPos + 1)\r\n            iPos = iPos + 2\r\n            sParametre = Mid(sLigne, iPos, iLongueur)\r\n            Select Case sEtiquette\r\n                Case \"LOCAL\": oSettings.CheminMon = sParametre\r\n                Case \"SERV"
          },
          {
            "col": 31,
            "line": 81,
            "ln": 2465,
            "s": "heminMon), \"%USERNAME%\") \u003e 0 Then\r\n        oSettings.CheminMon = Replace(oSettings.CheminMon, \"%username%\", UserName())\r\n        oSettings.CheminMon = Replace(oSettings.CheminMon, \"%USERNAME%\", UserName())\r\n    End If\r\n\r\nEnd Sub\r\n\r\nPrivate Sub Lire_LogibarIni(oSettings As clsSettings)\r\n    \r\n    Dim sParametre As String\r\n    Dim iPos As Integer\r\n    Dim"
          },
          {
            "col": 43,
            "line": 107,
            "ln": 3390,
            "s": "cbAnsi = 0\r\n    \r\n    Dim oFSO, oRead As Object\r\n    Set oFSO = CreateObject(\"Scripting.FileSystemObject\")\r\n    \r\n    sDebogage = \"Open \" \u0026 sLogibarIni\r\n    \r\n    Dim sLigne As String\r\n    Dim iLongTot As Integer\r\n    Dim sEtiquette As String\r\n    \r\n    Set oRead = oFSO.OpenTextFile(sLogibarIni, cbRead, True, cbUnicode)\r\n    While Not oRead.AtEndOfStream\r\n   "
          },
          {
            "col": 20,
            "line": 146,
            "ln": 5394,
            "s": "e \"DOM27\": oSettings.Dom27 = sParametre ' Pour les valeurs 2007 dans LogiBar\r\n                Case \"SOU27\": oSettings.Sou27 = sParametre ' Idem\r\n                Case \"AUT27\": oSettings.Aut27 = sParametre ' Mï¿½moriser aussi l'auteur avec 2007\r\n                Case \"SDATE\": oSettings.CarSepDate = sParametre ' Sï¿½parateur de date\r\n            End Select\r\n        E"
          },
          {
            "col": 31,
            "line": 165,
            "ln": 6233,
            "s": "R\", oSettings.LangInterf)\r\n    End If\r\n    Exit Sub\r\n    \r\nTraitErreur:\r\n    MsgBox \"Read Error in \" \u0026 sLogibarIni \u0026 vbCrLf \u0026 _\r\n      Err.Description, vbCritical, \"E"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 4399,
              "peak_region_entropy": 4.89
            },
            "file": {
              "entropy": 4.69,
              "size": 6447
            },
            "text": {
              "avg_line_length": 34.63,
              "char_entropy": 4.69,
              "digit_ratio": 0.02,
              "empty_line_ratio": 0.19,
              "last_line_length": 7,
              "line_length_stddev": 28.48,
              "lines": 176,
              "max_line_length": 137,
              "max_whitespace_run": 3,
              "non_ascii_ratio": 0.01,
              "repeated_char_sequences": 44,
              "space_count": 1689,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "trailing_whitespace_lines": 20,
              "unique_chars": 81,
              "whitespace_ratio": 0.32
            }
          }
        },
        "id": 4,
        "mol": "H₃(Db₂F₃Os₂)Md(Pt)",
        "path": "LTMacros.dotm!!vba/Settings.vbs",
        "pid": 0,
        "risk": 5,
        "sha": "515a22c0bd184caec32ad1be2ff09c5c6e344eceb3fb515c8223cff8c5dd6413",
        "sid": 10728937704,
        "size": 6447,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Multiple French function-word tokens",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french",
            "spans": [
              [
                5458,
                4
              ],
              [
                5627,
                4
              ]
            ],
            "uses": [
              19,
              20
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript assigns a Mid substring",
            "id": "micro-behaviors/data/string/access::vbs-assigned-mid-substring",
            "spans": [
              [
                1492,
                29
              ],
              [
                1615,
                29
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Indexed Mid near constant step across lines",
            "id": "micro-behaviors/data/string/access::vbs-mid-multiline-stride-walk",
            "spans": [
              [
                1598,
                15
              ],
              [
                1640,
                28
              ]
            ],
            "uses": [
              3,
              4
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "VBScript Mid uses variable index and width",
            "id": "micro-behaviors/data/string/access::vbs-mid-variable-width",
            "spans": [
              [
                1640,
                28
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Small constant increment assignment",
            "id": "micro-behaviors/data/string/access::vbs-variable-constant-step-addition",
            "spans": [
              [
                1598,
                15
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "VB Replace function-name reference",
            "id": "micro-behaviors/data/string/replace::vb-replace-function-reference",
            "spans": [
              [
                2529,
                9
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls a stream LoadFromFile method",
            "id": "micro-behaviors/fs/read/stream::stream-load-from-file",
            "spans": [
              [
                1135,
                12
              ],
              [
                1217,
                15
              ]
            ],
            "uses": [
              9,
              21
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "ADODB.Stream object",
            "id": "micro-behaviors/fs/write/file/stream::adodb-stream",
            "spans": [
              [
                1121,
                26
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Creates an ADODB.Stream COM object",
            "id": "micro-behaviors/fs/write/stream::adodb-stream-object",
            "spans": [
              [
                1121,
                28
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "ADODB.Stream ProgID",
            "id": "micro-behaviors/fs/write/stream::adodb-stream-progid",
            "spans": [
              [
                1135,
                12
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "CreateObject and COM ProgID references co-occur",
            "id": "micro-behaviors/os/com/automation::createobject-with-com-progid-references",
            "spans": [
              [
                1121,
                13
              ],
              [
                3468,
                26
              ]
            ],
            "uses": [
              11,
              12
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "FileSystemObject ProgID string",
            "id": "micro-behaviors/os/com/automation::filesystemobject-progid",
            "spans": [
              [
                3468,
                26
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "CreateObject call text",
            "id": "micro-behaviors/os/com/instantiation::createobject-reference",
            "spans": [
              [
                1121,
                13
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "WSH instantiates FileSystemObject",
            "id": "micro-behaviors/os/com/instantiation::filesystemobject-constructor",
            "spans": [
              [
                3454,
                42
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                2992,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                237,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "id": "metadata/lang/scripted::function-declaration",
            "spans": [
              [
                255,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript Set object assignment",
            "id": "metadata/lang/scripted::set-object",
            "spans": [
              [
                121,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                761,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"dans\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-1",
            "spans": [
              [
                5458,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"avec\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-2",
            "spans": [
              [
                5627,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Calls a LoadFromFile method",
            "id": "micro-behaviors/fs/read/stream::load-from-file-call",
            "spans": [
              [
                1217,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"clsCommonDialog\"\r\nAttribute VB_Base = \"0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}\"\r\nAttribute VB_"
          },
          {
            "col": 61,
            "line": 11,
            "ln": 390,
            "s": "**********************\r\n#If VBA7 Then\r\n    'API function inside ShowHelp method\r\n'    Private Declare PtrSafe Function WinHelp Lib \"user32\" Alias \"WinHelpA\" (ByVal hwnd As LongPtr, ByVal lpHelpFile As String, ByVal wComman"
          },
          {
            "col": 161,
            "line": 14,
            "ln": 631,
            "s": " dwData As LongPtr) As LongPtr\r\n    \r\n'    'API function called by ShowOpen method\r\n'    Private Declare PtrSafe Function GetOpenFileNameA Lib \"comdlg32.dll\" (pOpenfilename As OpenFilename) As LongPtr\r\n'    ' - CB Private Declare Function GetOpenFileName Lib \"comdlg32.dll\" Alias \"GetOpenFileNameA\" (pOpenfilename As OpenFilename) As Long\r\n'\r\n'    'A"
          },
          {
            "col": 28,
            "line": 20,
            "ln": 1001,
            "s": "y ShowSave method\r\n'    Private Declare PtrSafe Function GetSaveFileNameA Lib \"comdlg32.dll\" (pOpenfilename As OpenFilename) As LongPtr\r\n'    ' CB - Private Declare Function GetSaveFileName Lib \"comdlg32.dll\" Alias \"GetSaveFileNameA\" (pOpenfilename As OpenFilename) As Long\r\n'\r\n'    'API function to retrieve extended error information\r\n'    Private Declare PtrSafe Function CommDlgExtendedError"
          },
          {
            "col": 88,
            "line": 31,
            "ln": 1874,
            "s": ") As LongPtr\r\n    \r\n    Private Declare PtrSafe Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (hpvDest As Any, hpvSource As Any, ByVal cbCopy As LongPtr)\r\n    \r\n'    'data buffer for the GetOpenFileName and GetSaveFileName functions\r\n'    Private Type OpenFilename\r\n'        lStructSize As LongPtr\r\n'  "
          },
          {
            "col": 4,
            "line": 102,
            "ln": 5012,
            "s": "      lpTemplateName As String\r\n'    End Type\r\n#End If\r\n\r\n'constants for API memory functions\r\nPrivate Const GMEM_MOVEABLE = \u0026H2\r\nPrivate Const GMEM_Z"
          },
          {
            "col": 19,
            "line": 112,
            "ln": 5277,
            "s": "ACESIZE = 32\r\nPrivate Const LF_FULLFACESIZE = 64\r\nPrivate Const FW_BOLD = 700\r\n\r\n'internal property buffers\r\n\r\nPrivate iAction As Integer         'internal buffer for Action property\r\nPrivate bCancelError "
          },
          {
            "col": 5,
            "line": 172,
            "ln": 8426,
            "s": "Filter = sFilter\r\n    \r\nEnd Property\r\n\r\n'Public Sub Attendre(lMillisecondes As Long)\r\n'\r\n'    Call Sleep(lMillisecondes)\r\n'\r\n'End Sub\r\n'\r\n'Public Sub ShowHelp()\r\n'\r\n'    Const HELP_CONTENTS = \u0026H3   'Display Contents for help\r\n'    Const HELP_CONTEXT = \u0026H"
          },
          {
            "col": 54,
            "line": 185,
            "ln": 8705,
            "s": "art: afficher une rubrique particuliï¿½re\r\n'    Dim sHelpFileBuff As String\r\n'    Dim lData As Long\r\n'    Const HELP_INDEX = \u0026H3 ' Display index\r\n'\r\n'    ' Const HelpFinder = \u0026HB\r\n'\r\n'    On Error GoTo ShowHelpError\r\n'\r\n'    '***    init Private properties\r\n'    iAction = 6  'Action property - ShowHelp\r\n'    ' iAction = CLSCD_SHOWHELP  'Action property - ShowHelp\r\n'    lApiReturn = 0  'APIReturn property\r\n'    lExtendedError = 0  'ExtendedError property\r\n'\r\n'    '***    prepare the buffers and parameters for the API function\r\n'    'sHelpFile is a null terminated string\r\n'    sHelpFileBuff = sHelpFile \u0026 Chr$(0)\r\n'\r\n'    'sData is dependent on lHelpCommand\r\n'    Select Case lHelpCommand\r\n'        Case 0\r\n'            lData = 0\r\n'      "
          },
          {
            "col": 37,
            "line": 213,
            "ln": 9577,
            "s": "elpFile, lHelpCommand, lData) ' Store to APIReturn property\r\n'\r\n'    lApiReturn = WinHelp(lhdc, sHelpFile, HELP_CONTEXT, sHelpContext) ' 6003) ' Store to APIReturn property\r\n''    lApiReturn = WinHelp(lhdc, sHelpFile, HELP_CONTEXT, 6002) ' Store to APIReturn property\r\n''    lApiReturn = WinHelp(lhdc, sHelpFile, HELP_CONTEXT, 6001) ' Store to APIReturn property\r\n''    lApiReturn = WinHelp(lhdc, sHelpFile, lHelpCommand, 6002) ' Store to APIReturn property\r\n''    lApiReturn = WinHelp(lhdc, sHelpFile, HELP_CONTENTS, lData) ' Store to APIReturn property\r\n''    lApiReturn = WinHelp(lhdc, sHelpFile, HELP_INDEX, lData) ' Store to APIReturn property\r\n'\r\n'    Select Case lApiReturn\r\n'        Case 0  '\r\n' "
          },
          {
            "col": 4,
            "line": 231,
            "ln": 10546,
            "s": "it Sub\r\n'\r\n'ShowHelpError:\r\n'    Exit Sub\r\n'End Sub\r\n\r\nPublic Sub ShowOpen()\r\n    \r\n    'display the file open dialog box\r\n    \r\n    Dim aDialog As FileDialog\r\n    Dim sDesc As String, sExt As String\r\n    \r\n    Set aDialog = Application.FileDialog(msoFileDialogFilePicker)\r\n    \r\n    aDialog.AllowMultiSelect = False  'p"
          },
          {
            "col": 71,
            "line": 246,
            "ln": 10896,
            "s": "du code\r\n    \r\n    'Ajouter le filtre (description, extension)\r\n    sDesc = Mid(sFilter, 1, InStr(sFilter, \"|\") - 1)\r\n    sExt = Mid(sFilter, InStr(sFilter, \"|\") + 1, Len(sFilter))\r\n    aDialog.Filters.Clear\r\n    aDialog.Filters.Add sDesc, sExt\r\n    \r\n    'titre du dialog\r\n    aDialog.Title = sD"
          },
          {
            "col": 26,
            "line": 257,
            "ln": 11235,
            "s": "\r\n    aDialog.InitialFileName = sInitDir\r\n    \r\n    Select Case aDialog.Show\r\n        Case -1\r\n            FileNameSelectionne = aDialog.SelectedItems(1)\r\n    "
          },
          {
            "col": 5,
            "line": 269,
            "ln": 11522,
            "s": "Set aDialog = Nothing\r\n    \r\nEnd Sub\r\n\r\n'Public Sub ShowSave()\r\n'\r\n'    'display the file save dialog box\r\n'    ShowFileDialog (2)  'Action property - ShowS"
          },
          {
            "col": 7,
            "line": 295,
            "ln": 12139,
            "s": "returns the part of sIn preceding Chr$(0)\r\n'    Dim lNullPos As Long\r\n'\r\n'    'init output\r\n'    sLeftOfNull = sIn\r\n'    'get position of first Chr$(0) in s"
          },
          {
            "col": 18,
            "line": 304,
            "ln": 12440,
            "s": "ull = Mid$(sIn, 1, lNullPos - 1)\r\n'    End If\r\n'End Function\r\n\r\nPublic Property Get Action() As Integer\r\n    'Return object's Action property\r\n    Action = "
          },
          {
            "col": 36,
            "line": 314,
            "ln": 12691,
            "s": "ter string in API common dialog functions\r\n'    Dim lChrNdx As Long\r\n'    Dim sOneChr As String\r\n'    Dim sOutStr As String\r\n'\r\n'    'convert any | characters to nulls\r\n'    For lChrNdx = 1 To Len(sIn)\r\n'        sOneChr = Mid$(sIn, lChrNdx, 1)\r\n'        If sOneChr = \"|\" Then\r\n'          "
          },
          {
            "col": 6,
            "line": 326,
            "ln": 13072,
            "s": "    End If\r\n'    Next\r\n'\r\n'    'add a null to the end\r\n'    sOutStr = sOutStr \u0026 Chr$(0)\r\n'    'retu"
          },
          {
            "col": 8,
            "line": 541,
            "ln": 18508,
            "s": "tePoint = LBound(abBytes)\r\n    \r\n    'fill sOut with characters in array\r\n    While lBytePoint \u003c= UBound(abBytes)\r\n        \r\n        lByteVal = abBy"
          },
          {
            "col": 8,
            "line": 560,
            "ln": 19026,
            "s": "teArrayToString = sOut\r\nEnd Function\r\n\r\nPrivate Sub ShowFileDialog(ByVal iAction As Integer)\r\n'#If VBA7 Then\r\n\r\n    \r\n\r\n    \r\n'#Else\r\n'    'display the file dialo"
          },
          {
            "col": 11,
            "line": 668,
            "ln": 22553,
            "s": "   Err.Raise (2001)\r\n'            Exit Sub\r\n'        End If\r\n'\r\n'        Case 1  'user selected or entered a file\r\n'            'sFileName gets part of tOpenFile.lpstrFile to the left of first Chr$(0)\r\n'            sFileName = sLeftOfNull(tOpenFile.lpstrFile)\r\n'            sFileTitle = sLeftOfNull(tOpenFile.lpstrFileTitle)\r\n'            sFileNameSelectionne = sFileName\r\n'\r\n'        Case Else   'an error occured\r\n'            'call CommDlgExtendedError\r\n'            lExtendedError = CommDlgExtende"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 12288,
              "peak_region_entropy": 5.16
            },
            "file": {
              "entropy": 4.88,
              "size": 23160
            },
            "text": {
              "ascii_art_lines": 1,
              "avg_line_length": 31.52,
              "char_entropy": 4.88,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.13,
              "last_line_length": 7,
              "line_length_stddev": 27.18,
              "lines": 691,
              "max_line_length": 190,
              "max_whitespace_run": 15,
              "non_ascii_ratio": 0,
              "repeated_char_sequences": 44,
              "space_count": 4602,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "trailing_whitespace_lines": 25,
              "unique_chars": 85,
              "whitespace_ratio": 0.26
            }
          }
        },
        "id": 5,
        "mol": "H(Db₃)Md(Pt)",
        "path": "LTMacros.dotm!!vba/clsCommonDialog.vbs",
        "pid": 0,
        "risk": 2,
        "sha": "1a49bc0a1b672ba5771145e6447f991cedd399c3d1b1caf9c40e7aed0bc1f073",
        "sid": 10728937702,
        "size": 23160,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Five contiguous long VB comments",
            "id": "metadata/lang/source/comment::contiguous-long-vb-comment-block",
            "spans": [
              [
                8925,
                239
              ],
              [
                9641,
                586
              ],
              [
                22617,
                309
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "VBScript assigns a Mid substring",
            "id": "micro-behaviors/data/string/access::vbs-assigned-mid-substring",
            "spans": [
              [
                10960,
                16
              ],
              [
                11014,
                15
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999",
            "spans": [
              [
                5341,
                13
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "VB Chr-family function-name reference",
            "id": "micro-behaviors/data/string/conversion::vb-chr-function-reference",
            "spans": [
              [
                9315,
                5
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                12739,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                8552,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript For loop statement",
            "id": "metadata/lang/scripted::for-to-loop",
            "spans": [
              [
                12865,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "id": "metadata/lang/scripted::function-declaration",
            "spans": [
              [
                1489,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript Set object assignment",
            "id": "metadata/lang/scripted::set-object",
            "spans": [
              [
                10757,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                10594,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                2063,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                2083,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                2059,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                18556,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"frmCascade\"\r\nAttribute VB_Base = \"0{5546CD17-686A-4BE0-A3A2-03C3BADFE163}{DF70C463-99DE-40D8-9"
          },
          {
            "col": 17,
            "line": 8,
            "ln": 324,
            "s": "tomizable = False\r\n\r\nOption Explicit\r\n\r\nPrivate Sub cmdNon_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, _\r\n  ByVal Shift As Integer)\r\n\r\n    If KeyCode = vbKeyEscape Then unload Me  ' C0029\r\n\r\nEnd Sub\r\n\r\nPrivate Sub UserForm_Initialize() ' C0158\r\n\r\n    Dim iPos As Integer\r\n    Dim iNbre As Integer\r\n    Dim aTableau(19) As String ' D072, C0122\r\n    Dim iLongueur As Integer\r\n    Dim sSequence As String\r\n    Dim sLigne As String\r\n    Dim I As Integer\r\n    \r\n    On Error GoTo TraitErreur\r\n                \r\n    If GetSettings().LangInterf = \"FRA\" Then\r\n        With frmCascade\r\n            .Caption = \" Habillage de fiches en cascade\"\r\n            .lblVoulez.Caption = \"Voulez-vous appliquer cette opï¿½ration \" \u0026 vbCr \u0026 _\r\n                                 \"en cascade jusqu'ï¿½ la prochaine ligne vide?\"\r\n            .chkIns"
          },
          {
            "col": 81,
            "line": 36,
            "ln": 1213,
            "s": " vbCr \u0026 _\r\n                                  \"Domaine et Source dans les fiches\"\r\n            .lblSequence = \"Sï¿½quence des champs\"\r\n            .cmdOK.Caption = \"Oui\"\r\n            .cmdNon.Captio"
          },
          {
            "col": 54,
            "line": 45,
            "ln": 1571,
            "s": "\r\n            .lblVoulez.Caption = \"Do you want this operation to cascade through\" \u0026 vbCr \u0026 _\r\n                                 \"until the next empty line?\"\r\n            .chkInserer.Caption = \"Insert selected Domain and Source \" \u0026 vbCr \u0026 _\r\n                                  \"from the toolbar into the new records\"\r"
          },
          {
            "col": 17,
            "line": 53,
            "ln": 2020,
            "s": "Annuler.Caption = \"Quit\"\r\n        End With\r\n    End If\r\n    ' Essayer, successivement:\r\n    sSequence = GetSettings().HabFiche ' C0073 - GetSettings()"
          },
          {
            "col": 9,
            "line": 73,
            "ln": 2824,
            "s": "\r\n200:\r\n    aTableau(iNbre) = Trim(sLigne)\r\n    For I = 0 To iNbre\r\n        lstSequence.AddItem aTableau(I)\r\n    Next I\r\n    cmdNon.SetFocus\r\n        \r\nSortirIci:\r\n    Exit Sub\r\nTraitErreur:\r\n    Call ErrStd(GetMessage(88)) ' C0187\r\n    Resume SortirIci\r\n\r\nEnd Sub\r\n\r\nPrivate Sub cmdMonter_Click()\r\n\r\n    If lstSequence.ListIndex = -1 Then Exit Sub\r\n    If lstSequence.ListCount \u003e 0 Then\r\n        If lstSequence.ListIndex \u003e 0 Then\r\n            Dim sTemp\r\n            sTemp = lstSequence.List(lstSequence.ListIndex)\r\n            lstSequence.List(lstS"
          },
          {
            "col": 20,
            "line": 100,
            "ln": 3602,
            "s": ".SetFocus\r\n    End If\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub cmdDescendre_Click()\r\n\r\n    If lstSequence.ListIndex = -1 Then Exit Sub\r\n    If lstSequence.ListCount \u003e 0 Then\r\n  "
          },
          {
            "col": 20,
            "line": 116,
            "ln": 4179,
            "s": ".SetFocus\r\n    End If\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub cmdOK_Click()\r\n\r\n    Dim sParams As String, sOpt As String\r\n    Dim iMax As Integer\r\n    Dim I As Integer\r\n"
          },
          {
            "col": 26,
            "line": 131,
            "ln": 4547,
            "s": "stCount\r\n    sParams = lstSequence.List(0)\r\n    For I = 1 To iMax - 1\r\n        sParams = sParams \u0026 \"|\" \u0026 lstSequence.List(I)\r\n    Next I\r\n    GetSettings()."
          },
          {
            "col": 34,
            "line": 181,
            "ln": 6035,
            "s": "BFI\", sParams)\r\n    unload Me\r\n    \r\nEnd Sub\r\n\r\nFunction Splitter(sLigne As String, sDelim As String) As Variant\r\n\r\n    Dim iPos As Integer\r\n    Dim iNbre As Int"
          },
          {
            "col": 5,
            "line": 206,
            "ln": 6746,
            "s": "Loop\r\n    aTableau(iNbre) = Trim(sLigne)\r\n\r\n    Set Splitter = aTableau\r\n\r\nEnd Function\r\n\r\n\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 4096,
              "peak_region_entropy": 5.11
            },
            "file": {
              "entropy": 4.85,
              "size": 6839
            },
            "text": {
              "avg_line_length": 30.11,
              "char_entropy": 4.85,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.17,
              "last_line_length": 12,
              "line_length_stddev": 23.14,
              "lines": 213,
              "max_line_length": 99,
              "max_whitespace_run": 2,
              "non_ascii_ratio": 0,
              "repeated_char_sequences": 31,
              "space_count": 1690,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "trailing_whitespace_lines": 13,
              "unique_chars": 84,
              "whitespace_ratio": 0.31
            }
          }
        },
        "id": 6,
        "mol": "Md(Pt)",
        "path": "LTMacros.dotm!!vba/frmCascade.vbs",
        "pid": 0,
        "risk": 1,
        "sha": "117751bb0526871f98a4005690f1485fdfe13d02e2b8a2760f92b3cae595e722",
        "sid": 10728937700,
        "size": 6839,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Multiple French function-word tokens",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french",
            "spans": [
              [
                1004,
                4
              ],
              [
                1019,
                5
              ],
              [
                1277,
                4
              ]
            ],
            "uses": [
              12,
              13,
              14
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                604,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                519,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript For loop statement",
            "id": "metadata/lang/scripted::for-to-loop",
            "spans": [
              [
                4595,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Function declaration",
            "id": "metadata/lang/scripted::function-declaration",
            "spans": [
              [
                6083,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript Set object assignment",
            "id": "metadata/lang/scripted::set-object",
            "spans": [
              [
                6794,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                3100,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                1706,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1787,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                2872,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                888,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                1619,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"dans\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-1",
            "spans": [
              [
                1277,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"vous\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-4",
            "spans": [
              [
                1004,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "French function-word token \"cette\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-french--atom-5",
            "spans": [
              [
                1019,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Attribute VB_Name = \"frmSelDocFiche\"\r\nAttribute VB_Base = \"0{86614B0A-F9D6-4579-B687-2B189331E8CA}{C4C5F022-0411-44"
          },
          {
            "col": 17,
            "line": 11,
            "ln": 382,
            "s": " As Integer\r\nPrivate iSel As Integer\r\n\r\nPrivate Sub lstDocFiches_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, _\r\n  ByVal Shift As Integer)\r\n\r\n    If KeyCode = vbKeyEscape Then unload Me  ' C0029\r\n\r\nEnd Sub\r\n\r\nPrivate Sub UserForm_Initialize()\r\n\r\n    On Error GoTo TraitErreur\r\n    \r\n    If GetSettings().LangInterf = \"FRA\" Then\r\n        With frmSelDocFiche\r\n            .Caption = \" Documents de fiches prï¿½fï¿½rï¿½s\"\r\n            .cmdO"
          },
          {
            "col": 4,
            "line": 35,
            "ln": 1054,
            "s": "         .cmdAjouter.Caption = \"Add...\"\r\n            .cmdOuvrir.Caption = \"Open\"\r\n            .cmdSuppr.Caption = \"Remove\"\r\n        End With\r\n    End If\r\n    \r\n    Dim sDocIni As String\r\n    sDocIni = GetSettings().CheminMon \u0026 \"\\config\\logi001.txt\"\r\n    \r\n    Const cbRea"
          },
          {
            "col": 50,
            "line": 45,
            "ln": 1408,
            "s": "= 0\r\n    ' Avant tout, crï¿½er l'objet FSO\r\n    Dim oFSO, oRead, oWrite As Object\r\n    Set oFSO = CreateObject(\"Scripting.FileSystemObject\")\r\n    Set oRead = oFSO.OpenTextFile(sDocIni, cbRead, True, cbUnicode)\r\n    iLargeur = 0: sDebogage = \"90076\"\r\n    Dim sLigne As String\r\n    Dim iLongTot As Integer\r\n    While Not oRead.AtEndOfStream\r\n        sLigne = oRead.ReadLine\r\n        iLongTo"
          },
          {
            "col": 7,
            "line": 91,
            "ln": 2915,
            "s": "tDocFiches.SetFocus\r\n    \r\nSortirIci:\r\n    Exit Sub\r\nTraitErreur:\r\n    Call ErrStd(GetMessage(104))\r\n    Resume SortirIci\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub cmdMonter_Click()\r\n\r\n    If lstDocFiches.ListIndex = -1 Then Exit Sub\r\n    If lstDocFiches.ListCount \u003e 0 Then\r\n        If lstDocFiches.ListIndex \u003e 0 Then\r\n            Dim sTemp As String\r\n            sTemp = lstDocFiches.List(lstDocFiches.ListIndex)\r\n            lstDocFic"
          },
          {
            "col": 21,
            "line": 112,
            "ln": 3589,
            "s": ".SetFocus\r\n    End If\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub cmdDescendre_Click()\r\n\r\n    If lstDocFiches.ListIndex = -1 Then Exit Sub\r\n    If lstDocFiches.ListCount \u003e 0 Then\r\n"
          },
          {
            "col": 21,
            "line": 128,
            "ln": 4191,
            "s": ".SetFocus\r\n    End If\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub cmdOuvrir_Click()\r\n\r\n    On Error GoTo TraitErreur\r\n    \r\n    If lstDocFiches.ListIndex = -1 Then\r\n        MsgB"
          },
          {
            "col": 4,
            "line": 140,
            "ln": 4417,
            "s": " End If\r\n    iSel = lstDocFiches.ListIndex\r\n    Dim sOuvrir As String\r\n    sOuvrir = lstDocFiches.List(iSel)\r\n    If Dir(sOuvrir) = \"\" Then\r\n        MsgBox"
          },
          {
            "col": 15,
            "line": 151,
            "ln": 4745,
            "s": "onversions:=False, AddToRecentFiles:=False\r\n    Dim sFiche As String\r\n    sFiche = GetSettings().CheminBas \u0026 \"\\config\\term.doc\"\r\n    Selection.HomeKey Unit:=wdStory\r\n    Selection.InsertFile FileName:=sFiche\r\n    Selection.HomeKey Unit:=wdStory\r\n    Sele"
          },
          {
            "col": 2,
            "line": 166,
            "ln": 5150,
            "s": "nd Sub\r\n\r\nPrivate Sub cmdAjouter_Click()\r\n\r\n    Dim objCommonDialog As New clsCommonDialog\r\n    Dim iPos As Integer\r\n    Dim iLongueur As Integer\r\n    \r\n    On Err"
          },
          {
            "col": 19,
            "line": 182,
            "ln": 5575,
            "s": "g.Filter = \"Microsoft Word|*.doc;*.docx\" ' 03juin09\r\n    objCommonDialog.ShowOpen\r\n    \r\n    If objComm"
          },
          {
            "col": 1,
            "line": 275,
            "ln": 7968,
            "s": "    Me.Width = 357\r\n    lstDocFiches.Width = 242\r\n    cmdOuvrir.Left = 294\r\n    cmdAjouter.Left = 294\r\n    cmdSuppr.Left = 294\r\n    \r\nEnd Sub\r\n\r\nPrivate Sub UserForm_Terminate()\r\n\r\n    Call EnregListeDo"
          },
          {
            "col": 16,
            "line": 299,
            "ln": 8597,
            "s": "CreateObject(\"Scripting.FileSystemObject\")\r\n    Set oWrite = oFSO.OpenTextFile(sDoc001, cbWrite, True, cbUnicode)\r\n    Dim I As Integer\r\n    For I = 0 To lstDocFiches.ListCount - 1\r\n        oWrite.WriteLine lstDocFiches.List(I)\r\n    Next I\r\n    oWri"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 7912,
              "peak_region_entropy": 5.14
            },
            "file": {
              "entropy": 4.96,
              "size": 8936
            },
            "text": {
              "avg_line_length": 26.92,
              "char_entropy": 4.96,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.2,
              "last_line_length": 7,
              "line_length_stddev": 20.5,
              "lines": 309,
              "max_line_length": 101,
              "max_whitespace_run": 2,
              "non_ascii_ratio": 0.01,
              "repeated_char_sequences": 20,
              "space_count": 1908,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "trailing_whitespace_lines": 32,
              "unique_chars": 83,
              "whitespace_ratio": 0.28
            }
          }
        },
        "id": 7,
        "mol": "H₃(DbFOs₂)",
        "path": "LTMacros.dotm!!vba/frmSelDocFiche.vbs",
        "pid": 0,
        "risk": 3,
        "sha": "8b3a9f93c62616becd0d7c564a6165451206a049020cc67e27a5f4970a55eb3c",
        "sid": 10728937706,
        "size": 8936,
        "traits": [
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999",
            "spans": [
              [
                8032,
                10
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Path separator before office or PDF filename",
            "id": "micro-behaviors/fs/path/temporary-artifact::document-subpath-literal",
            "spans": [
              [
                4862,
                9
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "CreateObject and COM ProgID references co-occur",
            "id": "micro-behaviors/os/com/automation::createobject-with-com-progid-references",
            "spans": [
              [
                1506,
                13
              ],
              [
                1520,
                26
              ]
            ],
            "uses": [
              3,
              4
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "FileSystemObject ProgID string",
            "id": "micro-behaviors/os/com/automation::filesystemobject-progid",
            "spans": [
              [
                1520,
                26
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "CreateObject call text",
            "id": "micro-behaviors/os/com/instantiation::createobject-reference",
            "spans": [
              [
                1506,
                13
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "WSH instantiates FileSystemObject",
            "id": "micro-behaviors/os/com/instantiation::filesystemobject-constructor",
            "spans": [
              [
                1506,
                42
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "VBScript Dim variable declaration",
            "id": "metadata/lang/scripted::dim-declaration",
            "spans": [
              [
                3234,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "VB-family End control-flow block",
            "id": "metadata/lang/scripted::end-block-statement",
            "spans": [
              [
                583,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript For loop statement",
            "id": "metadata/lang/scripted::for-to-loop",
            "spans": [
              [
                8738,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "VBScript Set object assignment",
            "id": "metadata/lang/scripted::set-object",
            "spans": [
              [
                1495,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "VB-family Sub procedure",
            "id": "metadata/lang/scripted::sub-declaration",
            "spans": [
              [
                3063,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                8738,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                722,
                0
              ]
            ]
          }
        ],
        "type": "vbs"
      }
    ],
    "v": 8
  }
}