• 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: syntax error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syntax error


  • Subject: Re: syntax error
  • From: Robert Poland <email@hidden>
  • Date: Mon, 02 Jul 2012 14:03:35 -0600

Clive,

Do you have a window open in Microsoft Word?

How are you trying to run your script?

Assuming that you have saved your script do you have your script saved as a script or an application?


On Jul 2, 2012, at 11:00 AM, Clive Rabson wrote:

Hello all
This throws up a syntax error.
Any idea why?
I am using Word 12.3.3 and OS10.6.8

tell application "Microsoft Word"
       activate
        tell active window
              set bounds to {5, 22, 559, 1050}
                set view type of its view to draft view
        set percentage of zoom of its view to 120
       end tell
end tell


Any assistance appreciated. Because I am tired of having to force quit Applescript every five minutes.

Clive

Robert Poland - Fort Collins, CO



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >syntax error (From: Clive Rabson <email@hidden>)

  • Prev by Date: syntax error
  • Next by Date: [ANN] AppleScriptHTML 2.4 : Turn AppleScript code into clean HTML
  • Previous by thread: syntax error
  • Next by thread: syntax error
  • Index(es):
    • Date
    • Thread