• 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: Peter Baxter <email@hidden>
  • Date: Fri, 23 Mar 2007 16:10:59 +1100

When calling for a layout from an external script. I often set the front most layout name to a variable ie. set variable $$Frontmost to get(CurrentLayoutName) at the start of the script to ensure that the script can always find the layout. Later, when you wish to find the layout again, you call the variable for the layout name instead of the layout name directly.
On opening your script you say go to layout "TheOneYouWant" and set the variable to this layout.


This is probably what you may need to do to successfully find the right layout in your script. It is very hard to know what faults your file may have without seeing them, however.
If you have Filemaker Advanced, you will have the ability to create a Database design report of your file in HTML of XML. Viewing this could help me spot the fault if you would like to send a copy of that.



Peter Baxter email@hidden

"Never ask a man what computer he uses. If it's a Mac, he'll tell you. If it's not, why embarrass him?" --Tom Clancy



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

  • Prev by Date: Re: last opened
  • Next by Date: Re: Open for access with write permission
  • Previous by thread: Re: FM 8 layout references w/applescript - works in one file, fails in five other identical files!
  • Next by thread: Scripting RagTime
  • Index(es):
    • Date
    • Thread