• 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: Pulling Data from AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pulling Data from AppleScript


  • Subject: Re: Pulling Data from AppleScript
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Wed, 16 Dec 2015 13:30:01 +1300


On 16/12/2015 1:15 pm, Jon Rosen wrote:
I had tried “Tell Window 1 of table “REQ__Requests__Request_Items,” but that didn’t work either.

Jon


Read the dictionary for advice on which elements contain or are contained by others. A document contains windows and tables. A window contains layouts. You can access tables through a window but you can't access a window through a table.


tell application "FileMaker Pro Advanced"
    set windowList to name of every window
end tell


tell application "FileMaker Pro Advanced"
    tell window 1
        name of current layout
        name of current table
        current record
    end tell
end tell

Malcolm



On Dec 15, 2015, at 4:05 PM, Malcolm Fitzgerald <email@hidden> wrote:

Current Record is a property of a window, which is contained by a document.

When you address an element of a window you'll get the value of current record.

Malcolm
_______________________________________________
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

_______________________________________________
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


References: 
 >Re: Pulling Data from AppleScript (From: "email@hidden" <email@hidden>)
 >Re: Pulling Data from AppleScript (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Pulling Data from AppleScript
  • Next by Date: Re: AS Library Question
  • Previous by thread: Re: Pulling Data from AppleScript
  • Next by thread: Re: Pulling Data from AppleScript
  • Index(es):
    • Date
    • Thread