From WikiChip
Difference between revisions of "mirc/commands/comopen"
m (Bot: Fixing compatibility) |
m (Bot: Adding a template) |
||
Line 1: | Line 1: | ||
+ | {{mIRC menu}} | ||
The '''/comopen command''' opens a COM connection to specified programmatic identifier with the assigned name. Your script should check {{mIRC|$comerr}} after opening the connection to make sure the connection was established successfully. | The '''/comopen command''' opens a COM connection to specified programmatic identifier with the assigned name. Your script should check {{mIRC|$comerr}} after opening the connection to make sure the connection was established successfully. | ||
Revision as of 22:36, 28 July 2014
Template:mIRC menu The /comopen command opens a COM connection to specified programmatic identifier with the assigned name. Your script should check $comerr after opening the connection to make sure the connection was established successfully.
Synopsis
/comopen <name> <progid>
Switches
None
Parameters
- <name> - Connection name to be used
- <progid> - Programmatic Identifier
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
mIRC commands list