IE extoff

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

IE extoff

Post by lunalucky » Fri Dec 01, 2017 8:50 am

Hi,
when I use WebRecorder functions, can I start Internet Explorer with no extensions?
Thanks in advance

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: IE extoff

Post by Marcus Tettmar » Sun Dec 03, 2017 2:30 pm

Not with IECreate, but if you could use Run to shell IE with the -extoff switch and then use IEGetFromURL to get a handle to IE instead of using IECreate.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

Re: IE extoff

Post by lunalucky » Mon Dec 04, 2017 4:08 pm

I try:
RunProgram>C:\Program Files\Internet Explorer\iexplore.exe https://it.yahoo.com
IEGetFromURL>https://it.yahoo.com,IE_inst
IE_inst=0 and run

RunProgram>C:\Program Files\Internet Explorer\iexplore.exe -extoff https://it.yahoo.com
IEGetFromURL>https://it.yahoo.com,IE_inst
IE_inst=-1 and error

Why? Can you help me?

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: IE extoff

Post by Marcus Tettmar » Tue Dec 05, 2017 11:30 am

You're not waiting for IE to exist/load. Probably need to add at least a WaitWindowOpen. I'd also add a short Wait of a second or two to be sure.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

Re: IE extoff

Post by lunalucky » Tue Dec 05, 2017 1:21 pm

I insert WaitWindowOpen and Wait>2, but the results don't change.
With -extoff the variable IE_inst is -1, while without -extoff the macro is running.
:?:

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: IE extoff

Post by Marcus Tettmar » Mon Dec 11, 2017 3:54 pm

I'm sorry it appears you cannot automate IE via COM when -extoff is specified. I guess you'll have to disable specific extensions individually instead.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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