Skip to content

Commit 9be6e80

Browse files
authored
Update 014-pdfJS-Static_PDF_Viewer.au3
1 parent 7b1fac3 commit 9be6e80

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

examples/014-pdfJS-Static_PDF_Viewer.au3

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ Func __SetupStaticPDF(ByRef $oWeb, $s_PDF_Path, $bBlockLinks = False, $bBlockSel
245245
ConsoleWrite("- $s_Viewer_URL= " & $s_Viewer_URL & @CRLF)
246246

247247
$oWeb.Navigate($s_Viewer_URL)
248+
;~ _NetWebView2_Navigate($oWeb, $s_Viewer_URL, $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, 5000)
249+
ConsoleWrite("! we're done with navigation, but check how many more messages there are below. SLN=" & @ScriptLineNumber & @CRLF)
250+
251+
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Wait for all messages to full loading PDF by pdf.js')
248252

249253
; $oWeb.IsZoomControlEnabled = False ; <--- It doesn't work in PDF. 👈
250254
$oWeb.DisableBrowserFeatures()

0 commit comments

Comments
 (0)