brilliant5125 Posted October 28, 2020 Share Posted October 28, 2020 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 keystroke "n" using {command down} tell application "System Events" to keystroke tab end alfred_script Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now