using app.openUrl to open file in browser loses colon
var path="Users/bagonterman/Desktop/";
var file="Tutorial.pdf"
var colon="%3A"
var colon=":"
app.openUrl("file"+colon+"///"+path+file);
I would like to either open up a pdf or html and I can do neither because when I send this the colon disappears.
It shows up like this file///Users/bagonterman/Desktop/Tutorial.pdf . I think that it may be because it is automatically putting http:// in front
and then it does not accept the colon after that. Any ideas as to how I could get around this?
