re: Print current record from FileMaker?
re: Print current record from FileMaker?
- Subject: re: Print current record from FileMaker?
- From: David Crowe <email@hidden>
- Date: Sun, 27 Mar 2005 15:00:54 -0700
Title: re: Print current record from
FileMaker?
Erkki;
A record is composed of cells (fields), so something like:
tell application "FileMaker 7"
every cell
of current
record
of window "Application Serial Numbers"
end
tell
... will get you a list something like the following...
{"Startly",
"QuicKeys", "3.0.1", "7150395",
"***********", "", "",
"********"}
Do you want every field in
the order that FileMaker decides, or do you want only some fields.
What about something like...
tell application "FileMaker 7"
set
{LicenseName, ProductID}
to {cell "License Holder Name",
cell "Product ID"}
of current
record
of window "Application Serial Numbers"
end
tell
display dialog "License name = " & LicenseName & "product id=" & ProductID
Now you have each field of the record as a separate AppleScript
variable and you should be able to do anything you want with
them.
- David Crowe
_______________________________________________
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