A family of Microsoft word processing software products for creating web, email, and print documents.
This link looks promising
Word 2004 AppleScript Reference
You may also refer this link as well.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to find AppleScript equivalent to the VBA command "Selection.MoveRight Unit:=wdCell"
In AppleScript I can create a new document from a template, jump to a bookmark and insert text. But I am stuck with moving to the next cell and insert the next junk of text ...
Any ideas, anyone?
Oliver
===
In VB I do:
Selection.GoTo What:=wdGoToBookmark, Name:="LabelStart"
Selection.TypeText Text:="some label.."
Selection.MoveRight Unit:=wdCell
And in AppleScript :
-- create a new Word document based on a template
tell application "Finder"
set myPath to ((path to home folder) as text) & "Documents:Seminar Pro:Templates:imLabels.dotm"
set thePath to a reference to alias myPath
open thePath as alias
end tell
-- wait, to allow Word to get ready
delay 3
-- jump to the first Label
tell application "Microsoft Word"
select bookmark "LabelStart" of active document
end tell
A family of Microsoft word processing software products for creating web, email, and print documents.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.