From WikiChip
Difference between revisions of "mirc/commands/comclose"
m (Correct typo.) |
m (Fix dead link) |
||
Line 2: | Line 2: | ||
The '''/comclose command''' closes an existing [[Component Object Model - mIRC|COM connection]] by a specific handle. | 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 | + | The supplied com handle must have been previously created via the {{mIRC|/comopen}} command or the {{mIRC|$com}}/{{mIRC|$comcall}} identifiers. |
== Synopsis == | == Synopsis == |
Latest revision as of 09:50, 13 February 2024
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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]
mIRC commands list