function aplatirDepuisIcone(){
null!=this.event.target&&(documentCible=this,choix=app.popUpMenuEx({cName:apla2,bEnabled:!0},{cName: »-« ,bEnabled:!1},{cName:apla3,bEnabled:!0}),choix&&(choix==apla2&&myTrustedAplatirDoc(aplatirDoc),choix==apla3&&myTrustedAplatirPage(aplatirPage)))
}
function aplatirDoc(){
app.beginPriv();
var myDoc = event.target;
try{
if(« undefined »==typeof bAffichAlerteAplatir&&(bAffichAlerteAplatir=!0),bAffichAlerteAplatir){var f={bInitialValue:!0,bAfterValue:!1};4==app.alert({cMsg:cMessAplatissDoc,cTitle:strTitreId,oCheckbox:f,nIcon:2,nType:2})&&(bAffichAlerteAplatir=!f.bAfterValue,myDoc.flattenPages(),app.beep())
} else {
myDoc.flattenPages()
app.beep()
}
}catch(ty){
console.println(ty)
console.show()
}
app.endPriv()
}
var myTrustedAplatirDoc=app.trustedFunction(aplatirDoc);
function aplatirPage(){
var myDoc = event.target;
app.beginPriv();try{if(« undefined »==typeof bAffichAlerteAplatir&&(bAffichAlerteAplatir=!0),bAffichAlerteAplatir){var f={bInitialValue:!0,bAfterValue:!1};4==app.alert({cMsg:cMessAplatissPag,cTitle:strTitreId,oCheckbox:f,nIcon:2,nType:2})&&(bAffichAlerteAplatir=!f.bAfterValue,myDoc.flattenPages(myDoc.pageNum),app.beep())}else myDoc.flattenPages(myDoc.pageNum),app.beep()}catch(f){console.println(f),console.show()}app.endPriv()}var myTrustedAplatirPage=app.trustedFunction(aplatirPage);if(1!=global.aTmenAide){if(« FRA »==app.language)var strMenAide00= »abracadabraTools »,strMenAide01= »Support & assistance… »,strMenAide02= »Actualisation… »,strMenAide03= »https://www.abracadabrapdf.net/?p=111″,strMenAide04= »Site web »,strMenAide05= »https://www.abracadabrapdf.net/ »;else strMenAide00= »abracadabraTools »,strMenAide01= »Support & Assistance… »,strMenAide02= »Check for update… »,strMenAide03= »https://www.abracadabrapdf.net/?p=972″,strMenAide04= »Web Site »,strMenAide05= »https://www.abracadabrapdf.net/?p=1591″;app.addMenuItem({cName: »-« ,cParent: »Help »,nPos:21,cEnable:!1,cExec:null}),app.addSubMenu({cName:strMenAide00,cParent: »Help »,nPos:22}),app.addMenuItem({cName:strMenAide04,cParent:strMenAide00,nPos:0,cExec: »app.launchURL(strMenAide05); »}),app.addMenuItem({cName:strMenAide02,cParent:strMenAide00,nPos:1,cExec: »app.launchURL(strMenAide03); »}),app.addMenuItem({cName:strMenAide01,cParent:strMenAide00,nPos:2,cExec: »app.launchURL(‘https://abracadabrapdf.net/forum/’); »}),global.aTmenAide=1}}