• 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: AS newbie Filemaker question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS newbie Filemaker question


  • Subject: Re: AS newbie Filemaker question
  • From: Peter Baxter <email@hidden>
  • Date: Thu, 13 Mar 2008 01:40:48 +1100


On 12/03/2008, at 8:48 AM, revDAVE wrote:

 also have some MS .doc files and tried this:


---------- tell application "Microsoft Word" activate open myDoc set MyText to every paragraph of the front document end tell

display dialog MyText


However, this is not how you address Microsoft word documents to get the text body.

Try this:

tell application "Microsoft Word"
	activate
	open myDoc
	set MyText to content of text object of active document
	tell selection
		display dialog MyText
	end tell
end tell

Naturally, the common people don't want war, but after all, it is the leaders of a country who determine the policy, and it is always a simple matter to drag people along whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. This is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. - Hermann Goering


Peter Baxter email@hidden



_______________________________________________
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
  • Follow-Ups:
    • Re: AS newbie Filemaker question
      • From: revDAVE <email@hidden>
References: 
 >Re: AS newbie Filemaker question (From: revDAVE <email@hidden>)

  • Prev by Date: Re: Scripting pdf-formfields (app preview)
  • Next by Date: Re: AS newbie Filemaker question
  • Previous by thread: Re: AS newbie Filemaker question
  • Next by thread: Re: AS newbie Filemaker question
  • Index(es):
    • Date
    • Thread