Wikipedia

Hasil penelusuran

Kamis, 15 Oktober 2015

Membuat software sederhana dengan notepad



Mungkin dibenak kalian tentang membuat software adalah sesuatu hal yang sulit. Memang benar membuat software itu butuh ketelitian yang tinggi dan mengerti dengan bahasa pemrograman komputer terutama bahasa java, C++, dll. Tapi disini aku akan mengajarkan bagaimana cara membuat software yang sederhana dan bisa dilakukan oleh siapa saja hanya dengan menggunakan notepad. 
Beberapa software yang dibuat dengan notepad antara lain;
1.)  Cara membuat komputer berbicara
2.)  Cara membuat komputer menyapamu saat booting
3.)  Cara membuat file locker
4.)  Cara membuat diary
5.)  Cara membuat game

1.     Membuat komputer berbicara
-         Buka aplikasi notepad
-         Ketik, message=InputBox(“ketik sembarang”) enter
-         Ketik set sapi = CreateObject (“Sapi.Spvoice”) enter
-         Ketik sapi.Speak message
-         Simpan file dalam format ekstensi .vbs
Contohnya coba.vbs setelah itu  buka file tersebut dan ketik sembarang pada kotak pesan dan klik ok.

2.     Membuat komputer menyapa
-         Buka aplikasi notepad
-         Ketik CreateObject(“Sapi.spvoice”).speak”ketik sembarang”
-         Simpan file dalam format berekstensi .vbs
Contohnya sapaan.vbs kemudian pindah file ke Disc C untuk pengguna windows kemudian klik User\TOSHIBA\AppData\Roaming\Microsoft\Windows\StartMenu\Programs\Startup. Lihat apa yang terjadi saat turn on komputer.

3.     Cara membuat file locker
-         Buka aplikasi notepad dan ketik seperti dibawah ini,
-         cls
-         @echo off
-         title Folder Locker
-         if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
-         if NOT EXIST locker goto MDLOCKER
-         :CONFIRM
-         echo Are you sure you want to Lock the folder(Y/N)
-         set/p "cho=>"
-         if %cho% ==Y goto LOCK
-         if %cho% ==y goto LOCK
-         if %cho% ==n goto END
-         if %cho% ==N goto END
-         echo Invalid choice.
-         goto CONFIRM
-         :LOCK
-         ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
-         attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
-         echo Folder locked
-         goto End
-         :UNLOCK
-         echo Enter password to Unlock folder
-         set/p "pass=>"
-         if NOT %pass%==ketik kata kunci goto FAIL
-         attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
-         ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
-         echo Folder Unlocked successfully
-         goto End
-         :FAIL
-         echo Invalid password
-         goto end
-         :MDLOCKER
-         md Locker
-         echo Locker created successfully
-         goto End
-         :End
-         simpan file dalam format berekstensi .bat
contohnya locker.bat kemudian copy file ditempat dimana ingin menyimpan file menggunakan locker. Ingat-ingat kata kunci untuk membuka locker setelah berhasil pindahkan file yang ingin disimpan secara rahasia di file locker dan kunci kembali dengan meng-klik Y untuk ya atau N untuk tidak.

4.     Membuat diary
-         Buka aplikasi notepad
-         Ketik .LOG
-         Simpan file dengan nama sembarang tanpa mengubah formatnya
Setelah menyimpan file diary silahkan kalian membuka file dan ketik sembarang atau ingin curhat atau apa kemudian simpan dan secara otomatis diary yang tersimpan akan menyimpan waktu saat membuat diary.

5.     Membuat game
-         Buka aplikasi notepad dan ketik seperti berikut,
-         @echo off
-         :menu
-         cls
-         echo welcome to the game!
-         echo (that you just lost)
-         pause >nul
-         echo.
-         echo quiz game
-         echo.
-         echo 1. start it up!
-         echo 2. exit :(
-         echo.
-         set /p input=enter:
-         if %input% == "1" goto start
-         if %input% == "2" exit
-          
-         :start
-         cls
-         echo hello, %name%. you are starting the game so sit the hell out, get a glass of milk...
-         echo and relax bruh...
-         pause >nul
-         cls
-         echo the first question!
-         pause >nul
-         cls
-         echo.
-         echo your first question is...
-         echo.
-         echo what is 2 + 3(5)?
-         echo.
-         echo 1. 4
-         echo 2. 7
-         echo 3. 20
-         echo 4. 17
-         echo.
-         set /p input=enter:
-         if %input% == "1" goto wrong1
-         if %input% == "2" goto wrong1
-         if %input% == "3" goto wrong1
-         if %input% == "4" goto correct1
-          
-         :correct1
-         cls
-         echo great job!
-         pause >nul
-         goto lvl2
-          
-         :wrong1
-         cls
-         echo you lost!
-         pause >nul
-         goto lvl1
-          
-         :lvl2
-         cls
-         echo.
-         echo the second question is...
-         echo.
-         echo what the meaning of pet peeve is?
-         echo.
-         echo 1. hate
-         echo 2. happy
-         echo 3. sad
-         echo 4. angry
-         echo.
-         set /p input=enter:
-          
-         if %input% == "1" goto correct2
-         if %input% == "2" goto wrong2
-         if %input% == "3" goto wrong2
-         if %input% == "4" goto wrong2
-          
-         :correct2
-         cls
-         echo well done!
-         pause >nul
-         goto lvl3
-          
-         :wrong2
-         cls
-         echo uh oh!
-         pause >nul
-         goto lvl2
-          
-         :lvl3
-         cls
-         echo end of the game! good job!
-         echo.
-         echo bye.
-         pause >nul
-         goto menu
-         simpan file dengan format berekstensi .bat kemudian mainkan gamenya
Baiklah itu saja yang bisa kujelaskan saat ini karena aku juga masih belajar dan semoga apa yang sudah kutulis bisa bermanfaat. Terimakasih ..

Pengikut