-
-
Save adomasven/10ee7a41fffee6a406928ad54acebdb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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