From WikiChip
Difference between revisions of "mirc/commands/comclose"
< mirc‎ | commands

(Created page with "The '''/comclose command'' closes an existing COM connection by a specific handle. The supplied com handle must have been previously c...")
 
(fixed formatting error manually)
Line 1: Line 1:
The '''/comclose command'' closes an existing [[Component Object Model (COM) - mIRC|COM connection]] by a specific handle.
+
The '''/comclose command''' closes an existing [[Component Object Model (COM) - mIRC|COM connection]] by a specific handle.
  
 
The supplied com handle must have been previously created via the [[/comopen command - mIRC|comopen command]] or the [[$com identifier - mIRC|$com]]/[[$comcall identifier - mIRC|$comcall]] identifiers.
 
The supplied com handle must have been previously created via the [[/comopen command - mIRC|comopen command]] or the [[$com identifier - mIRC|$com]]/[[$comcall identifier - mIRC|$comcall]] identifiers.
 
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 03:42, 1 December 2013

The /comclose command closes an existing COM connection by a specific handle.

The supplied com handle must have been previously created via the comopen command or the $com/$comcall identifiers.

Synopsis

/comclose <hname>

Switches

None

Parameters

  • <name> - The name of the connection to close

Example

Alias Example {
  ;Create a WshShell object 
  comopen Example wscript.shell
 
  ;Destroy object
  comclose Example
}

Compatibility

Added: mIRC v5.9

Added On: 26/04/2001

Note: Individual switches were not taken into consideration.

See also