More fun with FileMaker 7...
More fun with FileMaker 7...
- Subject: More fun with FileMaker 7...
- From: David Crowe <email@hidden>
- Date: Mon, 3 Jan 2005 15:50:41 -0700
Title: More fun with FileMaker 7...
I would just like to correct something that I recently said to a
couple of people ... the "tell window" statement is
necessary (instead of "tell database") in FileMaker 7, but
the "tell layout" statement is necessary in order to modify
fields (you can read data without it apparently).
Consequently, something like this will work:
tell application "FileMaker Developer"
tell
window "AIDS
References"
tell
layout "Layout 2 -
Standard"
set
cell
"file" of
the current
record
to
"TSUS.pdf"
end
tell
end
tell
end tell
It will not work without the three levels of 'tell' statements,
but the following scriptlet that only reads data will work without
'tell layout':
tell application "FileMaker Developer"
tell
window "AIDS
References"
cell "file" of the current record
end tell
end tell
This doesn't make a whole pile of sense to me, but those are the
results I have found.
The nice thing about it is that I think that this would be
compatible with FileMaker 6.
- David Crowe
P.S. Note that the following also did not work, for
reasons that I don't understand:
tell application "FileMaker Developer"
set
cell
"file" of
the current
record
of layout "Layout 2 -
Standard"
of window "AIDS
References"
to
"TSUS.pdf"
end tell
The error is 'Data is being accessed by another user, script, or
transaction'.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden