|
|
Dialing - a more customizable route
You could modify the Script portion to make it even less work. No need to copy a field's value to the clipboard, and thus remove whatever was in it already (which you may have wanted). Instead, get the value right from the field itself. I also put the prefix into a variable. Now, to make this work with your database, all you need to do is put in the prefix and the phone field's name at the beginning of the script below
-- change what's in the quotes below
property thePrefix: "YOUR PREFIX"
property thePhoneFieldName: "YOUR PHONE FIELD NAME"
tell application "FileMaker Pro"
activate
set theNumber to thePrefix & (cell thePhoneFieldName of current record)
ignoring application responses
tell application "Internet Connect" to connect¬
configuration "Telephone" to telephone number thenumber
end ignoring
display dialog thenumber & return & "Dialing in Progress: Disconnect?"¬
buttons {"Disconnect"} default button 1 giving up after 10
tell application "Internet Connect" to disconnect configuration "Telephone"
end tell
Dialing - a more customizable route
This didn't work for me - I got a message from Internet Connect saying:
Dialing - a more customizable route
I got the message that "The connection has failed because you have not entered a telephone number".
Panther AppleScript bug
There's just one problem with this--it doesn't work in Panther. Last year I wrote a RealBASIC program to let my users easily select from a list of our ISP's access numbers. It then uses AppleScript to send the number over to Internet Connect for dialing. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.48 seconds |
|