CLIC TO CALL AVEC CARNET D'ADRESSE
je cherche à faire un click to call sur une url pour faire sonner mon telephone
merci de votre aide car mon script ne marche pas
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| using terms from application "Contacts"
on action property
return "phone"
end action property
on should enable action for thePerson with theEntry
if theEntry ≠ missing value then
return true
else
return false
end if
end should enable action
on action title for thePerson with theEntry
return "Dial with My Phone"
end action title
on perform action for thePerson with theEntry
set telephone to the value of theEntry
open location "http://sip.gen-ip.fr/c2d/callV3.php?login=C2D_xxxx&password=xxxx&account=xxxx&called=" & telephone
end perform action
end using terms from |