Hollowyearz

Snippets

Dec 12th, 2013
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.63 KB | None | 0 0
  1.  
  2.  
  3. MsgBox(0, "deBug", "$Variable =  " & $Variable)
  4.  
  5. ;===============================================================================================================
  6.  
  7. ConsoleWrite("$Variable =  " & $Variable & @CRLF)
  8.  
  9. ;===============================================================================================================
  10.  
  11. Local $pos = MouseGetPos()
  12.  
  13. MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1])
  14.  
  15. ;===============================================================================================================
  16.  
  17. #include <Inet.au3>
  18.  
  19. Local $PublicIP = _GetIP()
  20.  
  21. $iMsgBoxAnswer = MsgBox(1, "IP Address", "Your IP Address is: " & $PublicIP & @CRLF & "Copy to Clipboard?")
  22.  
  23. Select
  24.  
  25.         Case $iMsgBoxAnswer = 1 ;OK
  26.  
  27.                 ClipPut($PublicIP)
  28.  
  29.         Case $iMsgBoxAnswer = 2 ;Cancel
  30.  
  31. EndSelect
  32.  
  33. ;===============================================================================================================
  34.  
  35. For $c = 1 To 25 Step 5
  36.  
  37.                 ConsoleWrite("$c=" & $c & @CRLF)
  38.  
  39.         For $i = $c To $c + 5 - 1
  40.  
  41.                 ConsoleWrite("$i=" & $i & @CRLF)
  42.  
  43.         Next
  44.  
  45. Next
  46.  
  47. ;===============================================================================================================
  48.  
  49. Send("FRITZ{enter}")
  50.  
  51. ;===============================================================================================================
  52.  
  53. Send("2012-02-29{enter}")
  54.  
  55. ;===============================================================================================================
  56.  
  57.  
  58.  
  59. ;===============================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment