Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Uma, njengami, ungena enkingeni yokuqamba kabusha izinkulungwane zamagama enkambu yefomu, ikhonsoli yeJavaScript efakwe ku-Acrobat ilungile. Kulokhu awukwazi ukusebenzisa kuphela noma iyiphi ikhodi yeJavaScript, kepha futhi ungafinyelela konke okuqukethwe ngaphakathi kwe-PDF (kufaka phakathi izinkambu zefomu). Njengoba kungekho msebenzi wendabuko wokuqamba kabusha igama ku-JS API, izinkambu zefomu zikopishwa ngazo zonke izakhiwo zazo bese zinikezwa igama elisha.


Ikhonsoli kufanele iqale isebenze ku-Acrobat ngaphansi kwe- "Hlela> Izilungiselelo ..." ngaphansi kwe- "JavaScript":

Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Nge- "CTRL + J" wenza kusebenze i-JavaScript debugger bese ukhetha i- "Console" ngaphansi kwe- "Display:". Uma ufuna ukusebenzisa noma iyiphi ikhodi yeJavaScript, uyifaka, imake (lesi isinyathelo esibalulekile abantu abaningi abasikhohlwayo) bese usisebenzisa nge- "CTRL + ENTER". Umphumela bese uvela ngqo ngezansi:

Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Amazwibela alandelayo aqamba kabusha zonke izinkambu zefomu ukuze amachashazi (".") Athathelwe indawo ama-hashes ("#"):

61cbdaf8b97fb21952e382d2e88d50d4

Iskripthi singaphatha zonke izinhlobo zezinkambu zefomu (kufaka namabhokisi wokuhlola).

Qamba kabusha izinkambu zefomu le-PDF ngobuningi

Emuva