Dialectic After Dialing Scripts

Introduction
In the dialing preferences, you can designate an AppleScript or application to run after dialing. If you designate an AppleScript, you can configure your system as necessary to prepare it for a successful or failed call (e.g., if the call fails, send an email, run your own redial script, etc.).

To create a script to use after dialing, simply create a new AppleScript in the Script Editor (or the AppleScript IDE of your choice) and include the following subroutine (adding your own call handling code, of course):

on handle_after_dial_action(contact_number, contact_name, call_type, dial_method, transformed_number, call_success)
	try
		
		-- do something here...
		
	on error the_error
		activate
		display dialog "Error: " & the_error buttons {"OK"} default button 1 with icon 0 giving up after 20
	end try
end handle_after_dial_action

Save your script as a compiled AppleScript. Then, in the Dialing preferences, set the script you created as the script to use after dialing.

Any feedback you may have is appreciated.

Requirements
Mac OS X 10.4 or later & Dialectic

Warranty
This software is provided on an “AS IS” basis, without warranty of any kind, either expressed or implied, including, without limitation, warranties that the subject software is free of defects, merchantable, fit for a particular purpose or non-infringing. JNSoftware LLC assumes no risk as to the quality and performance of the software. Should the software prove defective in any respect, JNSoftware LLC assumes no cost or liability for any servicing, repair or correction. This disclaimer of warranty constitutes an essential part of this license. No use of any subject software is authorized hereunder except under this disclaimer.

Under no circumstances and under no legal theory, whether tort (including, without limitation, negligence or strict liability), contract, or otherwise, shall JNSoftware LLC be liable for any direct, indirect, special, incidental, or consequential damages of any character with respect to the software including, without limitation, damages for loss of goodwill, work stoppage, loss of data, computer failure or malfunction, or any and all other commercial damages or losses, even if JNSoftware LLC shall have been informed of the possibility of such damages. This limitation of liability shall not apply to liability resulting from JNSoftware LLC’s negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so that exclusion and limitation may not apply to you.

You may distribute this software so long as you distribute the complete package including this Read Me document.

Copyright © 2011 JNSoftware LLC. All Rights Reserved.