Re: How is the applescript support in Office 2004?
Re: How is the applescript support in Office 2004?
- Subject: Re: How is the applescript support in Office 2004?
- From: trinko <email@hidden>
- Date: Thu, 20 May 2004 19:21:51 -0700
Office 2004 is very scriptable but it has one heck of a learning
curve. It took me forever to figure out that in order to get an
instance of the find class--which you need for the execute find
command -- you need to get the selection instance of the window, not
the document. On the plus side once we get some references out
there--AppleScript for Dummies will only scratch the surface-- you
should be able to script just about anything imaginable in any of the
Office apps. The Mac BU has done a good job.
one note not all errors generate errors so
tell application "Microsoft Word"
set x to 4
try
set x to some script command which is illegal
on error e
display dialog e <-- this dialog doesn't always execute
end try
end tell
x --> you get an error here that x isn't defined
--
tom trinko
http://members.aol.com/trinkos/basepage.html
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.