• 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: FileMaker/AppleScript Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileMaker/AppleScript Question


  • Subject: Re: FileMaker/AppleScript Question
  • From: email@hidden (Lorenz Wieland)
  • Date: Thu, 14 Mar 2002 08:11:49 +0100

Am Mittwoch den, 13. Mdrz 2002, um 19:58, schrieb Kenneth Kirksey:

I have an AppleScript that updates our web databases from data in the production databases each night. Here's a code fragment:

with timeout of 1800 seconds
tell application "FileMaker Pro"
go to document "RadioStationsWeb.fp5"
delay 3
do script FileMaker script "Update Radio Stations"
end tell
end timeout

I have six databases to update, and they all use basically the same code.

I was under the impression, which appears to be mistaken, that execution of the script would stay in the with timeout structure until either the operation finished or the timeout was reached.

Hallo ken,
I do not know what the script does for you. I have an scheduled import for file-synchronisation an the followed script worked good for me:

with timeout of 10000 seconds
get window "Aktivitdten.fp5"
do script (FileMaker script "Datenabgleich Import mit Detektor" of database ,
"Aktivitdten.fp5") --whose name begins with "Datenabgleich Import mit Detektor")
delay 4
repeat while name of current layout is not "Listenansicht"
delay 1
end repeat
end timeout

the FileMaker-Script "Datenabgleich Import mit Detektor" starts with another layout, at end it went to "Listenansicht". You can also use in the AS-Script the segment:

repeat while window "Import" exists
delay 1
end repeat

The reason: when FileMaker imports or export Data there is an Messagewindow in front with the specific name and a progressbar.

Lorenz Wieland
Germany
_______________________________________________
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.

  • Prev by Date: URL Access Error codes
  • Next by Date: Re: Crunch numbers
  • Previous by thread: FileMaker/AppleScript Question
  • Next by thread: long path error in Finder -- known bug?
  • Index(es):
    • Date
    • Thread