<div>Hi all,</div>
<div> </div>
<div>Am learning Scheme, and computing in general, through using it. Would anyone dispense a few pointers on how to control an application through COM with MysterX?</div>
<div> </div>
<div>I have some prior experience in using Python's win32com.client, and hope a comparison here is not a faux pas. To launch Excel and write "hello" to a cell, Python would be</div>
<div> </div>
<div>o = win32com.client.Dispatch("Excel.Application");</div>
<div>o.Visible = 1;</div>
<div>o.Workbooks.Add();</div>
<div>o.Cells(1, 1).Value = "hello";</div>
<div> </div>
<div>I did this with MysterX:</div>
<div> </div>
<div>(define ex (cci/progid "Excel.Application.11"))<br>(com-set-property! ex "Visible" #t)<br>(define c (com-invoke (com-get-property ex "Workbooks") "Add"))<br> </div>
<div>But could not get to the step of the equivalent of "o.Cells(1, 1).Value." I could not find "Cells" with either "com-methods" or "com-get-properties." Also, how is "o.Cells
(1, 1)" expressed in MysterX? Is it "(list "Cells" 1 1)"?</div>
<div> </div>
<div>Thansk,</div>
<div>Tzeta</div>