1 COM Methods and Properties
MysterX allows scripting of most COM components from Racket. A COM component can be scripted in MysterX if it supports OLE Automation via the IDispatch interface, and if it publishes type information using the ITypeInfo interface.
procedure
(com-all-coclasses) → (listof string?)
procedure
(com-all-controls) → (listof string?)
procedure
(cocreate-instance-from-coclass coclass [ where]) → com-object? coclass : string? where : (or/c (one-of/c 'local 'remote) string?) = 'local
procedure
(cci/coclass coclass [where]) → com-object?
coclass : string? where : (or/c (one-of/c 'local 'remote) string?) = 'local
The optional argument where indicates a for running the instance, and may be 'local, 'remote, or a string indicating a machine name. See Remote COM servers (DCOM) for more information.
procedure
(cocreate-instance-from-progid progid [ where]) → com-object? progid : string? where : (or/c (one-of/c 'local 'remote) string?) = 'local
procedure
(cci/progid progid [where]) → com-object?
progid : string? where : (or/c (one-of/c 'local 'remote) string?) = 'local
procedure
(com-get-active-object-from-coclass coclass) → com-object?
coclass : string?
procedure
(gao/coclass coclass) → com-object?
coclass : string?
procedure
obj : com-object?
procedure
obj : com-object?
procedure
(set-coclass! obj coclass) → void?
obj : com-object? coclass : string?
procedure
(set-coclass-from-progid! obj progid) → void?
obj : com-object? progid : string?
procedure
(com-methods obj/type) → (listof string?)
obj/type : (or/c com-object? com-type?)
procedure
(com-method-type obj/type method-name) → (listof symbol?)
obj/type : (or/c com-object? com-type?) method-name : string?
procedure
(com-invoke obj method-name v ...) → any/c
obj : com-object? method-name : string? v : any/c
procedure
(com-get-properties obj/type) → (listof string?)
obj/type : (or/c com-object? com-type?)
procedure
(com-get-property-type obj/type property-name) → (listof symbol?) obj/type : (or/c com-object? com-type?) property-name : string?
procedure
(com-get-property obj property ...+) → any/c
obj : com-object? property : string?
procedure
(com-set-properties obj/type) → (listof string?)
obj/type : (or/c com-object? com-type?)
procedure
(com-set-property-type obj/type property-name) → (listof symbol?) obj/type : (or/c com-object? com-type?) property-name : strig?
procedure
(com-set-property! obj string? ...+ v) → void?
obj : com-object? string? : property v : any/c
procedure
obj/type : (or/c com-object? com-type?) topic : string? = ""
procedure
(com-object-eq? obj1 obj2) → boolean?
obj1 : com-object? obj2 : com-object?
procedure
(com-object? obj) → boolean?
obj : com-object?