„Windows“: sukurkite klaidos pranešimą - kaip tai veikia
Testuojant ar gąsdinant draugus galite patys sukurti „Windows“ klaidos pranešimą. Šiame praktiniame patarime jums parodysime, kaip tai veikia.
Sukurkite savo „Windows“ klaidos pranešimą - kaip tai veikia
- Kompiuteryje atidarykite redaktorių.
- Nukopijuokite šį kodą „x = msgbox („ klaidos tekstas “, 1 + 16, „ klaidos pavadinimas “)“ į redaktorių (be išorinių kabutių).
- Pavadinimą ir tekstą galite pakeisti kaip norite. „Klaidos tekstas“ yra jūsų klaidos pranešimo tekstas. „Klaidos pavadinimas“ yra lango pavadinimas. Tiesiog atkreipkite dėmesį, kad kabutės turi likti.
- Skaičių kombinacija nustato lango tipą (1) ir atitinkamą garsą (16). Pirmąją reikšmę galite pasirinkti nuo 0 iki 5, antrąją - su skaičiais 16, 32, 48 arba 64.
- Tada spustelėkite „Failas“> „Įrašyti“. Prie klaidos pranešimo failo pavadinimo pridėkite plėtinį „.vbs“ (pvz., „Fakefehlermmeldung.vbs“).
- Norėdami sugeneruoti pranešimą, du kartus spustelėkite sukurtą failą.