abracadabraPDF › Forums › PDF – Général › Problématique annotations partagées – Reader XI › Répondre à : Problématique annotations partagées – Reader XI
17 novembre 2020 à 17:03
#59359

Maître des clés
(Vieux motard que jamais : réponse 5 ans après juste pour le plaisir car ça ne fonctionne qu’avec Acrobat 9 et les versions antérieures)
To do it you need to create a folder level JavaScript function first and add a script to the form button to call the function.
The folder level script could be like this:
Code:
function execDM() {
app.beginPriv();
app.execMenuItem(« ShowHideToolbarCommenting »);
}
app.trustedFunction(execDM);
app.beginPriv();
app.execMenuItem(« ShowHideToolbarCommenting »);
}
app.trustedFunction(execDM);
And then you can add the following script as a « Run a JavaScript » action in the « Mouse Up » event of the
button:
Code:
execDM();