• 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: revDAVE <email@hidden>
  • Date: Tue, 11 Mar 2008 14:48:56 -0700
  • Thread-topic: AS newbie Filemaker question

On 3/11/2008 1:06 PM, "Peter Baxter" <email@hidden> wrote:

> OK,
>
>
>
>
> tell application "Finder"
> set myDoc to alias "Macintosh
> HD:Users:MyUserName:Documents:YourDocument.doc"
> set modDate to the modification date of myDoc
> set createDate to the creation date of myDoc
> tell application "TextEdit"
>
> open myDoc
> set MyText to every paragraph of the front document
> quit myDoc
> end tell
> set allThis to "Creation Date " & createDate & "¬
>  Modification Date " & modDate & " " & MyText
> display dialog allThis
> end tell

Thanks so much Peter - that worked well!

I 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
-----------


-but the MyText didn't seem to copy - it had error = can't make {} into a
string

I also tried things like:
set MyText to select every paragraph
But that didn't work either

- sorry for the newbie questions

Is it possible to copy in MS word 2004?

--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]



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

  • Prev by Date: Re: Key Code For Option Key
  • Next by Date: Put a Folder in the Dock... Changes Between Tiger and Leopard?
  • Previous by thread: Re: AS newbie Filemaker question
  • Next by thread: Re: AS newbie Filemaker question
  • Index(es):
    • Date
    • Thread