From WikiChip
Difference between revisions of "mirc/commands/comopen"
(Created page with "The '''/comopen command''' opens a COM connection to specified programmatic identifier with the assigned name. Your script should check $comerr a...") |
m (Bot: Adding a template) |
||
Line 35: | Line 35: | ||
* [[/comclose command - mIRC|/comclose]] | * [[/comclose command - mIRC|/comclose]] | ||
* [[/comreg command - mIRC|/comreg]] | * [[/comreg command - mIRC|/comreg]] | ||
+ | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:MIRC commands]] |
Revision as of 20:26, 3 July 2014
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/04/2001
Note: Individual switches were not taken into consideration.
See also
mIRC commands list