[X-Post] Triggering a FileMaker Script with AppleScript
[X-Post] Triggering a FileMaker Script with AppleScript
- Subject: [X-Post] Triggering a FileMaker Script with AppleScript
- From: email@hidden
- Date: Mon, 8 Mar 2010 11:59:56 -0800
I'm not sure which way to look at this problem - from AppleScript or FileMaker, so I'm cross-posting.
I have an AppleScript that is triggered by Dialectic that performs a find in my FileMaker invoices db (see below). It works nicely except for one thing. If I'm in ScriptMaker or any of the define areas (i.e. Define Database), or if another script is running, then the FMP global fields are not populated with the phone call info.
Is there a way that I can 'save' the AppleScript variables if FMP is 'busy' to use them when it becomes free? How would AS know if FMP is busy, and to proceed when or if it's not?
Mac OS 10.6.2 FMPA 8.5
on handle_incoming_call_action(contact_name, contact_number, phone_or_modem_name) try tell application "FileMaker Pro Advanced" activate go to database "Call Log" -- brings the named db to the front
set data cell "g_Dialectic_Number" of table "Call_Log" to contact_number set data cell "g_Dialectic_Name" of table "Call_Log" to contact_name
go to database "Invoices"
do script FileMaker script "Dialectic Caller ID Lookup"
end tell end try
end handle_incoming_call_action |
_______________________________________________
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