I'm looking for a way to create a new OneNote in a specific notebook and section and give it a name of the current date and time.
I know I can create a note with the following script, but it simply creates it in whichever notebook/section is open. I'm not sure how to specify the notebook and section, or turn the date/time into the title before invoking the tab keystroke.
on alfred_script(q)
tell application "System Events" to keystroke "c" using {command down}
delay 1
tell application "Microsoft OneNote" to activate
tell application "System Events" to ke