We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc81322 commit 8743d99Copy full SHA for 8743d99
1 file changed
examples/004-FileViewerDemo_Loop.au3
@@ -148,6 +148,7 @@ EndFunc ;==>__NetWebView2_freezer
148
149
Func _NetWebView2_NavigateToPDF($oWebV2M, $s_URL_or_FileFullPath, Const $s_Parameters = '', Const $iSleep_ms = 1000, Const $bFreeze = True)
150
If FileExists($s_URL_or_FileFullPath) Then
151
+ $s_URL_or_FileFullPath = StringReplace($s_URL_or_FileFullPath, '\', '/')
152
$s_URL_or_FileFullPath = StringReplace($s_URL_or_FileFullPath, ' ', '%20')
153
$s_URL_or_FileFullPath = "file:///" & $s_URL_or_FileFullPath
154
EndIf
0 commit comments