Why does the following not work:
on dialog_function()
display dialog "Hello World"
end dialog_function
tell application "Adobe Acrobat Professional"
dialog_function()
end tell
How do I create a function that can be run from within a tell statement?