Documentation

To make your own scripts, you can modify existing ones - or write new ones in AppleScript.
Here are a few good starting points for understanding how AppleScript works:

AppleScript Language Guide

AppleScript Guidebook: Essential Sub-Routines

AppleScript and Web Services

Making XML-RPC and SOAP Requests with AppleScript

ScriptWeb

The Do Shell Script Command


Also check out the following book, an excellent guide to scripting:
AppleScript: The Definitive Guide.

 

Scripting Phlink

Writing your own scripts? Make sure you read the documentation about Phlink's scripting hooks!

There is an entire section in our forum devoted to scripting Phlink. There, you will be able to discuss scripting-related issues with other Phlink scripters.

 

Hints and tips

Worried about security when triggering critical scripts? To ensure that only you can trigger them, just set Phlink to only run them when you are calling from your own cell phone, for instance.
Or, you can place all such scripts into a subfolder whose title is a long sequence of numbers - a sort of a password. Access to the scripts contained in the folder will only be possible by first entering the same exact sequence of numbers.
 

You can provide default actions to use when the caller types a sequence of digits which does not match any item. To do this, place a file named "default" (with the appropriate file extension) in the Phlink Items folder or inside one of its subfolders, as appropriate.
 

Once you enter a folder, you can navigate back up the folder hierarchy by pressing the # key without first typing a sequence of numbers (note: the option "Terminate commands with the # sign" must be turned on for this to work).
 

If the "Terminate commands with the # sign" option is turned off, pressing the # key clears the typed sequence and you can start retyping it.

 

Sharing your scripts

Now that you've written your own script, which adds new functionality to Phlink, you want to share it with others so that they too can take advantage of your useful creation? It's simple! Submit your script by emailing it to us, and we will consider it for inclusion in this section of our web site.

Make your Phlink unique. Enhance it with the resources created by Ovolab, as well as the ones contributed by other Phlink users.

Voicemail retrieval
Tools that let you browse through your voicemail messages and retrieve them remotely.
(3 items)
Greeting scripts
Scripts that change the way Phlink answers the phone.
(5 items)
Ringer scripts
Scripts that make Phlink answer calls after a variable number of rings.
(2 items)
Call notification
Tools that let Phlink notify you of incoming calls or new voicemail messages.
(8 items)
Dialing and contact management
Tools for dialing phone numbers, through Phlink, from many different applications.
(6 items)
Group dialing
Tools that automatically call groups of people for delivering prerecorded messages.
(1 item)
Call transfer
Transfer incoming calls to other phone numbers or extensions using these scripts.
(1 item)
Online caller lookup
Automatically perform online reverse lookups for caller ID.
(2 items)
Home automation, surveillance
Tools for monitoring or controlling your house, your Mac, and other devices remotely.
(3 items)
Databases
Examples of how Phlink can interact with databases.
(2 items)
Other
Miscellaneous scripts
(2 items)
Scripter tools
Information and snippets for Phlink scripters.
(8 items)
 
Voicemail retrieval
Tools that let you browse through your voicemail messages and retrieve them remotely.
 

Phlink Voice Mailbox Setup

The Phlink Voice Mailbox Setup utility allows you to create multiple voice mailboxes and record greetings. Each voice mailbox can have its own greeting and PIN code for retrieving voicemail remotely over the phone.
After entering your PIN code, you enter an administration menu where you can record new greetings, play back voicemail messages, and more.

 

Version: 3.5

Oct 15, 2007   

Author: Ovolab
 1.5 MB 

Phlink Message Centre

Phlink Message Centre is a browser-based interface to your Phlink call log and voicemail messages. With additional setup, PMC supports multiple mailboxes.

 

Version: 2.0

Jan 09, 2006   

Author: Rycardo
  

Phlink Web Access

Phlink Web Access is a companion application to Phlink. It provides a web-based interface for browsing your call log and play back voicemail messages remotely, by connecting to your Mac.

 

Version: 2.5

Apr 3, 2006   

Author: Jon C. Thomason
  

 
Greeting scripts
Scripts that change the way Phlink answers the phone.
 

Greeting based on Address Book group

Greets callers with a personalized greeting depending on the Address Book group they belong to.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 5 KB 

Greeting based on caller ID

Uses a different greeting based on various characteristics of the caller's phone number - such as the area code, or whether the caller ID is known or masked/withheld.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 6 KB 

Greeting telemarketers

Answers calls from telemarketers and plays a disconnect tone followed by a spoken message. The disconnect tone is meant to remove your phone number from the telemarketer's database.

 

Version: 1.0

Aug 22, 2007   

Author: Ovolab
 6 KB 

Greeting based on time of the day

Uses different greetings at different times of the day or days of the week.
By editing this script, you can implement your own schedule.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 5 KB 

Play random greeting

Greets callers with a random greeting by picking it from a folder of greeting files.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 4 KB 

 
Ringer scripts
Scripts that make Phlink answer calls after a variable number of rings, depending on various criteria.
 

Ring count based on caller ID

Answers calls after a different number of rings, depending on the caller's area code or whether the caller ID is known or masked/withheld.
This can be used in conjunction with the "Greeting based on caller ID" script, in order to immediately answer calls from people masking their caller ID (so that the phone will not keep ringing) and play a prerecorded message.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 3 KB 

Ring count based on time of the day

Answers calls after a different number of rings, depending on the time of the day or day of the week.
This can be used to change the ring count at night, so that callers get immediately sent to voicemail and the phone does not keep ringing.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 3 KB 

 
Call notification
Tools that let Phlink notify you of incoming calls or new voicemail messages in many different ways.
 

Announce callers by speaking their name

Announces incoming calls by speaking the caller's name (or number, if the name is not known) through the Mac's speakers.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 6 KB 

Ask callers to announce themselves

After answering calls, asks the callers to announce themselves and then plays the announcement over the Mac's speakers, while the caller is put on hold.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 12 KB 

Call notification using Growl

Uses Growl to broadcast caller ID information to other Macs or applications.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 5 KB 

Squeezebox caller ID

When a call comes in, pauses playback on the Squeezebox and displays the caller ID information on the Squeezebox's display.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 7 KB 

Call notification by email

Emails a message for every call that is received, without the recorded message as an attachment. Useful for sending simple, text-only, notifications to cell phones.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 3 KB 

Call notification by iChat

When a call comes in, sends a message to a predefined buddy with caller ID information.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 4 KB 

Call notification by SMS

Notifies you of new voicemail messages by sending a text message to a cell phone number.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 6 KB 

Voicemail notification by calling owner

Whenever a new voicemail message is recorded, this set of scripts calls you back on a predefined phone number and plays the message back.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 13 KB 

 
Dialing and contact management
Tools for dialing phone numbers, through Phlink, from many different applications; tools that integrate contact management applications with Phlink.
 

Show Address Book notes

When the phone rings, this script displays the notes associated to the caller (as entered in Mac OS X's Address Book) in Phlink's translucent ring window.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 3 KB 

Entourage lookup

This script automatically looks up the caller in Entourage when the phone rings.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 5 KB 

Dial from Entourage

This Entourage add-on script allows you to dial through Phlink directly from Entourage.

 

Version: 1.2

Dec 16, 2005   

Author: Ovolab
 12 KB 

Dial from Now Contact

This Now Contact add-on script allows you to dial through Phlink directly from Now Contact.

 

Version: 1.2

Feb 2, 2006   

Author: Ovolab
 7 KB 

Dial from FileMaker

This sample FileMaker databse shows how you can dial directly from a FileMaker database of contacts.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 38 KB 

iCal Alarm Dialer

Use this script to be notified, with a phone call, when an iCal alarm goes off.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 3 KB 

 
Group dialing
Tools that automatically call groups of people for delivering prerecorded messages.
 

Group dialer

This tool automatically dials all phone numbers in a specific Address Book group, and plays a prerecorded message.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 9 KB 

 
Call transfer
Transfer incoming calls to other phone numbers or extensions using these scripts.
 

Transfer calls to other number

This set of scripts puts the caller on hold while the call is transferred to another phone number or extension. The phone line must support call transfer by hookflashing, in order for this to work.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 9 KB 

 
Online caller lookup
Instantly perform a reverse lookup on the Internet, for each incoming call, and retrieve the name of the caller.
 

Online caller lookup (US)

Reverse lookup for US phone numbers.

 

Version: 1.2

Sep 7, 2006   

Author: Ovolab
 21 KB 

Online caller lookup (Italy)

Reverse lookup for italian phone numbers.

 

Version: 1.2

Sep 7, 2006   

Author: Ovolab
 21 KB 

 
Home automation, surveillance
Tools for monitoring or controlling your house, your Mac, and other devices remotely.
 

Indigo control

Add these scripts to your normal setup, so that you can call home and control your appliances through Indigo. You can also ask the status of various sensors and devices.

 

Version: 1.1

Sep 7, 2006   

Author: Perceptive Automation
 31 KB 

EyeTV control

Schedule recordings remotely over the phone, by simply calling home and entering a secret code.
If you forgot to tell EyeTV to record your favorite show, simply call Phlink and tell it to record it - at the desired time, on the desired channel.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 37 KB 

EvoCam control

Call home and enter a secret code, to have a snapshot taken from your camera using EvoCam. The snapshot can then be emailed to you or uploaded to a server as specified in EvoCam's settings.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 6 KB 

 
Databases
Examples of how Phlink can interact with databases: look up information and provide it to callers using speech synthesis, or collect information and store it in a database.
 

Collect information and store in FileMaker

When a call comes in, this set of scripts asks a predefined set of questions to the caller, who can answer by pressing keys on the telephone's keypad. Such answers are then stored in the FileMaker database.

 

Version: 1.0

Jan 31, 2005   

Author: Ovolab
 15 KB 

Look up callers and add call info to FileMaker

This script automatically looks up the caller in a FileMaker database when the phone rings.
When the call is over, information about the call is logged to a specific field in the same FileMaker database.

 

Version: 1.0

Jan 31, 2005   

Author: Ovolab
 22 KB 

 
Other
Miscellaneous scripts for various purposes, such as allowing callers to look up information on the Internet.
 

Upload2Remote

When a voicemail message is recorded, this script uploads the voicemail recording to a predefined FTP server.

 

Version: 1.1

Feb 6, 2004   

Author: Ovolab
 37 KB 

Web scripts

Use these scripts to look up information on the Internet (such as stock quotes, weather forecasts, and more) and speak it to the caller using speech synthesis.

 

Version: 1.1

Feb 6, 2004   

Author: Ovolab
 27 KB 

 
Scripter tools
Information and snippets for Phlink scripters.
 

Scripting hooks

A document describing all the hooks available to Phlink scripters, with information on when they are executed.

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 

Multiline

Scripts that detect on which phone line a call is, in a multiline setup. In this way, different greetings can be used on each phone line handled by Phlink.

 

Version: 1.2

Apr 5, 2007   

Author: Ovolab
 7 KB 

N-digit codes scripts

Example of how Phlink can request that the remote party enter a code with a fixed number of digits, without having to terminate the code by pressing the pound sign.

 

Version: 1.0

Sep 7, 2006   

Author: Ovolab
 185 KB 

Composite scripts

Use this script for triggering multiple scripts of the same kind at once (e.g. multiple ring scripts or multiple postprocess scripts).

 

Version: 1.1

Sep 7, 2006   

Author: Ovolab
 10 KB 

Inches-cm converter

An example of interaction with the caller: after entering a number of inches, this script converts it to centimeters and speaks the result back to the caller.

 

Version: 1.0

Feb 6, 2004   

Author: Ovolab
 4 KB 

Play voicemail as soon as it is recorded

An example of handling voicemail recordings: as soon as a call is received and a message is recorded, it is played through the Mac's speakers.

 

Version: 1.0

Feb 6, 2004   

Author: Ovolab
 2 KB 

Uptime

An example of triggering command-line tools remotely, and providing information back using speech synthesis.

 

Version: 1.0

Feb 6, 2004   

Author: Ovolab
 5 KB 

Psycho

An example of handling call recordings while the call is still taking place.

 

Version: 1.0

Feb 6, 2004   

Author: Ovolab
 5 KB