myPhoneDesktop Support
posted this on March 8, 2010, 04:05
Plug-in/script to integrate myPhoneDesktop with LaunchBar
Script support text, urls, addresses, phone numbers, and image files (JPEG, PNG, GIF). Scrip will also check if myPhoneDesktop is running and will check if "Enable access for assistive devices" option is turned ON in System Preferences | Universal Access. "Enable access for assistive devices" is required for UI scripting.
Note, this plug-in works on the following platforms:
Feel free to improve or extend this script.
Version Information: 2.0, released 03/03/2013
Comments
this makes myphone really usefull to me!
i use this script mainly for tel. number on webpages - which leads into the problem, that most website use symbols like "+","/"," -" and myphone does not recognize the text as tel. number. So i made a copy of the original script - renamed it (Send tel to myphone desktop) and added some extra lines at the beginning of the script – just under on handle_string(theString). I did attach my script...
[code]
set AppleScript's text item delimiters to "!"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to "+"
set theString to (text items of theString)
set AppleScript's text item delimiters to "00"
set theString to (theString as string)
set AppleScript's text item delimiters to "-"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to "–"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to "?"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to "/"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to ":"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to ";"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to "(0)"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
set AppleScript's text item delimiters to "#"
set theString to (text items of theString)
set AppleScript's text item delimiters to ""
set theString to (theString as string)
[/code]
matthias
as I understood, it does not work on OS X Lion. Are you going to make it work?
works fine for me on Lion...