ºô­¶¼ÐÃD¡G msgbox() ªº¦^¶Ç­È

Warning: fopen(/home/crazy/www/learner/cpuroom/programmer/has_read.php): failed to open stream: Permission denied in /home/crazy/www/compose/reading.php on line 2077

Warning: fputs() expects parameter 1 to be resource, bool given in /home/crazy/www/compose/reading.php on line 2079

Warning: fclose() expects parameter 1 to be resource, bool given in /home/crazy/www/compose/reading.php on line 2080
¡@
¡T¡T¡TÆ[¬Ý¯d¨¥¡G¦¹¤å³¹¤w¸g¦³8«h¯d¨¥ ¡T¡T¡T


¦pªG§A¤w¸g±q¤U¸üAutoIt3¡A±N¿D°U¥ì¯S¦w¸Ë¦n¤F¡A½Ð«ö¡u¶}©l¥\¯àªí -> ©Ò¦³µ{¦¡/µ{¦¡¶° -> AutoIt v3 -> Examples¡v¡A³o¸Ì­±¯uªº¦³³\¦h¦nª±ªºªF¦è­È±o¾Ç²ß¡C¥i±¤§Ú­^¤å¤ÓÄê¡A¤@®É¶¡µLªk»â²¤¨ä¤¤¶ø§®¡A¤£¹L¨SÃö«Y¡A¡u¤jÁx¾Ç¡A¤£©ÈÃø¡v¡A¾Ç²ß¥u¦b¤@©À¤§¶¡¡A¦pªGÄ@·N¡A¤@©w¯à°µ¡Aµ½¥Î®É¶¡¡A¦n¦n¾Ç²ß¡AÅý§Ú­Ìªº¥Í¬¡§óÂ×´Iºë±m¡A³o¬O¯ºÂF¸g±`¹ï§Ú­Ì¼G¼G¥o¥oªº¸Ü»y¡A§Úı±o«Ü¦³¹D²z¡C©ó¬OÁöµM§Ú¬Ý¤£À´ Examples ¸ÌÀY³\¦hÀɮתº­^¤å¤º®e¡A¦ý¬O³z¹Lºô­¶¦r¨å·j´M¡AµM«á¤@¤@¦a¥h§ä¬ÛÃö¸ê®Æ¡A¬Ó¤Ñ¤£­t­W¤ß¤H¡AªGµM§ä¨ì§ó¦h¦³½ìªºªF¦è¤F¡C

­º¥ý¡A§Ú¥Î WCBE ¥´¶} notepad1.au3 ³o­ÓÀɮסA¡]ª`·N¡G§A¤]¥i¥H¨Ï¥Î¨ä¥L¯Â¤å¦r½s¿è¾¹¡A¨Ò¦p°O¨Æ¥»¨Ó¶}±Ò¦¹ÀɮרӾ\Ū©Î½s¿è .au3¡^¡A¬Ý¤F¤@¤U¸ÓÀɮ׫e­±µù¸Ñªº»¡©ú¡A´N§Ú©Ò¯à¬Ý±oÀ´ªº³¡¤À¡A¦ü¥G¬O»¡¡u¸Óµ{§Ç¥i¥H¶}±Ò°O¨Æ¥»¡AµM«á¦b°O¨Æ¥»¸Ì¿é¤J¤@¨Ç¤å¦r¤º®e¡A¨Ã¥BÃö³¬°O¨Æ¥»¡C¡v¤Ñ­þ¡I³o¨Ç¹Lµ{³£¥i¥H³z¹L¿D°U¥ì¯S¨Ó§¹¦¨¡H¨º»ò¼F®`¡AÃø©Çºô¤W±`»¡ autoit ¥i¥H¥Î¨Ó¼g¦Û°Ê¦w¸Ë©ÎªÌ¦Û°Êµn³°ºô­¶µ{§Ç¡C¦b notepad1.au3 ¤@¶}©lªº±Ô­z¡G

$answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run Notepad type in some text and then quit.¡@Run?")

¶â¡Imsgbox() ¤§«e§Ú­Ì¾Ç¹L¤F¡A¥¦·|¦b¿Ã¹õ¤W²£¥Í¤@­Ó¹ï¸Üµøµ¡¡A°O±o§a¡H¤p¬A¸¹ùØÀY²Ä¤@­Ó°Ñ¼Æ¡A¨º­Ó¼Æ¦r¤§«e¦b shine2.au3 §Ú¥Îªº¬O 0¡A²{¦b³o¸Ì¥Îªº¬O 4¡C¤£ª¾¦U¦ì¦Û¤v¬O§_¦³ª±¬Ý¬Ý¡H§ïÅÜ msgbox() ²Ä¤@­Ó°Ñ¼Æªº¼Æ¦r·|²£¥Í¤°»ò®ÄªG©O¡H

·í§Ú¬Ý¨ì¤W­± msgbox() ªº¥Îªk®É¡Aµo²{­ì¨Ó¿D°U¥ì¯SÅܼƩw¸qªº¤è¦¡¸ò php ¤@¼Ë¡A¦bÅܼƦWºÙ¤§«e­n¥Îª÷¿ú²Å¸¹ ($)¡C¤]´N¬O»¡¦pªG§Ú¼g $msgbox¡A¥¦´N¬O¤@­ÓÅܼƦWºÙ¤F¡A¦ý¦pªG¥u¼g msgbox¡A«e­±¨S¦³ª÷¿ú²Å¸¹¡A­è¦n¿D°U¤]¦³­Ó¥s°µ msgbox ªº«ü¥O¡A°²©w¨S¦³¥¿½T¨Ï¥Î¸Ó«ü¥Oªº¸Ü¡Aµ{§Ç°õ¦æ´N·|²£¥Í¿ù»~«H®§¡A¨Ã¥B°±¤îµ{§Ç°õ¦æ°Ê§@¡C

°£¤Fµo²{¿D°UÅܼƩw¸q¤è¦¡¤§¥~¡A§Ú¹ï©ó msgbox() ²£¥Í¤F¤@­Ó·sªº¿³½ì¡A¥¦¥i¥H³Q³]©wµ¹¬Y­ÓÅܼÆùØÀY¡A¨º¤£¤]ªí¥Ü¥¦¦³¦^¶Ç­È¶Ü¡H¦Ó³o­Ó¦^¶Ç­È´N·|©ñ¨ì³o­ÓÅܼÆùØÀY¡C

¬°¤FÃÒ¹ê§Úªº·Qªk¡A§ÚÀ|¸Õ¼g¤F¥t¤@­ÓÀɮסA¤º®e¦³¨â­Ó¿D°U¥ì¯Sªº±Ô­z¡AµM«á§â¥¦Àx¦s¨ì msgbox_test.au3¡A·Q­n¬Ý¬Ý¨s³º msgbox() ªº¦^¶Ç­È¬O¤°»ò¡H§A¤]¥i¥H¸ò§Ú¤@°_³o¼Ë°µ¡C¸ò«e­±¤@¼Ë¡A½Ð§â¤U­±µ{¦¡½X¥þ¿ï½Æ»s¦n¤F¥H«á¡A¦s¦b§A©Ò³]©wªº¬Y­Ó .au3 Àɮ׸ÌÀY¡C³o­ÓÀɮתº ²Ä¤G­Ó msgbox() ±Ô­zªº¼Ð¥Ü¦]¬°¥u¬O³æ¯Âªº¬°¤F§e²{¤@­Ó«H®§µøµ¡¡A©Ò¥H¥u¥Î¤F 0 ³o­Ó¼Æ¦r¡A¥Î¤á¥u­n«ö¤U¡u½T©w¡v¡A´N¥iÃö³¬¦¹µøµ¡¤F¡C©Ò¿×ªº¡u¼Ð¥Ü¡v¡A¬O«ü msgbox() ªº²Ä¤@­Ó°Ñ¼Æ¡A¦³Ãö°Ñ¼Æªº¨ãÅéÀ³¥Î¡Aµ¥§Ú§â³o¨Ç³£§Ë©ú¥Õ«á¤~¸ò¤j®a»¡©ú¡A²{¦b½Ð¥J²Ó¾\Ū¥H¤U¥N½X¤º®e¡G



¦^ ¡P »P§Ú¤@°_¨Ó¾Çautoit ³o¤@½g¤å³¹«Ê­±


¥»¤å±i¶KªÌ¡Gµ{«rª÷¡e±i¶K®É¶¡¡G¥Á°ê100¦~10¤ë28¤é¡]¬P´Á¤­¡^21ÂI38¤À | §ó·s¦¸¼Æ #3 | ³Ì«á§ó·s¡G¥Á°ê100¦~11¤ë1¤é¡]¬P´Á¤G¡^13ÂI41¤À¡f | ¼g«Hµ¹µ{«rª÷

³¡¸¨®æ­º­¶


¾Ç²ßªº¬G¶m­º­¶
¥»¯¸¤½§i¡G¡e±z¶V»Ý­n§Ú­Ì¡A§Ú­Ì´N¶V¦³³Ð·N¡f ¥»¯¸»¡©ú®Ñ¡G¡eµo²{¬G¶mÁÙ¦³§ï¶iªº¦a¤è¡A½Ð¨Ó«H§i¶D­ì¤B­Ì¡f
Æ[¹îÀ³¥Î¾Ç²ßÂI¼Æ ¡G¡e«¥ªº¬G¶m¦³±zªº°Ñ»P¡A·|¨Ï§Ú­Ì¦³§ó¤jªºµo´§ªÅ¶¡¡A®i²{§óÂ×´Iºë±mªº¾Ç²ßµe­±¡f ¡e´Á«ÝÂǥѵL»Ùêºô­¶³]­p¡A¯àÅýµø»Ù¤pªB¤Í§ó·R¬Ý®Ñ¡B§ó·R¼g§@¥B§ó·R¾Ç²ß¡f¡Gª¼¥Î¹q¸£¡u¤ß±o¤À¨É¡v
¡e¬°¤FÅý§Ú­Ì¦³°®²bªº¾Ç²ßÀô¹Ò¡A½Ð¤Å¥ô·N¦b¥»¯¸´²¼½°Ó·~¼s§i»P¤£¦Xªk¤å¥ó©ÎÁpµ²¡f¡G¥»¯¸«Å¥Ü