From WikiChip
mirc/commands/comopen
< mirc‎ | commands
Revision as of 03:48, 1 December 2013 by David (talk | contribs) (Created page with "The '''/comopen command''' opens a COM connection to specified programmatic identifier with the assigned name. Your script should check $comerr a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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