Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Messenger/Methods/Phone
Jump to navigation
Jump to search
Messenger.Phone Method
Displays the MSN® Messenger Phone Dialer dialog box. If a valid phone number is given as a parameter, the dialog box displays the value as the default phone number.
VBScript Syntax
' Open Messenger Phone Dialer external.Messenger.Phone
JavaScript Syntax
// Open Messenger Phone Dialer window.external.Messenger.Phone();
Parameters
- Phone
- A string value of a default phone number.
Return Values
No return value.
Remarks
An exception is thrown if the Phone Dialer dialog box cannot be displayed because another dialog box is already on the screen.
After it has been displayed, the dialog box can be controlled only by the user. The application cannot directly make changes or initiate dialing from the Phone Dialer dialog box.
If no parameter is supplied, the Phone Dialer dialog box appears and waits for user input.