PROBLEMA CON WINDOWS 10 E IE

« Older   Newer »
  Share  
virginiello
CAT_IMG Posted on 30/7/2018, 11:04     +1   -1




buongiorno

ho un grosso problema

ho realizzato un SW per popolare i campi di un sito web che fino a quando utilizzavo W7 andava benissimo ma, appena upgradato a W10 mi crasha quando cerca di popolare un campo.

sembra che l'errore sia nel comando "IEPropertyGet".


In sintesi il codice è questo:


$FindText = InputBox("L'ABILITATORE","INSERISCI LA USER")
if $FindText = "" Then
Exit
EndIf
;$INVERMATR = StringTrimLeft($FindText,6)&StringTrimRight($FindText,1)
Sleep (500)
#include<ie.au3>

$sUrl = "http:\\www. ecc
$oIE = _IECreate($sUrl, 0, 1, 0, 1)

sleep (2000)
$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState($oHWND, "", @SW_MAXIMIZE)
$oForm = _IEFormGetCollection($oIE, 0)
$sUserid = $FindText
$oUserid = _IEFormElementGetObjByName($oForm, "idUtente")
_IEFormElementSetValue($oUserid, $sUserid)

_IEFormSubmit($oForm)

sleep (2000)


Potete aiutarmi?

Grazie
 
Top
CAT_IMG Posted on 1/8/2018, 23:16     +1   -1

L'estremo

Group:
Member
Posts:
202
Reputazione:
+2

Status:


Ciaoo, se riesci a postare l'intero script, mi sarebbe più facile capire come e perché ti da l'errore.
 
Web   Top
1 replies since 30/7/2018, 11:04   66 views
  Share