Hallo habe nun was Erstellt über html und in Autoit eingebunden nun habe ich aber das Problem wenn es die PDF anzeigen soll öffnet sich ein neues Fenster aber es soll in der html Datei anzeigen.
Wer kann mir da weiter helfen???
HTML CODE
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>index</title>
</head>
<body
style="color: rgb(0, 0, 0); background-color: rgb(211, 236, 255);"
alink="#000088" link="#0000ff" vlink="#ff0000">
<table style="text-align: left; width: 1019px; height: 659px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center;">Airport Diagramm</td>
<td style="text-align: center;">ICAO</td>
</tr>
<tr>
<td style="text-align: center;"><iframe
src="willkommen.html" name="Fensterlein"
marginheight="10" marginwidth="10" align="middle"
height="800" scrolling="no" width="860">Ihr
Browser
kann
leider keine
eingebetteten Frames
anzeigen </iframe></td>
<td style="text-align: center; vertical-align: top;">
<form name="pseudosuche"> <input name="htmlseite"
type="text"><input value="Suchen"
onclick="javascript:document.getElementsByName('Fensterlein')[0].src = document.pseudosuche.htmlseite.value+'.html';"
type="button"></form>
</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<br>
</body>
</html>
Alles anzeigen
Autoit
[autoit]#include <GUIConstants.au3>
#include <IE.au3>
Opt('GUIOnEventMode', 1)
Opt('GUICloseOnESC', 0)
Global $pPfad = @ScriptDir & '/index.html'
Global $oIE = _IECreateEmbedded()
Global Const $hGUI = GUICreate('FSX Flight World Airport Diagramme', 1130, 900)
Global $oObjekt = GUICtrlCreateObj($oIE, 0, 0, 1130, 900)
GUISetOnEvent($GUI_EVENT_CLOSE, '_Exit')
GUISetState(@SW_SHOW, $hGUI)
_IENavigate($oIE, 'file:///' & $pPfad)
[/autoit][autoit][/autoit][autoit]While Sleep(1000)
WEnd
Func _Exit()
Exit
EndFunc
Hoffe mir kann da einer weiter helfen.
MfG
Roberto