Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Elektryon

    Control Flow Statement

    Ah, thank you all for your valuable information.
  2. Elektryon

    Control Flow Statement

    Hm, is it? I didn't think I knew that much C. Thanks
  3. Elektryon

    Control Flow Statement

    There is a control flow statment that goes something like this: condition ? return if true : return if false I can't remember exactly how it goes, or the name for it, and any amount of seach engine searching is fruitless. Thanks for the help.
  4. Elektryon

    Controlling an already existing instance of IE

    Hey, that would also work, I did notice in all my debugging that it wouldn't execute an 'else' if there was an error in the original logical test of the 'if'.
  5. Elektryon

    Controlling an already existing instance of IE

    With a small amount of experimentation, the working code comes as thus: surl ="http://www.google.com/" set ie = nothing set shapp=createobject("shell.application") on error resume next For Each owin In shapp.Windows if left(owin.document.location.href,len(surl))=surl then if err.number...
  6. Elektryon

    Controlling an already existing instance of IE

    Thank you PHV and Tsuji once again. That snipit of code looks promissing.
  7. Elektryon

    Controlling an already existing instance of IE

    Funnily enough, just seconds after I read your post did I figure out why it would get the handle on a folder window. Consider the following: There are 4 windows open, 3 IE browsers and 1 folder wind, and shapp.windows contains, in this order: 1. Microsoft Internet Explorer 2. Microsoft...
  8. Elektryon

    Controlling an already existing instance of IE

    It's me again with another question on this topic (this will be my 3rd post on it) I have the this code (given by Tsuji), which is suppose to get a handle on an already existsing instance of IE (given its current URL), and it works quite well, however, it has this little quirk: If there's a...
  9. Elektryon

    Controlling an already existing instance of IE Q#2

    Thanks again Tsuji
  10. Elektryon

    Controlling an already existing instance of IE Q#2

    I had asked a question about how to control an instance of internet explorer (see http://www.tek-tips.com/viewthread.cfm?spid=329&newpid=329&sqid=877814 ) and I was wondering how events could be triggered from that same object, as would be done by the "ie_" in:set...
  11. Elektryon

    Controlling an already existing instance of IE

    Thank you very much tsuji, it's amazing how neatly that script worked, and also how versatile it is as it looks as though this could work with many other things. Thanks again, Elektryon
  12. Elektryon

    Controlling an already existing instance of IE

    I know that it's possible to run an instance of Internet Explorer from within the script itself and be able to control it, but is there a way to control an already existing instance of it? The closest I've been able to come to this is to use WshShell.AppActivate to give it the focus and...

Part and Inventory Search

Back
Top