OstrichSquad

System Refrence [ALPHA] By Syntax

Nov 4th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.97 KB | None | 0 0
  1. ; Syntax's OS Reference
  2. #include <MsgBoxConstants.au3>
  3. #NoTrayIcon
  4. ; Warning
  5. MsgBox($MB_TASKMODAL, "NOTICE", "Do NOT close the popup window that will now open until it has finished its task.")
  6. Sleep(200)
  7. ; Executes notepad
  8. Run("notepad.exe","C:\Windows\System32",@SW_MAXIMIZE)
  9. Sleep(200)
  10. ; Names Comp info
  11. Send("Welcome " & @UserName & " to the system analyzer." & "{ENTER}")
  12. Sleep(200)
  13. ; Names Operating System
  14. Send("Your OS is: " & @OSVersion & " " & @OSServicePack & "." & "{ENTER}")
  15. Sleep(200)
  16. ; Names OS Arch
  17. Send("Your OS Architecture is: " & @OSArch & "." & "{ENTER}")
  18. Sleep(200)
  19. ; Screen Res
  20. Send("Your screen resolution is: " & @DesktopWidth & "x" & @DesktopHeight & " and your bpp (bits per pixel) is " & @DesktopDepth & "." & "{ENTER}")
  21. Sleep(200)
  22. ; IP Info
  23. Send("Your 1st network adapter(s) IP address is: " & @IPAddress1 & "{ENTER}")
  24. Send("Your 2nd network adapter(s) IP address is: " & @IPAddress2 & "{ENTER}")
  25. Sleep(200)
  26. ;Goodbye message
  27. Send("Goodbye.")
Advertisement
Add Comment
Please, Sign In to add comment