Autor Beitrag
BerTeL
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 45

Windowx XP
Delphi 7 Enterprise
BeitragVerfasst: Di 20.02.07 17:13 
Ich habe da eine Frage:
Gelungen ist es mir bis jetzt ein normales Forumalr (wie z.b. die Suchwörter da im Forum) auszufüllen ( www.dsdt.info/tipps/?id=584 <- damit).
Nur habe ich herausgefunden dass das ganze leider nur mit den input-formularen geht (also die einzeiligen wie username, passwort, suchwörter, titel usw). Ich würde aber gerne in eine Textarea (sowas wie das da wo ich gerade hineinschreibe. Also das große formularfeld) ausfüllen.
Könnt ihr mir dabei helfen?
Danke mal jetzt schon dass ihr darann denkt mir zu helfen ^^

mfg Bertel ...
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Di 20.02.07 20:37 
Hallo,

diesen Beitrag habe ich mit der folgenden Code-Zeile in den DF-Editor gesetzt:
ausblenden Delphi-Quelltext
1:
Webbrowser1.OleObject.Document.Forms.Item(0).Elements.Item('message').value:= Memo1.text;					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
BerTeL Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 45

Windowx XP
Delphi 7 Enterprise
BeitragVerfasst: Di 20.02.07 20:44 
Hmmmm find ich jetzt seltsam ... bei manchen geht es bei manchen nicht oO Woran kann das liegen?
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Di 20.02.07 20:48 
Hallo,

was sind manche?
Du musst natürlich die markierten Variablen entsprechend anpassen:
ausblenden Delphi-Quelltext
1:
Webbrowser1.OleObject.Document.Forms.Item(0).Elements.Item('message').value:= Memo1.text;					

Eventuell auch noch Frames/iFrames berücksichtigen.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
BerTeL Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 45

Windowx XP
Delphi 7 Enterprise
BeitragVerfasst: Di 20.02.07 20:49 
also den namen hab ich natürlich umgeändert (per firefox web-developer plugin rausgesucht) aber was muss ich anstatt 0 reinsetzen?
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Di 20.02.07 20:50 
Wenn mehrere Formulare vorhanden sind, muss da evtl was anderes rein.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
BerTeL Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 45

Windowx XP
Delphi 7 Enterprise
BeitragVerfasst: Di 20.02.07 20:52 
Ich werde mal probieren. Wenn alles nichts nützt würde ich sagen dass bei bestimmten seiten das formular irgendwie geschützt ist wegen spamgefahr (aber nein ich hatte sowas nicht vor ... *hust* bot *hust*).