SitePoint Sponsor

User Tag List

Results 1 to 25 of 122

Threaded View

  1. #14
    Super Ninja Monkey Travis's Avatar
    Join Date
    Dec 2001
    Location
    Sioux City, Iowa
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about:
    Code:
    <?php
    $url = 'http://hotmail.com';
    
    $exec = "
    Set WshShell = WScript.CreateObject(\"WScript.Shell\")
    
    WshShell.Run \"iexplore.exe\"
    WshShell.AppActivate \"Internet Explorer\"
    
    WshShell.SendKeys \"%D\"
    
    WshShell.SendKeys \"$url{ENTER}\"
    WScript.Sleep 2000
    
    WshShell.Run(\"C:\\HQScreen.exe 0 PNG 8 picture C:\\\")
    ";
    
    exec ($exec);
    ?>
    Note: I've made a couple fixes to this code.
    Last edited by Trav; Jan 2, 2003 at 21:18.
    Travis Watkins - Hyperactive Coder
    My Blog: Realist Anew
    Projects: Alacarte - Gnome Menu Editor


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •