Barcode Action script

Enter an action script to be run after barcode recognition has been performed.

For example the script can be used (in conjunction with the Create PDF Bookmarks plugin) to add bookmarks into a PDF document using barcodes that match a regular expression (regex)

{SetBookmarkForCurrentPageIf(Regex.IsMatch(GetBarcodeText(),"SDSAP"),"\06Appeal","Appeal",true)}

create a bookmark called "Appeal" when a barcode with the value "SDSAP" was recognized.