Hi Folks,
I’m an applescript newbie and can use some help…
using Filemaker Pro 9
Currently I have a bunch of text files (3 formats - .txt .dox .pages) in a specific directory.
I have a Filemaker file with the doc titles already in the field called ‘TITLE’
I would like to write a FM script using applescript to:
1 - open the file on disk
2 - extract the modified date
3 - extract the creation date
I can handle the Filemaker script stuff but I’m having trouble with the perform applescript part…
Now I have this almost working an a AS ! outside (for now)! of FMP:
tell application "FileMaker Pro"
set visible of window "Titles" to true
set mypath to "myDrive:myFolder:" & the contents of cell "Titles::title"
end tell
tell application "Finder"
activate
open file mypath as string
end tell
But I get the error - can’t make mypath into a string…
Q: How can I fix this? Also can someone tell me how to extract the modified & creation date? like:
set thecreation to xxx???
set themod to xxx???