From WikiChip
Difference between revisions of "mirc/commands/comopen"
m (Bot: Fixing links) |
m (Bot: Fixing links) |
||
Line 1: | Line 1: | ||
− | The '''/comopen command''' opens a COM connection to specified programmatic identifier with the assigned name. Your script should check | + | 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. |
== Synopsis == | == Synopsis == | ||
Line 30: | Line 30: | ||
* [[List of commands - mIRC|List of commands]] | * [[List of commands - mIRC|List of commands]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
− | * | + | * {{mIRC|$com}} |
− | * | + | * {{mIRC|$comcall}} |
− | * | + | * {{mIRC|$comval}} |
* {{mIRC|/comclose}} | * {{mIRC|/comclose}} | ||
* {{mIRC|/comreg}} | * {{mIRC|/comreg}} |
Revision as of 19:22, 5 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