Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Option Explicit
  2.  
  3. Dim ie
  4.  
  5. Set ie = CreateObject("InternetExplorer.Application")
  6.  
  7. On Error Resume Next
  8.  
  9. Sub WaitForLoad
  10. Do While ie.busy
  11. WScript.Sleep 500
  12. Loop
  13. End Sub
  14.  
  15. Sub OpenVideo
  16. ie.navigate "http://p2sl.me/5XhwiRc2"
  17. End Sub
  18.  
  19. Call OpenVideo
  20. Call WaitForLoad
  21.  
  22. ie.Visible = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement