Created
December 20, 2014 02:28
-
-
Save TLMcode/6c4e12da47e3df270274 to your computer and use it in GitHub Desktop.
UriDecode() for AHk64 bit using htmlfile object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uri := "file:///D:/03%20Schreiben/01_Texte/15%20%E2%80%93%20Encyclop%C3%A4dien/Encyclopedia%20of%20Sociology.pdf" | |
msgbox % decodeURI( uri ) | |
decodeURI( u ) | |
{ | |
( obj:=ComObjCreate("HTMLfile") ).write("<p>/</p><script>document.getElementsByTagName(""p"")[0].innerHTML=decodeURI(`""" u `""");</script>") | |
return obj.getElementsByTagName("p")[0].innerHTML | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment