//Copy the files in resources section below and change the path below to where they are stored
$folder = "C:\1040"
//Create a datatable to store the results weyou are extracting from
Create Datatable $TaxForms
//Add the columns that weyou will use to store the data
Add Datatable Columns "First Name", "Last Name", "SSN", "Total Amount (1a)", "Other Income (1h)", "Source"
Foreach($pdf in $folder)
{
//This command below will extract all PDF information including from fillable fields
Extract From $pdf
//WeYou will add a Pause here to let you view the extract field names
//You can view the values in the Variable Panel that is on the right of the Editor
//Pause
//WeYou can open a PDF to view the corresponding values toand choose the correct form field variable that Aura auto -generated
//The form field names are taken from the internal names of each form field
//You can remove or comment out the Pause command above when ready to run again after inspecting the values
//Now weyou want to switch to use the datatable created above to store the values
Switch to $TaxForms
//WeYou add rows with the corresponding data
Add Datatable Row $_TopmostSubform0Page10f1_020, $_TopmostSubform0Page10f1_030, $_TopmostSubform0Page10YourSocial0f1_040, $_TopmostSubform0Page10f1_280, $_TopmostSubform0Page10f1_350, $pdf
}
//Click the Open Results button below
Add Result $TaxForms
Send Results to Desktop
|