![]() ![]() How to configure QuickSilver to pick up the script is left as an exercise for the readers who have QuickSilver installed. To use the script as an action for QuickSilver simply remove the comments from the lower block mentioning QuickSilver. You can also simply add the above script to a directory that your LaunchBar scans for scripts and use it via "Tab" on items allowing you to use it on everything not just Address Book phone numbers. Skype should now start and dial the number.Use Launch Bar to find a contact's phone number and press Enter.Set "Phone Numbers" action to the file you saved in Step 1.Copy the above script and save it with Apple Script Editor in your favorite script location (I use DropBox to share scripts such as this between machines).Using terms from application "QuickSilver" Set AppleScript's text item delimiters to tid Set AppleScript's text item delimiters to t Send command bridge & " " & tone script name "s2" Repeat with tone in the characters of dtmf Repeat with dtmf in the items of dtmf_parts Set bridge to "ALTER CALL " & skype_call_id & " DTMF " Set skype_call_id to word 2 of active_call Set active_call to send command "CALL " & phone_number script name "s2" Set dtmf_parts to items 2 through -1 of parts Set num to replace_string(num, "%23", "#") (* replace %23 with # since launchBar seem to force encoding of numbers *) (* remove any spaces in the number otherwise Skype won't make the call *) Set num to (text ((count "tel:") + 1) thru -1 of num) Set pause_wait to 2 (* seconds to wait for a pause *) Set pause_char to "," (* character used to indicate a pause *) Set dtmf_wait to 0.2 (* seconds to wait between sending DTMF tones *) ![]() Set connect_wait to 10 (* seconds to wait before sending additional tones *) Now I've updated the script to be able to use directly from LaunchBar (or other launchers) as the dial action for contact book entries. I've been pretty happy with my previous Service Apple script to dial a specific conference call bridge, but as I started having to use more it got too annoying to add a script per specific numbers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |