Skip to content

Commit 8743d99

Browse files
authored
Update Examples
1 parent cc81322 commit 8743d99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/004-FileViewerDemo_Loop.au3

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ EndFunc ;==>__NetWebView2_freezer
148148

149149
Func _NetWebView2_NavigateToPDF($oWebV2M, $s_URL_or_FileFullPath, Const $s_Parameters = '', Const $iSleep_ms = 1000, Const $bFreeze = True)
150150
If FileExists($s_URL_or_FileFullPath) Then
151+
$s_URL_or_FileFullPath = StringReplace($s_URL_or_FileFullPath, '\', '/')
151152
$s_URL_or_FileFullPath = StringReplace($s_URL_or_FileFullPath, ' ', '%20')
152153
$s_URL_or_FileFullPath = "file:///" & $s_URL_or_FileFullPath
153154
EndIf

0 commit comments

Comments
 (0)