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

m (Bot: Fixing links)
m (Fix dead link)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The '''/comclose command''' closes an existing [[Component Object Model (COM) - mIRC|COM connection]] by a specific handle.
+
{{mirc title|/comclose Command}}
 +
The '''/comclose command''' closes an existing [[Component Object Model - 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 {{mIRC|$com}}/{{mIRC|$comcall}} identifiers.
+
The supplied com handle must have been previously created via the {{mIRC|/comopen}} command or the {{mIRC|$com}}/{{mIRC|$comcall}} identifiers.
  
 
== Synopsis ==
 
== Synopsis ==
  /comclose <hname>
+
  /comclose <name>
  
 
== Switches ==
 
== Switches ==
Line 22: Line 23:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v5.9
+
{{mIRC compatibility|5.9}}
 
 
Added On: 26/04/2001
 
 
 
<small>Note: Individual switches were not taken into consideration.</small>
 
  
 
== See also ==
 
== See also ==
Line 38: Line 35:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|comclose command - mIRC]]

Latest revision as of 10:50, 13 February 2024

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[edit]

/comclose <name>

Switches[edit]

None

Parameters[edit]

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

Example[edit]

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

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC commands list