Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Messenger/Methods/Phone: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23:46:07 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/messenger/methods/Phone.htm --> | <!-- Generated @ 08/12/2022 23:46:07 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/messenger/methods/Phone.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Messenger/Index|Messenger]].Phone Method = | ||
Displays the MSN® Messenger <span class="clsUIElement">Phone Dialer</span> dialog box. If a valid phone number is given as a parameter, the dialog box displays the value as the default phone number. | Displays the MSN® Messenger <span class="clsUIElement">Phone Dialer</span> 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 | === VBScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
<pre class="clsCode">' Open Messenger Phone Dialer | <pre class="clsCode">' Open Messenger Phone Dialer | ||
external.Messenger.Phone | external.Messenger.Phone</pre> | ||
</div> | </div> | ||
JavaScript Syntax | === JavaScript Syntax === | ||
<div class="clsCodeIndent"> | <div class="clsCodeIndent"> | ||
<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> | ||
Parameters | === Parameters === | ||
; Phone | ; Phone | ||
: A string value of a default phone number. | : A string value of a default phone number. | ||
Return Values | === Return Values === | ||
No return value. | No return value. | ||
Remarks | === Remarks === | ||
An exception is thrown if the <span class="clsUIElement">Phone Dialer</span> dialog box cannot be displayed because another dialog box is already on the screen. | An exception is thrown if the <span class="clsUIElement">Phone Dialer</span> dialog box cannot be displayed because another dialog box is already on the screen. |
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.