B
biju
how acan I get yhe following link working in outlook
<tr> <TD><a
href=C:\Softimage\XSI_3.5.1\Application\bin\flip.htm?\\ubisoft_mtl\ncl\Render\pop5\3_post\3d_output\PP022\PP022_270\2_anim\PP022_270_Prince_rgb\PP022_270_Prince_rgb.pic,1,92,3>FlipBook</a></TD>
its an href link to a local htm page with some parameters to the url. in the
onload event I have following call
urlquery=location.href.split("?");
urlterms=urlquery[1].split(",");
var padding =
Array("(fn).#(ext)","(fn).##(ext)","(fn).###(ext)","(fn).####(ext)","(fn)#.(ext)","(fn)##.(ext)","(fn)###.(ext)","(fn)####.(ext)");
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.exec("flip.exe -s " + urlterms[0] + " " + urlterms[1] +
" " + urlterms[2] + " -p" + padding[urlterms[3]]);
window.self.opener = window.self;
window.close();
which takes the the parameters after the question mark. The error i get is
urlquery.1 is null or not an object
Basically its not getting the parameters.
Any idea or solution to this will be much appreciated.
thanks
Bij
<tr> <TD><a
href=C:\Softimage\XSI_3.5.1\Application\bin\flip.htm?\\ubisoft_mtl\ncl\Render\pop5\3_post\3d_output\PP022\PP022_270\2_anim\PP022_270_Prince_rgb\PP022_270_Prince_rgb.pic,1,92,3>FlipBook</a></TD>
its an href link to a local htm page with some parameters to the url. in the
onload event I have following call
urlquery=location.href.split("?");
urlterms=urlquery[1].split(",");
var padding =
Array("(fn).#(ext)","(fn).##(ext)","(fn).###(ext)","(fn).####(ext)","(fn)#.(ext)","(fn)##.(ext)","(fn)###.(ext)","(fn)####.(ext)");
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.exec("flip.exe -s " + urlterms[0] + " " + urlterms[1] +
" " + urlterms[2] + " -p" + padding[urlterms[3]]);
window.self.opener = window.self;
window.close();
which takes the the parameters after the question mark. The error i get is
urlquery.1 is null or not an object
Basically its not getting the parameters.
Any idea or solution to this will be much appreciated.
thanks
Bij