Mundarija:
- 1 -qadam: 1 -qadam: Birinchi Vbs
- 2 -qadam: 2 -qadam: Ikkinchi fayl
- 3 -qadam: 3 -qadam: Uchinchi Vbs
- 4 -qadam: 4 -qadam: Oxirgi Vbs fayli
Video: Martix sahnasi Neoni uyg'otadi Vbs: 4 qadam
2024 Muallif: John Day | [email protected]. Oxirgi o'zgartirilgan: 2024-01-30 13:25
Salom, bu dasturlash yo'riqnomasi va men sizga kodni beraman, shunda siz matritsaning boshida neoning kompyuterini buzib tashlagan va kompyuter aytadi: neo uyg'on …
1 -qadam: 1 -qadam: Birinchi Vbs
bloknotni oching va bu to'rtta fayllardan biri, aks holda u ishlamaydi.
ushbu kodni kiriting:
ghost = wscript. CreateObject ("WScript. Shell") ni o'rnating ghost.run "cmd" wscript.sleep 3000 ghost.sendkeys "w" wscript.sleep 100 ghost.sendkeys "a" wscript.sleep 100 ghost.sendkeys "k" wscript. Uylash 100 ghost.sendkeys "e" wscript.sleep 100 ghost.sendkeys "" wscript.sleep 100 ghost.sendkeys "u" wscript.sleep 100 ghost.sendkeys "p" wscript.sleep 100 ghost.sendkeys "n" wscript.sleep 100 ghost.sendkeys "e" wscript.sleep 100 ghost.sendkeys "o" wscript.sleep 100 ghost.sendkeys ". wscript.sleep 100 ghost.sendkeys "." wscript.sleep 100 ghost.sendkeys "." wscript.sleep 5000 Dim objShell ObjShell = Wscript. CreateObject ("WScript. Shell") ni o'rnating
objShell. Run "2.vbs" ni ishga tushiring
'Set -dan foydalanish majburiydir objShell = WScript. Quit -dan hech narsa yo'q
va bu faylni matrix.vbs saqlang
2 -qadam: 2 -qadam: Ikkinchi fayl
Endi yangi bloknotni oching va bu faylni 2.vbs deb nomlang, chunki siz uni kerakli nom bilan chaqirsangiz, u ishlamaydi.
Endi bu kodni notepadning ikkinchi faylidan nusxa ko'chiring va joylashtiring.
ghost = wscript. CreateObject ("WScript. Shell") ni o'rnating ghost.run "cmd" wscript.sleep 500 ghost.sendkeys "t" wscript.sleep 500 ghost.sendkeys "h" wscript.sleep 500 ghost.sendkeys "e" wscript.uyqu 500 ghost.sendkeys "" wscript.sleep 500 ghost.sendkeys "m" wscript.sleep 500 ghost.sendkeys "a" wscript.sleep 500 ghost.sendkeys "t" wscript.sleep 500 sharpa uyqu 500 ghost.sendkeys "i" wscript.sleep 500 ghost.sendkeys "x" wscript.sleep 500 ghost.sendkeys "" wscript.sleep 500 ghost.sendkeys "h" wscript.sleep 500 ghost.sendkeys "a" wscript.sleep 500 ghost.sendkeys "s" wscript.sleep 500 ghost.sendkeys "" wscript.sleep 100 ghost.sendkeys "y" wscript.sleep 100 ghost.sendkeys "o" wscript.sleep 100 ghost.sendkeys "u" wscript.sleep 40 arvoh.sendkeys "." wscript.sleep 40 ghost.sendkeys "." wscript.sleep 40 ghost.sendkeys "." wscript.sleep 5000 ObjShell = Wscript. CreateObject ("WScript. Shell") ni o'rnating
objShell. Run "3.vbs" ni ishga tushiring
'Set -dan foydalanish majburiydir objShell = WScript. Quit -dan hech narsa yo'q
3 -qadam: 3 -qadam: Uchinchi Vbs
boshqa bloknot faylini oching va bu faylni 3.vbs deb nomlang.
ushbu kodni faylga qo'ying.
ghost = wscript. CreateObject ("WScript. Shell") ni o'rnating ghost.run "cmd" wscript.sleep 100 ghost.sendkeys "f" wscript.sleep 100 ghost.sendkeys "o" wscript.sleep 100 ghost.sendkeys "l" wscript. Uylash 100 ghost.sendkeys "l" wscript.sleep 100 ghost.sendkeys "o" wscript.sleep 100 ghost.sendkeys "w" wscript.sleep 100 ghost.sendkeys "" wscript. uxlab yotgan 100 ta arvoh.sendkeys "h" wscript.sleep 100 ghost.sendkeys "i" wscript.sleep 100 ghost.sendkeys "t" wscript.sleep 100 ghost.sendkeys "e" wscript.sleep 100 ghost.sendkeys "" wscript.sleep 100 ruhlar. arvoh.sendkeys "a" wscript.sleep 100 ghost.sendkeys "b" wscript.sleep 100 ghost.sendkeys "b" wscript.sleep 100 ghost.sendkeys "i" wscript.sleep 100 sharpa arvoh.sendkeys "." wscript.sleep 500 ghost.sendkeys "." wscript.sleep 500 ghost.sendkeys "." wscript.sleep 5000 ObjShell = Wscript. CreateObject ("WScript. Shell") ni o'rnating
objShell. Run "4.vbs" ni ishga tushiring
'Set -dan foydalanish majburiydir objShell = WScript. Quit -dan hech narsa yo'q
4 -qadam: 4 -qadam: Oxirgi Vbs fayli
Endi siz oxirgi faylni yaratasiz va uni 4.vbs deb ataysiz.
faylga ushbu kodni kiriting.
ghost = wscript. CreateObject ("WScript. Shell") ni o'rnating ghost.run "cmd" wscript.sleep 100 ghost.sendkeys "knock knock neo…" WScript. Quit
fayllar ish stolida bo'lishi kerak, chunki bunday qilmasangiz ishlamaydi
Tavsiya:
Uyg'onish nuri: 7 qadam (rasmlar bilan)
Uyg'onish nuri: Men yozganimdek, shimoliy yarim sharda qishning o'rtasi, bu qisqa kunlar va uzoq tunlarni anglatadi. Men soat 06: 00da turishga odatlanganman, yozda esa quyosh porlay boshlaydi. Qishda, soat 09:00 da yorug'lik paydo bo'ladi, agar
Yuqori quvvatli LED uyg'onish nuri (+/- 15Watt): 5 qadam
Yuqori quvvatli LED uyg'onish nuri (+/- 15Watt): *2020 yilgi tahrir: Birinchidan, men fanatni ishlatmayman va bu yaxshi ko'rinadi. Issiq bo'ladi, lekin hali hech narsa yonmagan. Ba'zi yangi tushunchalar bilan va bu chiroqlar juda arzon bo'lgani uchun, men atigi 2 tadan ko'proq foydalanardim va 3 Vt bitta LEDni qo'shardim.
Simsiz tarmoq orqali har qanday kompyuterni LANda uyg'otish: 3 qadam
Simsiz tarmoq orqali har qanday kompyuterni LANda uyg'otish: Raspbpian tasviridagi o'zgarishlar tufayli bu qo'llanma endi yangilanmagan. Iltimos, bu erda yangilangan qo'llanmani kuzatib boring: https://www.instructables.com/id/Raspberry-Pi-As-Wake-on-LAN-ServerWOL hozirgi kunda deyarli barcha Ethernet portlarida mavjud. Bu emas
Bubble budilnik uyg'onishni qiziqarli qiladi: 7 qadam (rasmlar bilan)
Pufakchali budilnik uyg'onishni qiziqarli qiladi (shovqinli budilnikdan uyg'onish qiyin). Men quyosh chiqmasdan (yoki ko'p soatlardan beri tashqarida) uyg'onishni yoqtirmaydigan odamlardanman. To'shakda ko'pikli partiyani o'tkazishdan ko'ra, uyg'onishni qiziqarli qilishning qanday yaxshi usuli bor! Arduino va
Oson uyg'onish: Raspberry Pi yordamida tayyorlangan aqlli uyg'onish nuri: 6 qadam
Oson uyg'onish: Raspberry Pi yordamida aqlli uyg'onish nuri: o'quv dasturi loyihasi uchun kirish1 Men nimadir qilishim kerak edi. Uyg'otish chirog'i sizga qanday yordam berishini men doim hayratda qoldirganman, shuning uchun men uyg'otuvchi chiroqni yaratishga qaror qildim. Men uyg'otuvchi chiroqni Raspberr bilan qildim