-
-
Save adomasven/4f798acb84afdf4803370f66f6d0f6ca to your computer and use it in GitHub Desktop.
Test3
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 "" | |
set noteRef to note reference of fn | |
#tell active document to select text object of fn | |
set sbWhere to text object of fn | |
create new field text range sbWhere field type field print date | |
tell active document to select 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 | |
# 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