• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How is the applescript support in Office 2004?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: How is the applescript support in Office 2004?
      • From: Paul Berkowitz <email@hidden>
    • Re: How is the applescript support in Office 2004?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Setting file comments (Finder info comments) in OS X
  • Next by Date: Re: Setting file comments (Finder info comments) in OS X
  • Previous by thread: Re: How is the applescript support in Office 2004?
  • Next by thread: Re: How is the applescript support in Office 2004?
  • Index(es):
    • Date
    • Thread