Hey leute ich habe hier ein ausschnitt aus meinem script:
[autoit]
$oIE = _IECreate ("http://www.usenet-space-cowboys.info/board/index.php", 1, 1, 1)
_IELoadWait ($oIE)
_IENavigate ($oIE, "http://www.usenet-space-cowboys.info/board/newthread.php?boardid=" & $boardid )
$oForm = _IEFormGetObjByName ($oIE, "bbform")
_IEFormElementRadioSelect ($oForm, $iconid, "iconid", 1, "byValue")
$oQuery = _IEFormElementGetObjByName ($oForm, "topic")
_IEFormElementSetValue ($oQuery, $topic )
$oQuery = _IEFormElementGetObjByName ($oForm, "prefix")
_IEFormElementSetValue ($oQuery, $prefix )
Sleep ( 2000 )
[/autoit][autoit][/autoit][autoit]$oQuery = _IEFormElementGetObjByName ($oForm, "attachmentbutton")
_IEAction ($oQuery, "click")
ProgressSet( "20", "20%") ;;;;; PROGRESS SET !!!!!!!!!!!!!!
[/autoit][autoit][/autoit][autoit];; ATTACHMENT POPUP
WinWaitActive("USENET-SPACE-COWBOYS | Da")
$oIEpop = _IEAttach ("USENET-SPACE-COWBOYS | Da")
_IELoadWait ($oIEpop) ;; WARTE BIS POPUP GELADEN WURDE
;_IEAction ($oIEpop, "invisible") ;;; VERSTECKE POPUP
$oForm = _IEFormGetObjByName ($oIEpop, "attachmentupload")
$oQuery = _IEFormElementGetObjByName ($oForm, "attachment_file")
WinActivate("USENET-SPACE-COWBOYS | Da")
_IEAction($oQuery, "focus")
Send($attachfile1)
$oQuery = _IEFormElementGetObjByName ($oForm, "submit")
_IEAction ($oQuery, "click")
_IELoadWait ($oIEpop)
Sleep( 2000 )
$sHTML = _IEDocReadHTML ($oIEpop)
$result = StringInStr($sHTML, "[attach]" )
$resutt2 = StringTrimLeft($sHTML, $result -1 )
$result3 = StringInStr($resutt2, "[/attach]" )
$result4 = StringLeft($resutt2, $result3 +
$attach1 = $result4
bei mir selber läuft das total super, aber bei anderen
bleibt er bei ;; ATTACHMENT POPUP hängen und überspringt
das popup dann einfach und mach mit dem restlichen code weiter
hat wer ne ahnung wo da der fehler sein könnte?
ich verstehs nicht weil wie gesagt bei mir läufts super
gruß
nova