also hier mal die ausgabe der console:
Spoiler anzeigen
_FFConnect: OS:WIN_XP WIN32_NT 2600 Service Pack 3
_FFConnect: AutoIt:3.2.10.0
_FFConnect: FF.au3:0.5.1.0b-0
_FFConnect: IP:127.0.0.1
_FFConnect: Port:4242
_FFConnect: Delay: 2ms
_FFConnect: Socket: 1688
_FFConnect: Browser:Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
_FFOpenURL: http://www.homepage.info/board/index.php
__FFSend: try{window.content.frames["top"].document.location.href="http://www.homepage.info/board/index.php";}catch(e){"_FFOpenURL_Error"};
__FFRecv: http://www.homepage.info/board/index.php
_FFLoadWait: ... loaded in 1653ms
_FFOpenURL: http://www.homepage.info/board/newthread.php?boardid=18
__FFSend: try{window.content.frames["top"].document.location.href="http://www.homepage.info/board/newthread.php?boardid=18";}catch(e){"_FFOpenURL_Error"};
__FFRecv: http://www.homepage.info/board/newthread.php?boardid=18
_FFLoadWait: .. loaded in 775ms
__FFSend: try{window.content.frames["top"].document.evaluate("//form[@name='bbform']//input[@type='radio' and @value='50']",content.document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue.checked=true;}catch(e){'_FFXPath_Error: '+e;};
__FFRecv: 1
__FFSend: (content.document.getElementsByName('topic')[0] != null ? content.document.getElementsByName('topic')[0].value='test' : '_FFSetValueByName_Err:');
__FFRecv: test
__FFSend: (content.document.getElementsByName('prefix')[0] != null ? content.document.getElementsByName('prefix')[0].value='divX' : '_FFSetValueByName_Err:');
__FFRecv: divX
__FFSend: FFau3.SimulateClick(content.frames["top"].document.getElementsByName('attachmentbutton')[0],0,0)
__FFRecv: 1
_FFLoadWait: . loaded in 22ms
und der aktuelle code abschnitt:
Spoiler anzeigen
#include <FF.au3>
$boardid = "18"
$topic = "test"
$prefix = "divX"
$iconid = "50"
If _FFStart("http://www.homepage.info/board/index.php", Default, 0, True) Then
[/autoit] [autoit][/autoit] [autoit]_FFOpenURL ("http://www.homepage.info/board/newthread.php?boardid=" & $boardid )
[/autoit] [autoit][/autoit] [autoit]_FFFormRadioButton($iconid,0,"value","bbform","name")
_FFSetValueByName("topic", $topic)
_FFSetValueByName("prefix", $prefix)
_FFClick("attachmentbutton","name")
_FFLoadWait()
WinWaitActive("USENET-SPACE-COWBOYS | Da")
WinSetState("USENET-SPACE-COWBOYS | Da","",@SW_SHOW )
_FFWindowSelect("USENET-SPACE-COWBOYS | Da","title")
WinActivate("USENET-SPACE-COWBOYS | Da")
_FFCmd(".getElementsByName('attachment_file')[0].focus()")
Send("C:/CD4.33.4.jpg")
_FFClick("submit","name")
_FFLoadWait()
#cs
Was genau ließt du hier aus?
#ce
EndIf
also bis zum popup geht alles super, und thx für den attach code den werd ich auf jeden fall einbauen ![]()
so aber zurück zum problem, ob das attachment popup nu in nem neuen tab auf geht oder nicht, ist mir im
prinzip egal, da das ganze später sowieso unsichtbar ablaufen soll, solange die weiteren eingaben an das
popup gehen ist das vollkommen egal ob neues fenter tab oder sonst was ![]()
gruß
nova