Are there anymore commands besides these 2?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Are there anymore commands besides these 2?

Post by peno123 » Sat Nov 18, 2006 1:02 am

Is there a command to close all internet explorer windows . but not normal window mode windows , the alt+F4 closes windows not associated with internet explorer windows as well internet explorer windows, and .
VBRun>KillProcess,iexplore.exe doesnt seem to work at all, though im not sure if more needs to be added to this line for it to work.

Thank you in advance
Penolope

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Sat Nov 18, 2006 1:14 am

You need to define vb commands before you can use them in the macro, also it's good to check that the process exists before you try to kill it. This thread http://www.mjtnet.com/usergroup/viewtop ... illprocess has a good example.[/url]

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Sat Nov 18, 2006 1:20 am

Thanks me_agian i will look into that.
Penolope

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Sat Nov 18, 2006 2:51 am

I checked out the link you posted but it seemed to confuse me more then help me.
i was just looking for a 1 or 2 line code that would kill all internet explorer pages that are open , but the link you showed me has way to much info in it for me to figure out what commands are doing what in it .
Sorry im still learning this stuff.
Penolope

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts