Toon posts:

ABDisler script voor Filemaker Pro

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hierbij een handig dialscript voor gebruik in Filemaker Pro met ABDialer. Het is een verbeterd script op basis van het ABDialer Testscript van Macron Software.

(*
ABDialer dial Script for Filemaker Pro

Winfried Deijmann - 2007. This script is a modified version of ABDialer Test Script

Dial a phone number using ABDialer

Note: The fieldnames "Telefoonnummer" and "Telefoonnummer1" have to be changed into the actual fieldname.

*)
tell application "FileMaker Pro Advanced"
set num to ""
repeat
try
if name of current cell of front window contains "Telefoonnummer" then
set num to current cell of front window
else
set num to cell "telefoonnummer 1" of front window
end if
if num is not "" then
tell application "ABDialer"
dial num
exit repeat
end tell
else
display dialog "The phone number field cannot be left blank."
end if
on error number error_number
if the error_number is -128 then error number -128
beep
display dialog "ABDialer was unable to dial the phone."
end try
end repeat
end tell

[ Voor 4% gewijzigd door Verwijderd op 13-12-2007 23:59 ]