From WikiChip
Difference between revisions of "mirc/commands/comopen"
m (Bot: Adding a template) |
m (Bot: Fixing links) |
||
Line 33: | Line 33: | ||
* [[$comcall identifier - mIRC|$comcall]] | * [[$comcall identifier - mIRC|$comcall]] | ||
* [[$comval identifier - mIRC|$comval]] | * [[$comval identifier - mIRC|$comval]] | ||
− | * | + | * {{mIRC|/comclose}} |
− | * | + | * {{mIRC|/comreg}} |
{{mIRC command list}} | {{mIRC command list}} | ||
[[Category:MIRC commands]] | [[Category:MIRC commands]] |
Revision as of 18:34, 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