Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Syntax's OS Reference
- #include <MsgBoxConstants.au3>
- #NoTrayIcon
- ; Warning
- MsgBox($MB_TASKMODAL, "NOTICE", "Do NOT close the popup window that will now open until it has finished its task.")
- Sleep(200)
- ; Executes notepad
- Run("notepad.exe","C:\Windows\System32",@SW_MAXIMIZE)
- Sleep(200)
- ; Names Comp info
- Send("Welcome " & @UserName & " to the system analyzer." & "{ENTER}")
- Sleep(200)
- ; Names Operating System
- Send("Your OS is: " & @OSVersion & " " & @OSServicePack & "." & "{ENTER}")
- Sleep(200)
- ; Names OS Arch
- Send("Your OS Architecture is: " & @OSArch & "." & "{ENTER}")
- Sleep(200)
- ; Screen Res
- Send("Your screen resolution is: " & @DesktopWidth & "x" & @DesktopHeight & " and your bpp (bits per pixel) is " & @DesktopDepth & "." & "{ENTER}")
- Sleep(200)
- ; IP Info
- Send("Your 1st network adapter(s) IP address is: " & @IPAddress1 & "{ENTER}")
- Send("Your 2nd network adapter(s) IP address is: " & @IPAddress2 & "{ENTER}")
- Sleep(200)
- ;Goodbye message
- Send("Goodbye.")
Advertisement
Add Comment
Please, Sign In to add comment