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

m (bot: correcting title)
m (Bot: de-linking old mIRC menu)
Line 1: Line 1:
{{mirc title|/comclose Command}}{{mIRC menu}}
+
{{mirc title|/comclose Command}}
 
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.
  

Revision as of 19:13, 15 June 2017

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 Apr 2001
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also

[Expand]
v · d · e mIRC commands list