Skip to content

Instantly share code, notes, and snippets.

@adomasven
Created February 27, 2018 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adomasven/10ee7a41fffee6a406928ad54acebdb1 to your computer and use it in GitHub Desktop.
Save adomasven/10ee7a41fffee6a406928ad54acebdb1 to your computer and use it in GitHub Desktop.
tell application "Microsoft Word"
set fn to make new footnote at active document
tell text object of fn to set content to ""
# 1. Where is the cursor? What is on the page?
#set noteRef to note reference of fn
#tell selection to set selection start to end of content of noteRef
#tell selection to set selection end to end of content of noteRef
# 2. Where is the cursor? What is on the page?
#set sbWhere to text object of fn
#make new field at text object of fn with properties {field type:field print date}
# 3. Where is the cursor? What is on the page?
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment