I am a real newbie to Applscript but I think that is the only way to go for the automation I am looking for. What I would want is to automate an e-mail pdf from a list to certain people. Lets say I have a ‘project’ called ‘Open Tasks’ and I want that to be mailed weekly to a few people (in PDF). Really hope someone can help me on this one.
Here is the core of what you need - edit all the variables & set it up to run on a schedule using launchd or Lingon (GUI for launchd).
tell application "OmniFocus"
tell document 1
tell document window 1
set perspective name to "Open Tasks"
end tell
print with properties {target file:POSIX file "/Users/username/Desktop/test.pdf"}
end tell
end tell
tell application "Mail"
set m to make new outgoing message
tell m
make new to recipient with properties {name:"someone", address:"someone@somedomain.com"}
make new attachment with properties {file name:POSIX file "/Users/username/Desktop/test.pdf"}
send
end tell
end tell