ComObjCreate() [AHK_L 53+]

COM °´Ã¼¸¦ ¸¸µì´Ï´Ù.

ComObject := ComObjCreate(CLSID [, IID])

¸Å°³º¯¼ö

CLSID

CLSID ¶Ç´Â Àΰ£ÀÌ-ÀÐÀ» ¼ö ÀÖ´Â COM °´Ã¼ÀÇ Prog ID.

IID

[v1.0.96.00+]: °´Ã¼°¡ Áö¿øÇÏ´Â ÀÎÅÍÆäÀ̽ºÀÇ ½Äº°ÀÚ.

¹Ýȯ °ª

¿¡·¯°¡ ÀϾ¸é, ºó ¹®ÀÚ¿­ÀÌ ¹ÝȯµË´Ï´Ù.

IID°¡ ÁöÁ¤µÇ¸é, ÀÎÅÍÆäÀ̽º Æ÷ÀÎÅÍ°¡ ¹ÝȯµË´Ï´Ù. ½ºÅ©¸³Æ®´Â Æ÷ÀÎÅÍ ÀÛ¾÷ÀÌ ³¡³ª¸é ÀüÇüÀûÀ¸·Î ObjRelease¸¦ È£ÃâÇÕ´Ï´Ù.

±×·¸Áö ¾ÊÀ¸¸é, ½ºÅ©¸³Æ®°¡ »ç¿ëÇÒ ¼ö ÀÖ´Â Æ÷Àå °´Ã¼°¡ ¹ÝȯµË´Ï´Ù. °´Ã¼ ±¸¹®À» ÂüÁ¶ÇϽʽÿÀ.

°ü·Ã Ç׸ñ

ComObjGet, ComObjActive, ComObjConnect, ComObjArray, ComObjError, ComObjQuery, CreateObject (MSDN)

¿¹Á¦

°è¼ÓÇؼ­ Áõ°¡ÇÏ´Â ¸®½ºÆ®ÀÇ ¿¹´Â ´ÙÀ½ Æ÷·³ÀÇ ÅäÇÈÀ» ÂüÁ¶ÇϽʽÿÀ: http://www.autohotkey.com/forum/topic61509.html.

ie := ComObjCreate("InternetExplorer.Application")
ie.Visible := true  ; IE7¿¡ ´ëÇؼ­´Â Àß ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù°í ¾Ë·ÁÁ® ÀÖ½À´Ï´Ù.
ie.Navigate("http://ahkscript.org/")