HTA Àû¿ë¿¡ »ç¿ëµÈ Àμö(argument)¸¦ ¹ÝȯÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀ¸·Î µðÆúÆ®°ªÀº ¾ø´Ù.
HTA Àû¿ëÀÌ HTTP protocol¿¡ ÀÇÇÑ °ÍÀ̸é commandLine ¼Ó¼º°ªÀº ºó ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
<HTA:APPLICATION id="HTAobj" applicationname="myApp" commandLine="alert(this.id)"> <SCRIPT> str='HTAobj.id='+HTAobj.id+'<BR>'; str+='HTAobj.commandLine='+HTAobj.commandLine+'<BR>'; str+='HTAobj.applicationName='+HTAobj.applicationName+'<BR>'; document.write(str); </SCRIPT>