• 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: Tue, 11 Mar 2008 21:36:03 +1100

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



On 11/03/2008, at 4:30 PM, revDAVE wrote:

On 3/10/2008 10:07 PM, "Peter Baxter" <email@hidden> wrote:

HI,

Instead of your answer, a few questions:

1.  Are these files stored in the database, or is a reference to the
original file kept?
2.  Do you import the files into the database using a script?

The reason I ask these questions is that you will have a different
answer based on the location of the original file.
A reference to the file leaves it in the original location on the hard
drive. Storing the file in the database gives you a different
location for the copy of the file that is in the database.
Filemaker gives you the option of one, or the other methods of storage.

Currently all the files are independent of Filemaker and all are stored in a
directory:


file:///Volumes/myDrive/myFolder/

There is no 'FMP' reference (that would come from an FMP import)....

I simply created many records each with a file name title like:

My file 1.txt
My other file.txt
This name.doc

Etc....

So I have the path & I have the filename - but that's it for now


I hope that helps...




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



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


This email sent to email@hidden

"Success is the ability to go from one failure to another with no loss of
enthusiasm." -- Sir Winston Churchill


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: AS newbie Filemaker question
  • Next by Date: Re: Uninstall script
  • Previous by thread: Re: AS newbie Filemaker question
  • Next by thread: Re: AS newbie Filemaker question
  • Index(es):
    • Date
    • Thread