It s difficult to copy a chart in IE from PPES 7.1 as the Right click is disabled.
I have created a small javascript which can be added into PPWBCUSTOM.JS in between {} of a function. Then the function needs to be enabled for all the cubes.
----------------------------
----------------------
You can use it on your own risk and I will not offer any support.
I have created a small javascript which can be added into PPWBCUSTOM.JS in between {} of a function. Then the function needs to be enabled for all the cubes.
----------------------------
Code:
var ListImage = new Array;
t=1;
chartinfo=0;
if (!fh.YS)
{
for (var i = 1; i < fh.document.images.length; i++)
{
PictureName = fh.document.images(i).src.substring(fh.document.images(i).src.length-4,fh.document.images(i).src.length);
if (PictureName != '.gif')
{
ListImage[t] = fh.document.images(i).src;
chartinfo=5;
t++;
}
}
if (chartinfo == 0)
{
alert("No Chart to be copied");
}
else
{
if ( t > 2)
{
Number = t-1;
wantedimage = 0 ;
while (( wantedimage <= 0 ) || ( wantedimage > Number ) || (isNaN(wantedimage)) )
{
var wantedimage = prompt("Which picture to you want, number between 1 and " + Number , "Type the number of the chart");
}
var fenetre = window.open('','','toolbar="yes",scrollbars="yes",width=400,height=400');
var texte = "Right-Click the picture and Select Copy";
fenetre.document.open("text/html","replace");
fenetre.document.write("<IMG src=" + ListImage[wantedimage] +" width=400 height=350>");
fenetre.document.write("<Center><font color=red><b>" + texte + "</b></font></Center><br>");
fenetre.document.write("<Center>Picture will be properly scaled when Pasting it");
fenetre.document.close();
}
else
{
var fenetre = window.open('','','toolbar="yes",scrollbars="yes",width=400,height=450');
var texte = "Right-Click the picture and Select Copy";
fenetre.document.open("text/html","replace");
fenetre.document.write("<IMG src=" + ListImage[1] +" width=400 height=350>");
fenetre.document.write("<Center><font color=red><b>" + texte + "</b></font></Center><p>");
fenetre.document.write("<Center>Picture will be properly scaled when Pasting it<p>");
fenetre.document.close();
}
}
}
else
{
alert("Disable the Split View before copying the Chart");
}
----------------------
You can use it on your own risk and I will not offer any support.