• 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 09:50:04 -0700
  • Thread-topic: AS newbie Filemaker question

On 3/11/2008 3:36 AM, "Peter Baxter" <email@hidden> wrote:

> Hi,
>
> In that case, you can write the script entirely independent of
> Filemaker and test it from Script Editor.
> I would have thought that you would not need to open the file to get
> the modification date or the creation date of the file either.
>
> tell application "Finder"
> set myDoc to alias "Macintosh HD:Users:Myself:Documents:Ankor Wat
> reproduced at the Grand Palace,...kmz"
> set modDate to the modification date of myDoc
> set createDate to the creation date of myDoc
> set allThis to "Creation Date " & createDate & "¬
>  Modification Date " & modDate
> display dialog allThis
> end tell


Thanks Peter that worked great!

Q: Is it also possible to extract (copy) the file contents (all the text)
into a variable?

I tried:

set getstuff to the contents of myDoc
display dialog getit as string


.... But that didn't work - no error, but it just showed the path for some
reason

There are 3 formats I am working with
1- .txt
2- .doc
3- .pages


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

  • Prev by Date: Key Code For Option Key
  • Next by Date: Re: Error -609 and Filemaker
  • Previous by thread: Re: AS newbie Filemaker question
  • Next by thread: Re: AS newbie Filemaker question
  • Index(es):
    • Date
    • Thread