• 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
Mea Culpa (correction)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mea Culpa (correction)


  • Subject: Mea Culpa (correction)
  • From: David Crowe <email@hidden>
  • Date: Fri, 02 Dec 2016 16:27:56 -0700

My apologies, I should have done more testing.


The following code does not work (same as before):
tell application "FileMaker Pro Advanced" to tell layout "Temporary Folder Contents"
tell (create new record)
set {cell "thePrefix", cell "theNumber", cell "thePartLetter", cell "theRevision", cell "FileName", cell "theRest", cell "theExtension", cell "AttachmentType", cell "FileSize", cell "Contributor"} to {theprefix, theNumber, thePartLetter, theRevision, theFileName, theRest, theExtension, theKind, item i of theFolderSizeList, theContributor}
end tell
end tell


The newly created record is the last record not the current record:

tell application "FileMaker Pro Advanced" to tell layout "Temporary Folder Contents"
create new record
tell last record
set {cell "thePrefix", cell "theNumber", cell "thePartLetter", cell "theRevision", cell "FileName", cell "theRest", cell "theExtension", cell "AttachmentType", cell "FileSize", cell "Contributor"} to {theprefix, theNumber, thePartLetter, theRevision, theFileName, theRest, theExtension, theKind, item i of theFolderSizeList, theContributor}
end tell
end tell



Hope I didn’t confuse anyone.

- 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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: New FileMaker AppleScript Problem
  • Next by Date: Re: [ANN] Myriad Tables update
  • Previous by thread: New FileMaker AppleScript Problem
  • Next by thread: Re: [ANN] Myriad Tables update
  • Index(es):
    • Date
    • Thread