OLE automation: Difference between revisions

no edit summary
m (links to wikipedia)
No edit summary
Line 6:
 
=={{header|AutoHotkey}}==
{{libheader|ComDispatch}} by [http://www.autohotkey.com/forum/author-fincs.html fincs]: [http://www.autohotkey.com/forum/topic66559.html discussion]
 
client: using the ahk ole server as well as the python ole server implemented below<lang autohotkey>
ahk := comobjactive("ahkdemo.ahk")
ahk.hello("hello world")
py := ComObjActive("ahkdemo.python")
py.write("hello")
return
</lang>
server:
Line 36 ⟶ 39:
return %func%(args)
}
 
 
F2::
py := ComObjActive("ahkdemo.python")
py.write("hello")
return
 
 
;; ahkcomserver()
Anonymous user