abracadabraPDF › Forums › PDF – Général › Assistant d’actions pour remplir en javascript
Étiqueté : automatisation, Javascript
- Ce sujet contient 20 réponses, 5 participants et a été mis à jour pour la dernière fois par
kiemeo, le il y a 1 mois.
-
CréateurSujet
-
21 juin 2024 à 08:58 #74516
philpask
ParticipantBonjour,
je cherche depuis un petit moment à automatiser l’insertion de scripts javascript dans des pdfs. Je m’explique : j’ai environ 80 pdf à modifier tout les 3 mois (date de péremption à revoir). En ce moment, je me fais tous les pdf à la main. Existe t-il une solution via l’assistant d’actions _ou autre_ (je n’arrive pas à faire garder le script dans l’action)…Merci de vos pistes.
cdt Philippe
-
CréateurSujet
-
AuteurRéponses
-
21 juin 2024 à 09:59 #74517
Merlin
Maître des clésBonjour
La réponse est oui mais il faut savoir de quel type de script il s’agit.
Script de document, script d’objet, script de page, … (voir https://www.abracadabrapdf.net/ressources-et-tutos/js-et-formulaires-ressources/les-differents-niveaux-dutilisation-des-scripts-javascript/ )
21 juin 2024 à 12:58 #74520philpask
ParticipantBonjour à nouveau,
Vous préconisez en script de document, donc j’essaie de le mettre en script de document. Merci.
21 juin 2024 à 13:51 #74522Merlin
Maître des clésPour un script de document il faut utiliser la fonction “addScript”.
Dans l’exemple ci-dessous on suppose que le nom du script de document à remplacer est init et que le code à remplacer est app.beep(0);
this.addScript("init", "app.beep(0);");
S’il y a, comme je le suppose, plusieurs lignes de code à remplacer il faut préalablement convertir tout le code JavaScript en Texte (txt) avant de le placer entre les guillemets.
C’est à dire le convertir en une seule chaîne de caractères (string).
Ce qui peut se faire via ce site : https://algodaily.com/convert/js/text
Attention : “addScript” remplace tout le code existant sans faire le détail, il faut donc remettre tout le code en entier même s’il n’y a qu’une virgule à changer.
Voir : https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#addscript
Ensuite il faut emballer ce script dans une Action (voir capture).
Attachments:
You must be logged in to view attached files.22 juin 2024 à 13:33 #74526bebarth
Maître des clésbonjour,
Tu sais quoi ? Il y a 2 mois j’ai écris un utilitaire suite à une demande que j’avais eu.
Je donne ici une version minifiée (car c’est un peu de boulot) d’un script qui peut être utilisé depuis l’assistant d’actions ou la console :var b2="ffea3337fff70000fff70000fff50f1aff3ca39eff00b0aaff00aea6ff00b4acff00b2aaff00aea6ff00aea6ff00b2abff93c1ccff92c7d7ff92c7d7ff9ccad7ff22b4abff00aea6ff00aea6ff00b4acff00afa8ff00aea6ff00aea6ff00b3abff00afa8ff00aea6ff00aea6ff00bab4ffea3337fff70000fff70000fff50f1aff23aba3ff00aea6ff00aea6ff00b3abff00afa8ff00aea6ff00aea6ff00b3abff00afa8ff00aea6ff00aea6ff00b5afff93c1ccff92c7d7ff92c7d7ff9ccad7ff00afa8ff00aea6ff00aea6ff00b5afff00aca7ff00aea6ff00aea6ff00b2aaffea3337fff70000fff70000ffea3337fff70000ffff0000ffff0000ffff0000ff009c96ff00aca0ff00aaa1ff00b2a8ff00aca3ff00aaa0ff00aaa0ff00b0a6ff84c4d3ff8ccfe6ff8ccfe6ff9bd3e7ff00aea6ff00aa9eff00aaa0ff00b2aaff00aca3ff00aaa0ff00aaa0ff00b2aaff00aba2ff00aaa0ff00aba1ff00b5adffec0000ffff0000ffff0000ffff0000ff00a59cff00ada3ff00aaa0ff00b2aaff00aba2ff00aaa0ff00aaa0ff00b3abff00aba2ff00aaa0ff00aaa0ff00b3abff89c5d5ff8ccfe6ff8ccfe6ff94d0e2ff00aba2ff00aaa0ff00aaa0ff00b3abff00aaa1ff00aba0ff00ada3ff00b1a8fff90000ffff0000ffff0000ffff0000ffec0000ffff0000ffff0000ffff0000ff009c96ff00ada3ff00aba1ff00b2aaff00ada6ff00aba0ff00aba1ff00b2a8ff84c4d3ff8ccfe6ff8ccfe6ff9bd3e7ff00b0aaff00aaa0ff00aba0ff00b5adff00aca3ff00aba1ff00aba1ff00b3abff00aca3ff00aba1ff00ada3ff00b5adffec0000ffff0000ffff0000ffff0000ff00a59cff00ada3ff00aba1ff00b3abff00aba2ff00aba1ff00aba1ff00b3abff00aba2ff00aba1ff00aba0ff00b3aaff89c5d5ff8ccfe6ff8ccfe6ff97d1e4ff00aca3ff00aba1ff00aba1ff00b3aaff00aba2ff00aca0ff00ada3ff00b1a8fff90000ffff0000ffff0000ffff0000fff50f1affff0000ffff0000ffff0000ff2ba19cff00b3acff00b2abff00b9b2ff00b2abff00b2aaff00b2aaff00b7afff92c7d7ff9bd3e7ff9bd3e7ffa6d6e7ff00b5afff00b2aaff00b2aaff00b9b3ff00b2abff00b2aaff00b2aaff00b8aeff00b2abff00b2aaff00b2aaff00b9b3fff50f1affff0000ffff0000ffff0000ff00aca7ff00b5adff00b2aaff00b9b3ff00aea6ff00b0a6ff00b2a8ff00b7afff00b1aaff00b2aaff00b2aaff00b9b3ff9ccad7ff9bd3e7ff9bd3e7ffa6d6e7ff00b1aaff00b2aaff00b2aaff00bbb4ff00b0aaff00b2abff00b2abff00b9b3fff70000ffff0000ffff0000ffff000fff3ca39eff009c96ff009c96ff2ba19cffb8ae91ffd5ad8fffd5ad8fffd1b49cff31aca5ff00ada5ff00ada5ff00b2abff22b4abff00b1aaff00b1aaff00b7b2ff00afa8ff00ada5ff00ada5ff00b4acff00afc5ff00aed3ff00aed3ff00b5d4ff00aca7ff00ada5ff00ada5ff00b4acff3ca39eff009c96ff009c96ff3ca39eff00aca7ff00ada5ff00ada5ff00b4acffdce6c1ffdce6c1ffd6dfbaffe6ecc5ff00afa8ff00ada5ff00ada5ff00b3abff00afa8ff00b2abff00b1aaff00b7b2ff00aca7ff00ada5ff00ada5ff00b3abffcbad93ffd5ad8fffd5ad8fffd1b49cff2ba19cff009c96ff009c96ff31aca5ff00b1a8ff00ada3ff00ada3ff00b2abffcbad93ffffac7effffac7effffb38aff00ada4ff00a9a0ff00aaa0ff00b2aaff00aca3ff00aaa0ff00aaa0ff00b0a6ff00aca3ff00aaa0ff00aaa0ff00b2aaff00aed6ff00ade7ff00ade7ff00b5e7ff00aca3ff00aaa0ff00aaa0ff00b3abff00ada5ff00ada3ff00ada3ff00b5adff00aba2ff00aaa0ff00aaa0ff00b2aafffeffceffb0a889ff83815bfffeffceff00aba2ff00aa9eff00aaa0ff00b3abff00aaa1ff00aaa0ff00aaa0ff00b2aaff00aba2ff00aba0ff00aaa0ff00b3aaffecaa88ffffac7effffac7efff7b591ff00aaa6ff00ada3ff00ada3ff00b8afff00aea6ff00aaa0ff00aba1ff00b2abffcbad93ffffac7effffad80ffffb58dff00ada4ff00aaa1ff00aba1ff00b2aaff00aca3ff00aba1ff00aba1ff00b2aaff00aca3ff00aba1ff00aba0ff00b2aaff00aed3ff00ade7ff00ade7ff00b5e7ff00ada7ff00aba0ff00aba1ff00b3abff00aca3ff00aba1ff00aba1ff00b3abff00aba2ff00aba1ff00aba1ff00b3abfff3f0c7ff7c7863ff615d48ffe6ddb4ff00b19fff00aba1ff00aba1ff00b3abff00aba2ff00aba1ff00aba1ff00b4acff00aba2ff00aca0ff00aba1ff00b3aaffe9ac8bffffad80ffffad80fff7b591ff00aaa1ff00ada3ff00aba0ff00b7afff00b4acff00b2aaff00b2aaff00b9b2ffe0b297ffffb38affffb58dffffb995ff00b2aaff00b2a8ff00b2abff00b9b2ff00b4acff00b2aaff00b2aaff00b9b3ff00b2abff00b2aaff00b2aaff00b8aeff00b5d8ff00b5e7ff00b5e7ff00bce5ff00b1aaff00b2a8ff00b2a8ff00b8aeff00b2abff00b2aaff00b2aaff00b9b3ff00b1aaff00b2a8ff00b2a8ff00b8aeffe6ecc5ffd9d0aaffe6ddb4ffd9d0aaff00b4acff00b2aaff00b2aaff00b9b3ff00b1aaff00b2aaff00b2aaff00b9b3ff00b0aaff00b2a8ff00b2abff00b9b3ffeeb192ffffb38affffb38afff2bb9bff00b1aaff00b2aaff00b2aaff00bbb4ff00b2aaff00ada5ff00ada5ff00b2abff31aca5ff00ada4ff00ada4ff00b2aaffb8ae91ffd5ad8fffd5ad8fffd1b49cff31aca5ff00ada5ff00ada5ff00b2abff00aca7ff00ada5ff00ada5ff00b2abff00aca7ff00aea9ff00aea9ff00b2abff87bdc8ff84c4d3ff84c4d3ff92c7d7ff00afa8ff00ada5ff00ada5ff00b4acff87bdc8ff84c4d3ff84c4d3ff92c7d7fffbf4c7ffe9e9b4ffd9d0aafffcf1c1ff00afa8ff00ada5ff00ada5ff00b4acff00aca7ff00ada5ff00ada5ff00b4acffcbad93ffd5ad8fffd5ad8fffd1b49cff31aca5ff00ada4ff00ada4ff22b4abff00ada4ff00ada5ff00ada5ff00bab2ff00ada5ff00aaa0ff00aba0ff00b2a8ff00aca3ff00a9a3ff00aaa1ff00b2abffd5ad8fffffac7effffac7effffb38aff00aca2ff00aba0ff00aba0ff00b2aaff00aca3ff00aba0ff00aba0ff00b2aaff00aca3ff00aaa1ff00aaa1ff00b2aaff89c5d5ff8ccfe6ff8ccfe6ff9bd3e7ff00ada6ff00aa9eff00aba0ff00b2aaff89c5d5ff8ccfe6ff8ccfe6ff97d1e4ffdce6c1ff8a866effb0a889ffe9e9b4ff00aca3ff00aba0ff00aba0ff00b3abff00aba2ff00aba0ff00aba0ff00b4acffe9ac8bffffac7effffac7efffbb38fff00aaa2ff00aba1ff00aaa1ff00b3abff00aaa2ff00aca0ff00aba0ff00b8afff00ada5ff00aaa0ff00aba1ff00b2aaff00ada6ff00aaa0ff00aba1ff00b2abffd5ad8fffffac7effffad80ffffb58dff00aca2ff00aba1ff00aba1ff00b2aaff00aca3ff00aba1ff00aba1ff00b2aaff00aca3ff00aba1ff00aba1ff00b2aaff89c5d5ff8ccfe6ff8ccfe6ff9bd3e7ff00ada5ff00aba1ff00a9a3ff00b2abff89c5d5ff9ed3e2ffaedbd6ffdce6c1ffe6ddb4ff8a866effc3be9affe9e9b4ff00aca3ff00aba1ff00aba1ff00b3abff00aba2ff00aba1ff00aba1ff00b4acffe9ac8bffffad80ffffad80fff7b591ff00aba2ff00ada3ff00aba1ff00b4acff00aaa2ff00ada3ff00aba0ff00b8afff00b2abff00b2aaff00b2aaff00b7afff00b4acff00b2aaff00b3abff00b9b2ffe0b297ffffb38affffb58dffffb995ff00b2aaff00b0a6ff00b2aaff00b7afff00b1aaff00b2a8ff00b2aaff00b7afff00b1aaff00b2aaff00b2aaff00b7afff92c7d7ff94d0e2ff94d0e2ff9bd3e7ff00b2abff00b2a2ff00c3a7ff80d7adffe9e9b4fffbf5aefffff7acfffffaabfffef8afffc3be9affbfb696ffe6ddb4ff00aca2ff00b2a8ff00b2aaff00b8aeff00b0aaff00b5adff00b5adff00b7aeffe0b297ffffb58dffffb58dfff2bb9bff00b1aaff00b3abff00b3abff00bbb4ff00b0aaff00b2aaff00b2aaff00bbb4ff93c1ccff84c4d3ff84c4d3ff92c7d7ff22b4abff00ada5ff00ada5ff00b2abff23aba3ff00ada4ff00ada4ff00b3abffdce6c1ffe6ecc5ffd6dfbaffe6ecc5ffe6ecc5ffdce6c1ffd6dfbaffe6ecc5ffdce6c1ffd6dfbaffd6dfbaffdce6c1fff3f0c7fff3f0c7fff3f0c7fff4edc0ffe9e9b4ffedf2adfffff9aefffefcaefffffaabfffff7aefffff6adfffff6adfffff7aefffeffb3fff4edc0fff4edc0ffe6ecc5ffdce6c1ffdce6c1ffe6ecc5ffe6ecc5ffc9d3b0ffc9d3b0ffe6ecc5fff4edc0ffd9d0aaffd9d0aaffe9e9b4ff00aca7ff00ada5ff00ada5ff00b5afff87bdc8ff84c4d3ff84c4d3ff9ccad7ff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff00b1aaff00a89fff00aba0ff00b2aaff00aca3ff00aba1ff00aba1ff00b2abffe6ecc5fffeffceff959075fffcf1c1fffeffceffb8ae91ff726e51fffeffcefffcf1c1ffa69d7fffb8ae91ffece4a1fffefcb4fffff7aefffff7aefffff7acfffff9aefffff9aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffffab0ffd6d294ffe9e9b4fffeffceffc3be9affbfb696fffeffcefffcf1c1ff7c7863ff726e51ffe6ddb4fffafccaff959075ff959075fff3f0c7ff00aba2ff00aba0ff00aba0ff00b4acff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff00b1aaff00aaa0ff00aba1ff00b2aaff00ada6ff00aba0ff00aba0ff00b0a6ffe6ecc5ffb8ae91ff7c7863fff3f0c7fffbf4c7ff7c7863ff726e51ffe9e9b4fffefcb4fff3eba3fffef5acfffff8aefffff6acfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffffab0fff9f2b3fffeffceffbfb696ffb8ae91fffeffcefff4edc0ff7b7757ffb8ae91fffcf1c1fffeffceffbfb696ffbfb696fffafccaff00aaa1ff00aba1ff00aba0ff00b4acff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff9ccad7ff9bd3e7ff9bd3e7ffa6d6e7ff00b7b2ff00b2aaff00b3abff00b9b3ff00b4acff00b2aaff00b2aaff00b3abffe6ecc5ffc8ca9bffc8ca9bffe9e9b4fff9f2b3ffe4dd9cfffcf5acfffff7aefffff7aefffff9aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff7aefffff6acfffbf4c7ffe6ddb4ffe6ddb4ffe6ecc5fffcf1c1ffd9d0aafffeffceffe6ddb4fffbf4c7ffe6ddb4ffe9e9b4ffe9e9b4ff00b1aaff00b3abff00b2aaff00bbb4ff9ccad7ff9bd3e7ff9bd3e7ffa6d6e7ff22b4abff00b0aaff00b0aaff00b5afff00afa8ff00aca3ff00aca3ff00b0aaff00aaa3ff00aba2ff00b3abff58c5a6ffc4deb1fffef8affffefcb4fffef5acfffff7acfffefdb1fffff8aefffff8aefffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff7acfffff7a9fff2bb9bffeeb192ffe0b297ff22b4abff00b4a6ff00b0a4ff00b2aaff23aba3ff00b4a6ff00b2abff22b4abff00aaa3ff00ada6ff00aca3ff00b4acff00afa8ff00b0aaff00b0aaff00b7b2ff00ada5ff00aa9eff00aaa0ff00b2a8ff00aba2ff00a7a1ff00b0a6ff00c3aaff80d7adffabe3a9ffedf2adfffffaabfffff9aefffff8aefffff7aefffff7aefffff8aefffefdb1fffdffb9fffdffb5fffefdb1fffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff9aefff8f0a8ffffac7efffbb38fff00aba2ff00a9a0ff00aaa1ff00b3abff00aaa2ff00aba1ff00aaa0ff00b3abff00aaa1ff00aca0ff00aba1ff00b4acff00aaa2ff00aba0ff00aa9eff00b4acff00ada5ff00aaa0ff00aaa0ff00b2abff40bfaeffabe3a9ffedf2adfffff9aefffefcaefffefcaefffff9aefffff7aefffff7aefffff7aefffff7aefffffab0fffffab0ffddd99affaca776ff696649ffa4a071fffdffb9fffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6acfffefcaefffce1a2fff7b591ff00aba2ff00aba1ff00aba1ff00b4acff00aba2ff00aca0ff00aba1ff00b3aaff00aba2ff00aca0ff00aba1ff00b4acff00aaa1ff00ada3ff00aba0ff00b7afff00b4acff00b3abff00b3abff00b7afffedf2adfffef8affffef8affffef7aefffff7acfffff7aefffff7aefffff7aefffff7aefffff7aefffefdb1ffe4dd9cff4d4c36ff2b2b1eff181712ff14130fff2b2b1effece4a1fffeffb3fffff7aefffff7aefffff7aefffff8affffeffb3fffdffb9fffdffb9fffdffb5fffdffb9fffdffb5fffefdb1fffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff9aefffce1a2ff00b0aaff00b3abff00b3abff00bbb4ff00b1aaff00b3abff00b3abff00bbb4ff00b1aaff00b3abff00b3abff00bbb4ff00b1aaff00b3abff00b3abff00beb7ff00afa8ff00aca3ff00aca3ff00aea9ffcce3b0fffff7a9fffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffffab0fff7f8b0ff4d4c36ff161510ff242419ff242419ff161510ff7b7757fffdffb9fffff8aefffff7aefffeffb3fffdffb5ffe4dd9cffaca776ff8a8560ff7b7757ff8a8560ffb4af7bffe4dd9cfffdffb5fffefdb1fffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffffab0ff72c5adff00aba2ff00aca3ff00b2abff00ada4ff00aca3ff00aca3ff00b4acff00accbff00aed3ff00aed3ff00b5d4ff00aaa3ff00ada6ff00aba2ff00bab2ff00ada5ff00aaa0ff00aba1ff00b2abff72c5adfffef5acfffef6acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb5ffcac48aff1e1d15ff242419ff242419ff212017ff212017ffd0ca8dfffdffb5fffdffb5ffddd99aff696649ff29291cff181712ff161510ff181712ff161510ff181712ff2b2b1eff726e51ffddd99afffdffb5fffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff8aeffedf2adff00bda5ff00a7a1ff00b3abff00aba2ff00aca0ff00aba0ff00b4acff00abd8ff00afe9ff00ade7ff00b5e7ff00aaa1ff00aca0ff00aba0ff00b8afff00ada5ff00aaa0ff00aba1ff00b2abff00afc5ffece4a1fffff6acfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8affffeffb3ff696649ff181712ff242419ff25241aff181712ff5c593ffffdffb9ffddd99aff313022ff14130fff212017ff242419ff212017ff212017ff242419ff242419ff212017ff161510ff29291cffa4a071fffdffb5fffff9aefffff6adfffff6adfffff6adfffff6adfffef6acfffefcaeffe9e9b4ff00b2a2ff00b2aaff00aba2ff00aca0ff00aba0ff00b3aaff00abd8ff00ade7ff00ade7ff00b5e7ff00aaa1ff00aca0ff00aba0ff00b7afff00b3abff00b3abff00b3abff00b8aeff00b5d8ffb6d6adfffff7acfffff6adfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb5ffd4cc8dff201f17ff212017ff242419ff242419ff1b1b13ffb4af7bff696649ff181712ff242419ff181712ff1e1d15ff2b2b1eff2b2b1eff1b1b13ff1b1b13ff242419ff242419ff1f1e16ff161510ff8a8560fffdffb5fffff8aefffff6adfffff6adfffff6adfffff6adfffef6adfffefcaeffabe3a9ff00b7aeff00b1aaff00b2aaff00b2aaff00bbb4ff00b5d8ff00b5e7ff00b5e7ff00bce5ff00b1aaff00b4acff00b3abff00beb7ff00afa8ff00aca3ff00aca3ff00b1aaff00aca2ff74c19bfffdf2a9fffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8affffdffb5ff726e51ff181712ff242419ff242419ff212017ff313022ff2b2b1eff212017ff1e1d15ff696649ffc4c187ffe4dd9cffddd99affb4af7bff4d4c36ff181712ff242419ff242419ff212017ff161510ff999468fffdffb9fffff6adfffff6adfffff6adfffff6adfffff6adfffef6adfffff9aeffc4deb1ff87bdc8ff89c5d5ff89c5d5ff92c7d7ff00ada4ff00ada6ff00ada6ff00b4acff00aaa3ff00aca3ff00aca3ff00bab2ff00ada5ff00aaa0ff00aba1ff00b2a8ff00aba2ff00b19fffece4a1fffff6acfffff7aefffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffeffb3ffddd696ff25241aff212017ff242419ff242419ff212017ff212017ff1b1b13ff8a8560fffdffb9fffdffb9fffeffb3fffeffb3fffdffb9fff7f8b0ff696649ff181712ff242419ff242419ff201f17ff1e1d15ffc4c187fffdffb5fffff6adfffff6adfffff6adfffef6adfffef6adfffff7acfffff7a9ffb8d9caff8ccfe6ff8ccfe6ff97d1e4ff00aba2ff00aba1ff00aba0ff00b4acff00aaa2ff00ada3ff00aba0ff00b8afff00ada5ff00aba1ff00ada3ff00b2a8ff00ada7ff00aaa0ffa5c894fffef5acfffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffdffb9ff7b7757ff161510ff242419ff242419ff242419ff212017ff313022ffece4a1fffeffb3fffff7aefffff7aefffff7aefffff7aefffeffb3fffefcb4ff5c593fff181712ff242419ff242419ff1b1b13ff42412efff8f0a8fffffab0fffff6adfffff7aefffefdb1fffdffb5fffeffb3fffff8aefffff7a9ff9ed3e2ff8ccfe6ff97d1e4ff00aba2ff00aba1ff00aba1ff00b4acff00aaa2ff00ada3ff00aca0ff00b8afff00b4acff00b3abff00b5adff00b9b3ff00b4acff00b3abff4eba9cfff8f0a8fffef5acfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffeffb3ffe4dd9cff2b2b1eff212017ff242419ff242419ff201f17ff383626fff3eba3fffefdb1fffff7aefffff7aefffff7aefffff7aefffff7aefffeffb3ffece4a1ff313022ff201f17ff242419ff242419ff161510ff9f9a6cfffdffb9fffff7aefffeffb3ffd6ce90ff9f9a6cffbdb882fffff7aefffefcaeffedf2adff9ed3e2ff97d1e4ff00b2abff00b3abff00b3abff00bbb4ff00b7aeff00b5adff00b3abff00beb7ffea3337ffec0000ffec0000fff50f1aff3ca39eff00ada7ff00aca2ffd6d294fffff7acfffef6acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb9ff83815bff161510ff242419ff242419ff242419ff1e1d15ffcac48afffdffb5fffff7aefffff7aefffff7aefffff7aefffff7aefffef7aefffdffb9ff999468ff181712ff242419ff242419ff181712ff4d4c36fffcf5acfffeffb3ff938f64ff42412eff83815bff5c593fff615d48fff3eba3fffefcaeffcce3b0ff00b5afff00aaa3ff00aca3ff00ada6ff00ada4ffea3337ffec0000ffec0000ffea3337fff70000ffff0000ffff0000ffff0000ff009c96ff00ada3ff00a9a3ff74c19bfffdf2a9fffff6acfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffeffb3ffece4a1ff313022ff201f17ff242419ff242419ff181712ff696649fffdffb9fffff8affffff7aefffff7aefffff7aefffff7aefffff7aefffeffb3ffe4dd9cff2b2b1eff212017ff242419ff212017ff212017ffd6ce90fffeffb3ff383626ffb4af7bfffdffb9fffdffb9ff5c593fff83815bfffdffb5fffff7a9ffa1ddb1ff00a6a1ff00aca0ff00ada3ff00b1a8fff90000ffff0000ffff0000ffff0000fff70000ffff0000ffff0000ffff0000ff009c96ff00ada3ff00aba1ff00b19fffe4dd9cfffff7aefffff6adfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb9ff938f64ff161510ff242419ff242419ff242419ff212017ffcac48afffdffb9fffff7aefffff7aefffff7aefffff7aefffff7aefffffab0fffdf4abff42412eff1e1d15ff242419ff242419ff181712ffb4af7bfffdffb9ff7b7757ff938f64fffdffb5fffdffb9ff7b7757ff696649fffdffb5fffef5acfffffaabff58c5a6ff00a9a3ff00ada3ff00ada7fff90000ffff0000ffff0000ffff0000ffea3337ffff0000ffff0000ffff0000ff31aca5ff00b4acff00b4acff00b7afffc8ca9bfffff7a9fffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffefdb1fff3eba3ff383626ff1f1e16ff242419ff242419ff1b1b13ff42412effece4a1fffdffb9fffff7aefffff7aefffff7aefffff7aefffeffb3fff3eba3ff313022ff201f17ff242419ff242419ff161510ffaca776fffdffb9fff8f0a8fff3eba3fffeffb3ffe4dd9cff313022ffcac48afffeffb3fffff8aefffff9aeffedf2adff00c2a9ff00b2aaff00bab4fff50f1affff0000ffff0000ffff000fff23aba3ff00a59cff00a59cff00aaa3ff00aca7ff00aba2ff00aca3ff00b0aaffa2bfacfff3eba3fffff7aefffff7aefffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb9ff9f9a6cff161510ff242419ff242419ff25241aff1b1b13ff42412effd6d294fffdffb9fffdffb9fffdffb5fffdffb9fffeffb3ff7b7757ff1b1b13ff242419ff242419ff242419ff181712ffbdb882fffdffb5fffff8affffff9aefffeffb3ff696649ff726e51fffdffb9fffdffb5ffece4a1ffece4a1fffff8aeffedf2adff00b4a6ff00aca2ff00aaa3ff00a59cff00a59cff00b2aaff00aea9ff00ada3ff00ada3ff00b2abff00ada6ff00aaa0ff00aba1ff00b2abff87bdc8ffddd99afffdf4abfffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffefdb1fff8f0a8ff42412eff1b1b13ff242419ff242419ff25241aff1b1b13ff29291cff7b7757ffbdb882ffc4c187ffa4a071ff4d4c36ff1e1d15ff25241aff242419ff242419ff1b1b13ff383626fff3eba3fffffab0fffef6adfffff9aefff8f0a8ff383626ffd6ce90ffe4dd9cff7b7757ff313022ff999468fffeffb3fffff7acffabe3a9ff00b4acff00aaa6ff00ada3ff00ada3ff00b8afff00ada5ff00aaa0ff00aba1ff00b2aaff00ada6ff00aaa0ff00aca0ff00b0a6ff7fc4d7ffb4ccb9fff8f0a8fffff6acfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb9ffa4a071ff181712ff242419ff242419ff242419ff242419ff212017ff181712ff1b1b13ff1e1d15ff181712ff1b1b13ff242419ff242419ff242419ff1e1d15ff161510ffaca776fffdffb5fffff6adfffef6adfffff7aefffefdb1ff5c593fff42412eff383626ff696649ffd0ca8dfffcf5acfffef5acfffdf2a9fffff7a9ffa1ddb1ff00a6a1ff00ada3ff00aba0ff00b8afff00b3abff00b3abff00b3abff00b9b3ff00b4acff00b3abff00b4acff00b8aeff92c7d7ffa7cfc6ffe4dd9cfffff7acfffef6adfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffffab0fffbf5aeff42412eff1e1d15ff242419ff242419ff242419ff242419ff25241aff181712ff1e1d15ff242419ff242419ff212017ff1e1d15ff14130fff2b2b1effa4a071fffdffb5fffff7aefffff6adfffef6adfffef6acfffeffb3ffc4c187ff83815bffe4dd9cfffdffb5fffefdb1fffdf4abfffdf2a9fffef6adfffefdb1fff9f2b3ff00b0aaff00b4acff00b3abff00beb7ff00afa8ff00aba2ff00aba2ff00b0a4ff00afc5ff00aed6ff00aed6ff00b5d8ff00aca7ff00aca3ffa5c894fffdf4abfffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb9ffb4af7bff181712ff242419ff242419ff242419ff201f17ff42412eff8a8560ff42412eff242419ff1f1e16ff27251bff42412eff8a8560ffe4dd9cfffdffb5fffff7aefffff6adfffef6adfffef6adfffef5acfffef5acfffffab0fffdffb5fffffab0fffdf4abfffdf4abfffef7aefffefdb1fffefcaefff3eba3ff62c6c4ff00a7a5ff00aca3ff00aca3ff00b5afff00ada5ff00aaa0ff00aba1ff00b2a8ff00aed3ff00ade7ff00ade7ff00b5e7ff00ada7ff00a9a3ff02b69efffce1a2fffff7acfffff6adfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffffab0fffffab0ff4d4c36ff1b1b13ff242419ff242419ff242419ff181712ffb4af7bfff7f8b0ffd6d294ffcac48affddd696fffdf4abfffdffb9fffefdb1fffff6adfffff6adfffff6adfffef6adfffef6adfffef5acfffef5acfffef5acfffdf4abfffdf4abfffef7aefffefdb1fffef8affff3eba3ffeed78fff40bfaeff00b5e7ff00aaa2ff00aca0ff00aba0ff00b8afff00ada5ff00aaa0ff00aba0ff00b2a8ff00aed3ff00ade7ff00ade7ff00b5e7ff00ada6ff00aca0ff00aca0ffbbcc9bfffff7acfffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffdffb9ffbdb882ff1b1b13ff212017ff181712ff1b1b13ff42412effaca776fffdffb5fffeffb3fffdffb5fffefdb1fffff8affffff6adfffff6adfffff6adfffff6adfffff6adfffef6adfffef6acfffef5acfffdf4abfffef5acfffff8affffefdb1fffef6adffece4a1ffddd696ffdfcc8cff72c5adff00ade7ff00b5e7ff00aaa1ff00aca0ff00aba0ff00b8afff00b3abff00b3aaff00b3aaff00b9b3ff00b5d4ff00b7e4ff00b5e7ff00bce5ff00b5afff00b4acff00b4acff74c19bfffdf2a9fffef5acfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff9aefffeffb3ff5c593fff1b1b13ff696649ffbdb882fffbf5aefffdffb5fffff7aefffff7aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffef6adfffef5acfffef5acfffff9aefffffab0fffcf5acffece4a1ffd6d294ffd4cc8dffdfcc8cffbbcc9bff00b7e4ff00b7e4ff00bce5ff00b2abff00b4acff00b3aaff00beb7ff00afa8ff00aba2ff00aba2ff00b1aaff00aca7ff00aca3ff00aca3ff00b1aaff00aca7ff00aba2ff00aba2ff00ada4ffddd99afffff8aefffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffefcb4ffddd99affd6ce90fffdffb5fffdffb5fffffab0fffff7aefffff7aefffff7aefffff7aefffff6adfffff6adfffff6adfffff6adfffff6adfffff6adfffef5acfffef6adfffff9aefffffab0fff8f0a8ffece4a1ffd6ce90ffd4cc8dffdfcc8cffd0ca8dffa5c894ff00aaa3ff00ada7ff00aca3ff00b2abff00aaa3ff00aca3ff00aca3ff00b5afff00ada5ff00aaa0ff00aba1ff00b2a8ff00ada6ff00aaa0ff00aba0ff00b2aaff00ada6ff00aba0ff00aca0ff00b3acffbbcc9bfffdf2a9fffff6acfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffeffb3fffeffb3fffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff6adfffff6adfffff7aefffff6acfffef5acfffef6adfffffab0fffff9aefff8f0a8ffe4dd9cffd6ce90ffd4cc8dffdfcc8cffd4cc8dff74c19bff00b0a4ff00b5adff00aaa2ff00aca0ff00aba0ff00b4acff00aaa2ff00ada3ff00aba0ff00b8afff00ada5ff00aaa0ff00aba0ff00b2a8ff00ada6ff00aaa0ff00aba1ff00b2aaff00ada6ff00aba0ff00aaa0ff00b2abff4eba9cffece4a1fffff8aefffef6adfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffff6adfffef5acfffef5acfffef6adfffffab0fffff8affff3eba3ffddd99affd6ce90ffd0ca8dffdfcc8cffc2ca8fff8ac497ff00b0a4ff00aba1ff00aba0ff00b3aaff00aaa1ff00aca0ff00aba1ff00b4acff00aaa2ff00aca0ff00aba0ff00b8afff00b5afff00b3aaff00b3aaff00b9b3ff00b5afff00b3aaff00b3aaff00b9b3ff00b5afff00b3aaff00b3aaff00b9b3ff00b2aaffbbcc9bfffff7a9fffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffff7aefffef6acfffef5acfffef6adfffff9aefffef6adfff3eba3ffddd696ffd4cc8dffd4cc8dffdfcc8cffd6ce90ff98c7a7ff00b4a6ff00b9b3ff00b1aaff00b3aaff00b3aaff00bab4ff00b2abff00b3aaff00b3aaff00bab4ff00b2abff00b3aaff00b3aaff00beb7ff93c1ccff89c5d5ff89c5d5ff9ccad7ff00b2aaff00aba2ff00aca3ff00b1aaff00aca7ff00aba2ff00aba2ff00b0aaffcbad93ffddba87fff3eba3fffff7aefffff6adfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffff7aefffef6acfffef5acfffef6adfffff8affffef5acffece4a1ffddd696ffd4cc8dffd4cc8dffdfcc8cffc2ca8fff74c19bffd1a989ffd5ad8fffe9ac8bffe0b297ff00aaa3ff00aca3ff00aba2ff00b2abff00aaa3ff00aca3ff00aba2ff00b2abff93c1ccff92c7d7ff89c5d5ff9ccad7ff9ccad7ff8ccfe6ff8ccfe6ff9bd3e7ff00b1aaff00aaa0ff00aba1ff00b2aaff00ada6ff00aba0ff00aba1ff00b2abffd5ad8fffffad80ffddd99afffff8aefffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffff7aefffef5acfffdf4abfffef6adfffff8aefffdf2a9ffece4a1ffddd696ffd0ca8dffd4cc8dffdfcc8cffc2ca8fff4eba9cff00b2a2ff00b5adffe9ac8bffffac7effffac7efff7b591ff00aca3ff00ada3ff00aba1ff00b4acff00aaa1ff00aca0ff00aba0ff00b4acff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff00b1aaff00aaa0ff00aba1ff00b2aaff00ada7ff00aba0ff00aba1ff00b3acffd5ad8fffffac7effe6c08dfff8f0a8fffef6adfffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffff7aefffef5acfffdf4abfffef6acfffff7aefff8f0a8ffece4a1ffd6d294ffd4cc8dffd4cc8dffdfcc8cffa5c894ff58c5a6ff00aca3ff00aaa1ff00aaa1ff00b3abffe9ac8bffffac7effffac7efffbb38fff00aba2ff00ada3ff00aba1ff00b4acff00aaa1ff00aca0ff00aba1ff00b4acff92c7d7ff8ccfe6ff8ccfe6ff9bd3e7ff9ccad7ff94d0e2ff97d1e4ffa6d6e7ff00b7b2ff00b4acff00b3aaff00b9b3ff00b5afff00b4acff00b4acff00b9b3ffd1b49cfffbb38fffe6c08dffece4a1fffef7aefffef5acfffff8aefffff7aefffff7aefffff7aefffff7aefffff7aefffff8aefffff7aefffef5acfffdf4abfffef5acfffff6acfff8f0a8ffe4dd9cffd6ce90ffd4cc8dffd4cc8dffd4cc8dffc8ca9bff74c19bff00b8aeff00b9b3ff00b2abff00b4acff00b3aaff00bab4ffe0b297fffbb38ffffbb38ffff2bb9bff00b4acff00b4acff00b4acff00bab4ff00b2abff00b4acff00b3aaff00bab4ff9ccad7ff97d1e4ff94d0e2ffa6d6e7ff00afa8ff00aba2ff00aca3ff00b1aaff00aca7ff00aca3ff00aca3ff00b0aaffcbad93ffecaa88ffe9ac8bffeeb192ff23aba3ff00aba2ff00aca2ffbbcc9bfffff6acfffef5acfffff7aefffff7aefffff7aefffff8aefffff8aefffff7aefffef5acfffdf4abfffef5acfffff6acfff3eba3ffe4dd9cffd6ce90ffd0ca8dffd4cc8dffd4cc8dffc8ca9bffb4ccb9ff00aaa3ff00aaa6ff00aba2ff00b2abff00aaa3ff00aca3ff00aca3ff00b2abff00aaa3ff00aca3ff00aca3ff00b2abffd5ad8fffe9ac8bffe9ac8bffe0b297ff00aaa3ff00aca3ff00aca3ff00b2abff00aca2ff00ada7ff00aca3ff00b5afff00ada5ff00aaa0ff00aba1ff00b2a8ff00ada6ff00aaa0ff00aca0ff00b3acffd5ad8fffffac7effffad80ffffb38aff00aca2ff00ada3ff00aba1ff4eba9cfff3eba3fffff7aefffef6adfffff9aefffff8affffff7aefffef5acfffdf2a9fffef5acfffdf4abfff3eba3ffddd99affd6ce90ffd4cc8dffdfcc8cffdfcc8cffc8ca9bffa7cfc6ff8ccfe6ff9bd3e7ff00ada7ff00aca0ff00aca0ff00b3abff00aba2ff00aca0ff00aca0ff00b3abff00aaa1ff00aba1ff00aba1ff00b4acffe9ac8bffffac7effffac7efff7b591ff00aba2ff00ada3ff00aca0ff00b4acff00aaa2ff00ada3ff00aba0ff00b8afff00ada5ff00aaa0ff00aba1ff00b2a8ff00ada7ff00aaa0ff00aba1ff00b3acffd5ad8fffffac7effffad80ffffb38aff00aca2ff00aba1ff00aba1ff00b2a2ffddd696fffff8aefffef5acfffff7aefffef5acfffdf2a9fffef5acfffdf2a9fff3eba3ffddd99affd4cc8dffd4cc8dffd4cc8dffdfcc8cff8ac497ff22b4abff84c4d3ff8ccfe6ff8ccfe6ff97d1e4ff00ada7ff00aba0ff00aba0ff00b3abff00aba2ff00aba1ff00aba1ff00b3abff00aba2ff00aba1ff00aba1ff00b3aaffe9ac8bffffac7effffac7efff7b591ff00aaa1ff00ada3ff00aba1ff00b3abff00aaa2ff00ada3ff00aba0ff00b8afff00b5afff00b4acff00b4acff00b9b3ff00b5afff00b4adff00b4adff00b9b3ffd1b49cfffbb38ffff7b591fff2bb9bff22b4abff00b4acff00b4acff00b9b3ffbbcc9bfff8f0a8fffff7acfffdf4abfffdf4abfffdf2a9ffece4a1ffddd696ffd4cc8dffd4cc8dffdfcc8cffdfcc8cffbbcc9bff40bfaeff00b1a8ff00b9b3ff92c7d7ff9bd3e7ff97d1e4ff9ed3e2ff00b5afff00b4acff00b4acff00bab4ff00b4acff00b4acff00b4acff00bab4ff00b4acff00b4acff00b4acff00bab4ffe0b297fff7b591fff7b591fff2bb9bff00b4acff00b4adff00b4adff00bab4ff00b2abff00b4acff00b4acff00beb7ff00aca7ff00aba2ff00aba2ff00aea9ffcbad93ffecaa88ffe9ac8bffeeb192ff23aba3ff00aba2ff00aba2ff00b1aaff00ada4ff00aca3ff00aba2ff00aea9ff4eba9cffddd696fff8f0a8fffdf2a9ffece4a1ffddd696ffd4cc8dffd4cc8dffdfcc8cffd6ce90ff8ac497ff02b69eff00a7a5ff00aaa6ff00aba2ff00b1aaff00aaa3ff00aca3ff00aba2ff00b1aaff00accbff00aed6ff00abd8ff00b5d8ff00aaa3ff00aba2ff00aca3ff00b1aaff00aaa3ff00aba2ff00aba2ff00b2abff00aaa3ff00aca3ff00aba2ff00b2abffd5ad8fffecaa88ffecaa88ffe0b297ff00aca2ff00aba2ff00aba2ff00b5afff00aea6ff00aba0ff00aca0ff00b3acffd5ad8fffffac7effffad80ffffb38aff00ada4ff00aba1ff00ada3ff00b2aaff00ada7ff00aca0ff00aca0ff00b2a8ff00ada5ffa5c894ffdfcc8cffd6ce90ffd4cc8dffd4cc8dffdfcc8cffdfcc8cff8ac497ff00b0a4ff00ada3ff00b2aaff00aca3ff00aca0ff00aca0ff00b3abff00aba2ff00aba1ff00aba1ff00b3abff00aed6ff00afe9ff00ade7ff00b5e7ff00ada5ff00aca0ff00aca0ff00b3abff00aba2ff00aca0ff00aca0ff00b4acff00aba2ff00ada3ff00ada3ff00b4acffecaa88ffffac7effffac7efff7b591ff00aaa1ff00ada3ff00aca0ff00b8afff00aea9ff00ada3ff00ada3ff00b2abffd5ad8fffffac7effffad80ffffb38aff00ada4ff00aaa1ff00aba1ff00b2aaff00aca3ff00aba0ff00aba0ff00b2a8ff00aaa6ff4eba9cffdfcc8cffd4cc8dffdfcc8cffc8ca9bff72c5adff00b5d4ff00aaa6ff00aaa0ff00aba1ff00b3abff00ada5ff00ada3ff00ada3ff00b5adff00aca3ff00aba1ff00aba1ff00b3abff00aed6ff00ade7ff00ade7ff00b5e7ff00aba2ff00aba0ff00aba1ff00b3abff00aaa1ff00aba0ff00aba0ff00b3abff00aba2ff00aca0ff00aba1ff00b3aaffecaa88ffffac7effffac7efff7b591ff00aaa2ff00ada3ff00ada3ff00b8afff00b2aaff00b1a8ff00b1a8ff00b7aeffd1b49cfff7b591fff7b591fff2bb9bff22b4abff00b4acff00b4acff00bbb4ff00b5afff00b4adff00b4adff00bbb4ff00b4acff00b7aeffbbcc9bffd4cc8dff98c7a7ff00b5d4ff00b5e7ff00bce5ff00b5afff00b4acff00b4acff00bbb4ff00b3abff00b1a8ff00b1a8ff00bab4ff00b4acff00b4acff00b4acff00bbb4ff00b5d4ff00b7e4ff00b7e4ff00bce5ff00b4acff00b4acff00b4acff00bab4ff00b4acff00b4adff00b4adff00bab4ff00b4acff00b4acff00b4acff00bab4ffe0b297fff7b591fff7b591fff2bb9bff00b2abff00b1a8ff00b1a8ff00bab2ffea3337fff90000fff90000fff70000ff2ba19cff00ada5ff00aba2ff00b0a4ff00aaa3ff00aba2ff00aba2ff00aea6ff87bdc8ff92c7d7ff92c7d7ff9ccad7ff00aca7ff00aaa1ff00aaa2ff00b0a4ff00a7a5ff00aaa2ff00aba2ff00b0aaff00aaa3ff00aba2ff00aba2ff00b0aaffea3337fff90000fff90000fff70000ff00aaa3ff00ada5ff00aaa1ff00b1aaff00aaa3ff00aba2ff00aba2ff00b1aaff00aca2ff00aba2ff00aba2ff00b1aaff93c1ccff92c7d7ff92c7d7ff9ccad7ff00aca2ff00aba2ff00aba2ff00b1aaff00aca2ff00aba2ff00aba2ff00b0a4fff50f1afff90000fff90000fff50f1afff70000ffff0000ffff0000ffff0000ff009c96ff00ada3ff00ada3ff00b2a8ff00ada6ff00aca0ff00ada3ff00b2a8ff84c4d3ff8ccfe6ff8ccfe6ff9bd3e7ff00b0aaff00aba0ff00ada3ff00b5adff00aca3ff00ada3ff00aca0ff00b3abff00ada7ff00ada3ff00ada3ff00b5adffec0000ffff0000ffff0000ffff0000ff00a59cff00ada3ff00ada3ff00b3abff00aba2ff00aca0ff00aca0ff00b3abff00ada5ff00ada3ff00aca0ff00b4acff89c5d5ff8ccfe6ff8ccfe6ff9bd3e7ff00ada5ff00ada3ff00ada3ff00b4acff00aaa1ff00ada3ff00ada3ff00b3aafff90000ffff0000ffff0000ffff0000fff70000ffff0000ffff0000ffff0000ff009c96ff00ada3ff00aba0ff00b2aaff00aca3ff00aba0ff00aba0ff00b0a6ff84c4d3ff8ccfe6ff8ccfe6ff9bd3e7ff00b0aaff00aa9eff00aba0ff00b2aaff00aca3ff00aba0ff00aba0ff00b3abff00aca3ff00aba0ff00aca0ff00b5adffec0000ffff0000ffff0000ffff0000ff00a59cff00ada3ff00aba0ff00b3abff00aba2ff00aba0ff00aba0ff00b3abff00aba2ff00aba0ff00aba0ff00b3abff89c5d5ff8ccfe6ff8ccfe6ff94d0e2ff00aba2ff00aba0ff00aba0ff00b3aaff00aaa1ff00aca0ff00ada3ff00b1a8fff90000ffff0000ffff0000ffff0000ffea3337ffff0000ffff0000ffff000fff3ca39eff00b9b2ff00b7afff00bbb4ff00bab2ff00b7afff00b7afff00bbb4ff9ccad7ff9bd3e7ff9bd3e7ffa6d6e7ff00b7b2ff00b7afff00b7afff00beb7ff00b5afff00b7afff00b7afff00beb7ff00bab2ff00b7afff00b7afff00beb7ffea3337ffff0000ffff0000ffff000fff00b2aaff00b9b2ff00b7afff00beb7ff00b5afff00b7afff00b7afff00beb7ff00b5afff00b7afff00b7afff00beb7ff9ccad7ffa6d6e7ff9bd3e7ffa6d6e7ff00b5afff00b7afff00b7afff00beb7ff00b4acff00b9b2ff00b9b2ff00bab2fff50f1affff0000ffff0000ffff000f";nbChamps=this.numFields;for(var leChamp="- Liste des champs -",listeChamps='var listeChamps = {"'+leChamp+'": '+(nbChamps+1)+",",i=0;i<nbChamps;i++){var nomChamp=this.getNthFieldName(i);if("object"!=typeof this.getField(nomChamp).page)listeChamps+='"'+nomChamp+'": '+(-1*(i+1)).toString()+",";else for(var j=0;j<this.getField(nomChamp).page.length;j++)listeChamps+='"'+nomChamp+"."+j+'": '+(-1*(i+1)).toString()+","}var listeChamps=listeChamps.substring(0,listeChamps.length-1);eval(listeChamps+="}"),resScript="",resAction="",resQuand="";var bDialogue={initialize:function(f){var a={logo:{width:60,height:60,offset:0,read:function(f){return b2.slice(this.offset,this.offset+=f)}}};f.load(a),f.enable({Docu:!1,Acti:!1,Cham:!1}),this.loadDefaults(f)},loadDefaults:function(f){f.load({LCha:listeChamps})},quelScript:function(f){for(var a=0;a<=2;a++)if(f["Rd0"+a])switch(a){case 0:resScript="Document";break;case 1:resScript="Action";break;case 2:resScript="Champ"}return resScript},quelleAction:function(f){for(var a=0;a<=4;a++)if(f["Rd1"+a])switch(a){case 0:resAction="WillClose";break;case 1:resAction="WillSave";break;case 2:resAction="DidSave";break;case 3:resAction="WillPrint";break;case 4:resAction="DidPrint"}return resAction},quand:function(f){for(var a=0;a<=9;a++)if(f["Rd2"+a])switch(a){case 0:resQuand="MouseUp";break;case 1:resQuand="MouseDown";break;case 2:resQuand="MouseEnter";break;case 3:resQuand="MouseExit";break;case 4:resQuand="OnFocus";break;case 5:resQuand="OnBlur";break;case 6:resQuand="Format";break;case 7:resQuand="Keystroke";break;case 8:resQuand="Validate";break;case 9:resQuand="Calculate"}return resQuand},Rd00:function(f){f.enable({Docu:!0,Acti:!1,Cham:!1})},Rd01:function(f){f.enable({Docu:!1,Acti:!0,Cham:!1})},Rd02:function(f){f.enable({Docu:!1,Acti:!1,Cham:!0})},validate:app.trustedFunction(function(bDialogue){app.beginPriv();for(var alerte,oRslt=bDialogue.store(),elements=bDialogue.store().LCha,NoTestMaxi=9,i=0;i<=NoTestMaxi;i++)eval("var testOK"+i+"=true");if(this.quelScript(oRslt)){if("Document"==this.quelScript(oRslt)&&(""==oRslt.name||/^\s+|\s+$/gm.test(oRslt.name)))var testOK1=!1;else if("Action"!=this.quelScript(oRslt)||this.quelleAction(oRslt)){if("Champ"==this.quelScript(oRslt)){if(this.quand(oRslt)){for(var i in elements)elements>0&&(valeurListe=listeChamps,nomListe=i);if(valeurListe>0&&(""==oRslt.nmCh||/^\s+|\s+$/gm.test(oRslt.nmCh)))var testOK4=!1;else{nmChamp=valeurListe>0?oRslt.nmCh:nomListe;try{var leType=getField(nmChamp).type;switch(leType){case"text":var typeBouton="Champ de texte";break;case"checkbox":var typeBouton="Case \xe0 cocher";break;case"radiobutton":var typeBouton="Bouton radio";break;case"listbox":var typeBouton="Zone de liste";break;case"combobox":var typeBouton="Menu d\xe9roulant";break;case"button":var typeBouton="Bouton";break;case"signature":var typeBouton="Signature num\xe9rique"}switch(this.quand(oRslt)){case"Format":var typeScript="Script de format personnalis\xe9";break;case"Keystroke":var typeScript="Script de touches personnalis\xe9";break;case"Validate":var typeScript="Script de validation";break;case"Calculate":var typeScript="Script de calcul"}if(("Calculate"==this.quand(oRslt)||"Validate"==this.quand(oRslt)||"Keystroke"==this.quand(oRslt)||"Format"==this.quand(oRslt))&&"text"!=leType&&"combobox"!=leType)var testOK6=!1;else if(("Calculate"==this.quand(oRslt)||"Validate"==this.quand(oRslt)||"Format"==this.quand(oRslt))&&"listbox"!=leType)var testOK7=!1}catch(e){testOK5=!1}}}else var testOK3=!1}}else var testOK2=!1}else var testOK0=!1;if(""==oRslt.scri)var testOK8=!1;else if(!/\b^[\s\S]*\b(var[ ]+.+[ ]*=)|(event\.(?:change|name|shift|rc|source|changeEx|richChange|target|commitKey|richChangeEx|targetName|fieldFull|richValue|type|keyDown|selEnd|value|modifier|selStart|willCommit))|(this\.getField[(]["']?.+["']?[)])[\s\S]*$/.test(oRslt.scri)||!/[=]/.test(oRslt.scri))var testOK9=!1;for(var txtRetour="var retourAlerte=(",i=0;i<=NoTestMaxi;i++)txtRetour+="testOK"+i,i<NoTestMaxi&&(txtRetour+=" && ");if(eval(txtRetour+=")"),testOK0){if(testOK1){if(testOK2){if(testOK3){if(testOK4){if(testOK5){if(testOK6&&testOK7){if(testOK8){if(!testOK9&&4==app.alert({cMsg:"Le texte entr\xe9 semble ne pas correspondre \xe0 un script JavaScript pour Acrobat.\rVoulez-vous ajouter ce script ?",cTitle:"ATTENTION",nType:2,nIcon:2}))var retourAlerte=!0}else app.alert("Veuillez \xe9crire ou coller un script dans la fen\xeatre ci-contre.",3)}else app.alert('Le champ "'+nmChamp+'" est de type "'+typeBouton+'" et ne peut donc pas ex\xe9cuter un '+typeScript+".",3)}else app.alert('Le champ "'+nmChamp+"\" n'existe pas.",3)}else app.alert("Veuillez s\xe9lectionner ou indiquer un nom de champ.",3)}else app.alert("Veuillez s\xe9lectionner un type de script de champ.",3)}else app.alert("Veuillez s\xe9lectionner un script d'action de document.",3)}else app.alert("Veuillez indiquer un nom de script correct.",3)}else app.alert("Veuillez s\xe9lectionner un type de script.",3);return retourAlerte}),commit:function(f){var a=f.store(),$=f.store().LCha;for(var b in leScript=a.scri,nomScript=a.name,$)$>0&&(valeurListe=listeChamps,nomListe=b);nmChamp=valeurListe>0?a.nmCh:nomListe},description:{name:"b2Tools - Ajouter un Script",elements:[{type:"view",elements:[{type:"view",align_children:"align_top",elements:[{type:"view",elements:[{type:"static_text",name:"\xc9crivez ou collez un script dans la fen\xeatre ci-dessous.",alignment:"align_left",font:"dialog"},{type:"edit_text",item_id:"scri",width:400,height:485,multiline:!0,alignment:"align_fill"},]},]},]},{type:"view",elements:[{type:"view",align_children:"align_top",elements:[{type:"view",elements:[{type:"image",item_id:"logo",width:64,height:64},]},{type:"view",char_width:40,elements:[{type:"static_text",name:"AJOUTER UN SCRIPT",char_width:25,alignment:"align_center",font:"dialog",bold:!0},{type:"static_text",item_id:"stat",name:"bebarth (04/24)",alignment:"align_center",font:"palette",bold:!0,char_width:10,height:20},{type:"view",alignment:"align_center",align_children:"align_row",elements:[{type:"static_text",name:"Scripts : ",font:"dialog",bold:!0},{type:"radio",group_id:"GRP0",item_id:"Rd00",name:" du document"},{type:"radio",group_id:"GRP0",item_id:"Rd01",name:" Actions du document"},{type:"radio",group_id:"GRP0",item_id:"Rd02",name:" de champ"},]},]},]},{type:"gap",height:3},{type:"view",group_id:"Docu",alignment:"align_fill",elements:[{type:"static_text",name:"Scripts JavaScript du document",font:"dialog",bold:!0},{type:"cluster",item_id:"Docu",elements:[{type:"static_text",name:"Nom du script :"},{type:"edit_text",item_id:"name",height:20,alignment:"align_fill"},]},]},{type:"view",alignment:"align_fill",elements:[{type:"static_text",name:"Actions du document",font:"dialog",bold:!0},{type:"cluster",item_id:"Acti",align_children:"align_top",elements:[{type:"view",elements:[{type:"radio",group_id:"GRP1",item_id:"Rd10",name:" Le document sera ferm\xe9"},{type:"radio",group_id:"GRP1",item_id:"Rd11",name:" Le document sera enregistr\xe9"},{type:"radio",group_id:"GRP1",item_id:"Rd12",name:" Le document a \xe9t\xe9 enregistr\xe9"},]},{type:"static_text",name:" "},{type:"view",elements:[{type:"radio",group_id:"GRP1",item_id:"Rd13",name:" Le document sera imprim\xe9"},{type:"radio",group_id:"GRP1",item_id:"Rd14",name:" Le document a \xe9t\xe9 imprim\xe9"},]},]},]},{type:"view",alignment:"align_fill",elements:[{type:"static_text",name:"Scripts de champ",font:"dialog",bold:!0},{type:"cluster",item_id:"Cham",align_children:"align_top",elements:[{type:"view",elements:[{type:"static_text",name:"Nom du champ",font:"dialog",bold:!0},{type:"static_text",name:"S\xe9lectionnez..."},{type:"popup",item_id:"LCha",width:100,alignment:"align_fill"},{type:"static_text",name:"ou indiquez son nom :"},{type:"edit_text",item_id:"nmCh",height:20,alignment:"align_fill"},]},{type:"static_text",name:" "},{type:"view",elements:[{type:"static_text",name:"Action",font:"dialog",bold:!0},{type:"radio",group_id:"GRP2",item_id:"Rd20",name:" Souris rel\xe2ch\xe9e"},{type:"radio",group_id:"GRP2",item_id:"Rd21",name:" Souris enfonc\xe9e"},{type:"radio",group_id:"GRP2",item_id:"Rd22",name:" Souris entr\xe9e"},{type:"radio",group_id:"GRP2",item_id:"Rd23",name:" Souris sortie"},{type:"radio",group_id:"GRP2",item_id:"Rd24",name:" Champ activ\xe9"},{type:"radio",group_id:"GRP2",item_id:"Rd25",name:" Champ d\xe9sactiv\xe9"},]},{type:"static_text",name:" "},{type:"view",elements:[{type:"static_text",name:"Format",font:"dialog",bold:!0},{type:"radio",group_id:"GRP2",item_id:"Rd26",name:" Script de format"},{type:"radio",group_id:"GRP2",item_id:"Rd27",name:" Script de touches"},{type:"static_text",name:"Validation",font:"dialog",bold:!0},{type:"radio",group_id:"GRP2",item_id:"Rd28",name:" Script de validation"},{type:"static_text",name:"Calcul",font:"dialog",bold:!0},{type:"radio",group_id:"GRP2",item_id:"Rd29",name:" Script de calcul"},]},]},]},{type:"gap",height:5},{type:"ok_cancel"},]},]}};"ok"==app.execDialog(bDialogue)&&("Document"==resScript?this.addScript(nomScript,leScript):"Action"==resScript?this.setAction(resAction,leScript):this.getField(nmChamp).setAction(resQuand,leScript));
Sur demande, je peux vous donner la version originale de ce script ou de celui qui fonctionne en script d’application.
@+
😎Attachments:
You must be logged in to view attached files.24 juin 2024 à 09:18 #74529Merlin
Maître des clésWaou !
24 juin 2024 à 15:19 #74538philpask
ParticipantBonjour,
effectivement, waou. C’est du haut niveau !
Merci, dans tous les cas, pour vos réponses. Je vais essayer dans un premier temps le cheminement de Merlin.
Philippe
-
Cette réponse a été modifiée le il y a 1 mois et 3 semaines par
philpask.
24 juin 2024 à 15:46 #74540philpask
Participantre, alors, je n’arrive pas à faire fonctionner la fonction add.script. Cela me met une erreur de ) à la ligne 1 à chaque tentative (alors que je suis bien la procédure que vous avez donné Merlin).
Par contre, le script de Bebarth, trop génial ! Mille mercis, vraiment.
Philippe
24 juin 2024 à 17:31 #74542bebarth
Maître des clésbonjour,
Peux-tu coller dans une réponse ta ligne exacte ou faire une copie d’écran ?@+
😎24 juin 2024 à 18:08 #74547Merlin
Maître des clésje n’arrive pas à faire fonctionner la fonction add.script. Cela me met une erreur de ) à la ligne 1 à chaque tentative
Le premier point-virgule est peut-être de trop, essayez comme ça :
this.addScript("init", "app.beep(0)");
24 juin 2024 à 20:27 #74549philpask
Participantje n’arrive pas à faire fonctionner la fonction add.script. Cela me met une erreur de ) à la ligne 1 à chaque tentative Le premier point-virgule est peut-être de trop, essayez comme ça :
this.addScript("init", "app.beep(0)");
Le souci ne vient pas de votre exemple, mais de ce que je fais, je pense, depuis le site que vous m’avez indiqué.
Voilà, j’ai fait une copie écran. Je suppose que le code généré par https://algodaily.com/convert/javascript/text n’est pas le bon. J’avoue que là, je sèche, parce que je choisis bien conversion de javascript->text. Mais cela me remet le même code… Et cela me fait la même chose, quelque soit le code (code de la date de péremption, par exemple, du pdf abracadabrascripts). Y’a vraiment un truc que je n’ai pas compris.
Attachments:
You must be logged in to view attached files.24 juin 2024 à 21:07 #74551bebarth
Maître des clésIl ne faut pas faire de retours lignes mais l’équivalent JavaScript “\r” et il faut échapper les guillemets pour qu’ils soient interprétés correctement. Cela donne :
this.addScript("init", "if (app.viewerVariation==\"Full\" || (app.viewerVariation!=\"Full\" && app.viewerVersion>=11)) {\rthis.getField(\"cache\").display=display.hidden;\rthis.dirty=false;\r}");
@+
😎24 juin 2024 à 21:28 #74552Merlin
Maître des clésOui, surtout pas de retour de ligne ni aucun séparateur, juste la chaine de caractères.
25 juin 2024 à 07:43 #74556philpask
ParticipantBonjour. Ok, j’ai compris (enfin j’espère). Merci beaucoup.
25 juin 2024 à 07:56 #74557michel c.
ParticipantBonjour, je veux bien la version qui fonctionne en script d’application. Si je comprend bien ce script permet l’insertion plus rapide des scripts dans un pdf?
25 juin 2024 à 21:53 #74565bebarth
Maître des clésbonsoir,
Pas de souci pour te le partager, mais sais-tu si tu peux ajouter un script d’application avec PDF-XChange ? Je n’ai pas l’impression…@+
😎26 juin 2024 à 15:50 #74570michel c.
ParticipantBonjour, effectivement je n’ai pas cette fonctionnalité….
26 juin 2024 à 18:20 #74574bebarth
Maître des clés26 juin 2024 à 22:06 #74578bebarth
Maître des clés… pas tant que ça en fait ! La plupart des zones devraient être inaccessibles et les boutons radios décochées à l’ouverture de la boîte de dialogue.
La fenêtre de script est également mal placée.
Je n’est pas testé l’exécution du script.
@+
😎27 juin 2024 à 08:09 #74579philpask
ParticipantBonjour,
juste pour vous dire que tout fonctionne, grâce à vous 2. Un grand merci !
Bonne journée.
11 juillet 2024 à 14:21 #74652kiemeo
Participantgood
-
Cette réponse a été modifiée le il y a 1 mois et 3 semaines par
-
AuteurRéponses
- Vous devez être connecté pour répondre à ce sujet.