• 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: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!


  • Subject: Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Tue, 27 Feb 2007 11:09:38 +1100


On 27/02/2007, at 3:50 AM, Bruce Robertson wrote:

The fact that the "Get(LayoutName)" function fails to return anything
for any layout in any file I find the most disturbing.  I have a
calculation field that calls that function and returns the result as
text.  I don't see how that could fail.

Is there at least one record? I would expect this failure if there are no
records.

Bruce?

A layout is an element of application via window or document/database. As a layout is a compulsory element of a filemaker database I would expect that the only way there is no layout is if there is no open databases.

I've just created a new database. It has no fields and no records, it has a table and a layout. The application made them. When I run a scriptmaker script 'if get(layoutname) = "untitled" then beep' I hear a beep.

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
References: 
 >Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files! (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
  • Next by Date: Re: [OT] AppleScripter's Salary
  • Previous by thread: Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
  • Next by thread: newbie asks: Where do I begin?
  • Index(es):
    • Date
    • Thread