• 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: Print current record from FileMaker?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Smile crash
  • Next by Date: Re: Basic script blues ;-)
  • Previous by thread: Re: Print current record from FileMaker?
  • Next by thread: Basic script blues ;-)
  • Index(es):
    • Date
    • Thread