Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Messenger/Methods/Phone: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) No edit summary |
Animadoria (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
<pre class="clsCode">' Open Messenger Phone Dialer | <pre class="clsCode">' Open Messenger Phone Dialer | ||
external.Messenger.Phone | external.Messenger.Phone</pre> | ||
</div> | </div> | ||
Line 20: | Line 19: | ||
<pre class="clsCode">// Open Messenger Phone Dialer | <pre class="clsCode">// Open Messenger Phone Dialer | ||
window.external.Messenger.Phone(); | window.external.Messenger.Phone();</pre> | ||
</div> | </div> |
Latest revision as of 02:02, 13 August 2022
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.