Что нового

не работает _IECreate

komorov74

Новичок
Сообщения
81
Репутация
0
Уважаемые нужна помощь.
Вот самый элементарный скрипт.
на одном компе работает 7х64 на других нет 7 х86

Код:
#include "IE.au3"

$sUrl = ClipGet() ; получаем ссылку на страничку через буфер обмена
;$oIE = _IECreate("www.mail.ru",0,0,1,0); без параметров открывает указанную страницу
$oIE = _IECreate($sUrl)


Облазился я читать про баги -честно не нашел.
по ссылки http://autoit-script.ru/autoit3_docs/libfunctions/_iecreate.htm
прочитал вот это " New security in Windows Vista causes a new browser window to be created when a browser is instructed to navigate to a URL in a different security zone. This occurs as well with the initial creation and navigation initiated with _IECreate. The new window is a new browser instance and the previous browser object variable no longer points to it. There are several workarounds: 1) add #RequireAdmin to your code (this is required even if the account is part of the Administrator's Group and will propmt for credentials if necessary), 2) use _IEAttach to connect to the new browser window 3) add the target website to the Trusted Sites security zone in IE, 4) turn off "Protected Mode" in IE, or 5) disable UAC. Care must be taken to understand the implications of disabling IE security features when accessing untrusted sites."

Но познания ангицкого языка -позволяют понять что я всех тонкостей его не знаю :smile:
на компе на котором все работает установлен ie9 а на других 8 :(
 

winstan

Эксплотатор)
Сообщения
406
Репутация
79
У меня работает
OS:Win7 Ultimate x86 6.1.7601 Service Pack 1 сборка 7601
ie 8.0.7601.17514
 

C2H5OH

AutoIT Гуру
Сообщения
1,473
Репутация
333
Код:
#include "IE.au3"
ClipPut("www.mail.ru")
$sUrl = ClipGet() ; получаем ссылку на страничку через буфер обмена
$oIE = _IECreate($sUrl,0,0,1,0)


Если вот так работает, то проверяй что у тебя в буфере обмена.
 
Автор
K

komorov74

Новичок
Сообщения
81
Репутация
0
не работает !!! верней работает. не запускается на компе ie
 
Верх