Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Uma, njengami, ubambelela ekuqopheni izinkulungwane zamagama ezinkambu zamafomu, ikhonsoli yeJavaScript efakwe ku-Acrobat kuyisinqumo esihle. Kulokhu awukwazi ukwenza noma iyiphi ikhodi yeJavaScript kuphela, kepha futhi ungafinyelela konke okuqukethwe okukhona kwi-PDF (kufaka phakathi amasimu amafomu). Njengoba kungekho msebenzi wokuzalwa wokuqanjwa kabusha ku-JS-API, amasimu amafomu nazo zonke izakhiwo ayakopishwa futhi adalwe ngegama elisha.


Ikhonsoli kumele isebenze kuqala ku-Acrobat ngaphansi kwe- "Hlela> Izilungiselelo ..." ngaphansi kwe- "JavaScript":

Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Nge- "CTRL + J" wenza kusebenze ukulungisa iphutha kweJavaScript bese ukhetha i- "Console" ngaphansi kwe- "Display:". Uma ufuna ukwenza noma iyiphi ikhodi yeJavaScript, yifake, uyimake bese uyikhipha nge "CTRL + ENTER". Umphumela ube uvela ngokuqondile ngezansi:

Qamba kabusha izinkambu zefomu le-PDF ngobuningi

I-snippet elandelayo manje iqamba kabusha zonke izinkambu zamafomu ukuze amachashazi (".") Athathelwe indawo yi-hashes ("#"):

61cbdaf8b97fb21952e382d2e88d50d4

Iskripthi singaphatha zonke izinhlobo zamasimu wamafomu (kufaka phakathi amabhokisi wokuhlola).

Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Emuva