Pdf to AppleScript by Hazel

Hi,
from a receipt pdf I can extract the bank account, the money that is to be paid and the name of the company from a pdf by using match common and setting variables in Hazel which is nice. (feature quest would be here not to put the variables in a subfolder so its easier to edit.)
I would like to ask how I can pass these variables to an applescript.
My specific case is the German banking app MoneMoney that can set up bank transfers over applescript.
Are there any examples on how this works?
kind regards,
Peter
from a receipt pdf I can extract the bank account, the money that is to be paid and the name of the company from a pdf by using match common and setting variables in Hazel which is nice. (feature quest would be here not to put the variables in a subfolder so its easier to edit.)
I would like to ask how I can pass these variables to an applescript.
My specific case is the German banking app MoneMoney that can set up bank transfers over applescript.
Are there any examples on how this works?
kind regards,
Peter