From WikiChip
Difference between revisions of "mirc/commands/comopen"
m (PatrolBot moved page /comopen command - mIRC to mirc/commands/comopen: per new naming convention) |
m (bot: correcting title) |
||
Line 1: | Line 1: | ||
− | {{mIRC menu}} | + | {{mirc title|/comopen Command}}{{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 04:03, 4 January 2015
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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