From WikiChip
/comopen Command - mIRC
< mirc‎ | commands
Revision as of 19:13, 15 June 2017 by ChippyBot (talk | contribs) (Bot: de-linking old 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

[Expand]
v · d · e mIRC commands list