• 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: 300% speed discrepancy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 300% speed discrepancy


  • Subject: Re: 300% speed discrepancy
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Thu, 9 Oct 2003 10:20:54 +1000

On 10/7/2003 5:00, "christian vick" <email@hidden> wrote:

> Example: A script which works with Filemaker. Front application is:
- Script = fasted speed
- Finder = medium speed
- Filemaker = lowest speed

Last time I ran Filemaker scripts (Mac OS 9...before I retired Claris
Emailer), there was also a benefit to sliding the Filemaker window mostly
off screen to hide the display updating while inserting records.

I don't know whether that carries over into the modern world, or not.

Filemaker has always worked fastest when it's windows are hidden, not by sliding them off the side of the visible screen, though that may help.

Other factors include the number of objects, especially fields, on the current layout, the current "view" of the layout. So, go to a blank layout with no fields on it, perform the script, return to the original layout.

Toggle Window [Hide] Script Step.
Go to Layout [Blank Screen]
View as [View as Form]
Perform AppleScript[ "Tell Application..."]
Go to Layout [Original Layout]
Refresh Window [Bring to Front]

For applescripts, FMP compiles AS when it can. It can't compile scripts which are built from fields until the moment of execution, so that slows down performance. Especially if the script is generated by a calculation and you are looping through the records to have a different script run for each record. Far quicker to have a script object kept in Application Support Folder which is called to operate on the list.



--
--
Malcolm Fitzgerald email@hidden
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: 300% speed discrepancy (From: "John W. Baxter" <email@hidden>)

  • Prev by Date: Re: default arguments/parameters
  • Next by Date: Re: Finding RGB Images in QXP via script
  • Previous by thread: Re: 300% speed discrepancy
  • Next by thread: "mount disk" and ftp problem
  • Index(es):
    • Date
    • Thread