ºô­¶¼ÐÃD¡G if±ø¥ó±Ô­z ¡]°ò¦°¾¡^

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¦³11«h¯d¨¥ ¡T¡T¡T


¦pªG§Aª±¹L¤W¤@½g¤å³¹ªºµ{¦¡½X¡Gmsgbox() ªº¦^¶Ç­È¡AÀ³¸Óµo²{¤F msgbox() ²Ä¤@­Ó°Ñ¼Æ¯uªº«Ü¦³¥È¾÷¡A¥¦±N¦b¹ï¸Üµøµ¡ùز£¥Í¤£¦Pªº«ö¶s¡A¦Ó³o¨Ç«ö¶s¦U¦³¤£¦Pªº¦^¶Ç­È¡C­nª`·Nªº¬O¡A³o¨Ç«ö¶s¤Wªº¡u½T©w¡v¡B¡u¨ú®ø¡vµ¥µ¥¤å¦r¥u¬O¥Î¨Óµ¹¨Ï¥ÎªÌ¬Ýªº¡A¹q¸£¡u¬Ý¡v¤£À´¡A¦pªG­n¹q¸£®Ú¾Ú¨Ï¥ÎªÌ¿ï¾Üªº«ö¶s¦Ó°õ¦æ¤£¦Pªºµ{§Ç¡A¥²¶·§Q¥Î¥¦­Ìªº¦^¶Ç­È¨Ó°µ§PÂ_¡C¦]¦¹§Ú­Ì«K¥i§Q¥Î³o­Ó¦^¶Ç­È¡A¼g¤@­Ó±ø¥ó±Ô­z¨Ó¨M©wµ{§Çªº¤U¤@¨B¬yµ{¬°¦ó¡C¦¹½g¤å³¹´NÅý§Ú­Ì¨Ó§â´X¤Ñ«e¡u¼½©ñ¶§¥ú©M¤p«B¡v¨º­ÓÀÉ®×¥[¥H­×§ï¡A°£¤FÅý¸Óµ{§Ç§óºÉµ½ºÉ¬ü¤@ÂI¤§¥~¡AÁÙ¶¶«K¾Ç²ß¿D°U¥ì¯Sªº±ø¥ó±Ô­zªº°ò¥»·§©À¡C¿D°Uªº±ø¥ó±Ô­z¸ò¨ä¥Lµ{¦¡»y¨¥¤@¼Ë¡AºØÃþ¤]«Ü¦h¡A§Ú­Ì¥ý¨Ó¾Ç²ß if ±Ô­z¡C

if ±ø¥ó±Ô­zªº»yªk¡A¥Î¤HÃþªí¹Fªº¤è¦¡¨Ó»¡´N¬O¡u¡y¦pªG¡zÂIÂIÂI¡yµM«á¡z°µ°µ°µ¡yµ²§ô¦pªG¡z¡v¡C¤°»ò·N«ä°Ú¡H­ü¡Iµ{¦¡¼g¦h¤F¡AÁ¿°_¸Ü¨Ó¤]Åܦ¨¾÷±ñ¤H¤F¡C§Ú­Ì¸Ó¥Î¤f»y¤Æªº¤è¦¡¨ÓÁ¿¤ñ¸û¦n¡A©Ò¥H´N¬O¡G¡u¦pªGÂIÂIÂIªº¸Ü´N¥h°µ¬Y¥ó¨Æ±¡À´¶Ü¡v¡C³o¸Ì¡uÀ´¶Ü¡v¥Nªí¥L­n¥æ¥N§A°µªº¨Æ±¡¤w¸g»¡§¹¤F¡A¦Ó³o¥ó¨Æ±¡§A¥²¶·­n¦b¡uÂIÂIÂI¡vªºª¬ªpµo¥Í®É¥h°µ¡A¦pªG¨º­Óª¬ªp¨Sµo¥Íªº¸Ü¸Ó«ç»ò¿ì¡H¥L¨S»¡¡A´N¤£ºÞ¥L¤F¡C©ó¬O§Ú­Ì´N¥i¥H¥Î¿D°U¤@ÂIªº»yªk¨Óªí¹F¡G

if ±ø¥ó¦¨¥ß then ; ±ø¥ó±Ô­z¶}©l
¡@°µ¬Y¨Ç¤u§@
¡@; ¬Ý¦h¤Ö¤u§@­n°µ¡A³£¼g¦b³o¸Ì
endif ; ±ø¥ó±Ô­zµ²§ô
; ª`¡G(;)¤À¸¹¥Nªíª`¸Ñ

¤W­±ªºµ{¦¡»yªkÀ³¸Ó¤£Ãø²z¸Ñ¤~¹ï¡Aautoit ¸}¥»¤§©Ò¥H¦n¾Ç¡A¥D­n¦]¬°¥¦«Ü±µªñ¤HÃþ»y¨¥¡A¥u»Ý­n¾Ç¹L¤@¤BÂI¨àªº­^¤å¡A«Ü§Ö´N¯à¼g¤@°¦µ{¦¡¡Cif ´N¬O¦pªG¡Athen ´N¬OµM«á¡Aendif ´N¬O¡uµ²§ô¦pªG¤l¥y¡v¡Aª`·N¡G­^¤å¥i¨S¦³ endif ³o­Ó³æ¦r§r¡C¿D°U¬°¤F§i¶D¹q¸£ if ±ø¥ó±Ô­zªºµ{§Çµ²§ô¤F¡A³o¤~­n¥[¤W endif¡C³\¦h®É­Ô·í±ø¥ó¦¨¥ß¡A­n°µªº¤u§@«Ü¦h¡A¨S¦³ endif¡A¨ì©³°µ¨ì¤°»ò®É­Ô¤~µ²§ô¡H¹q¸£¤£³Q§A·d·w¤F¤~©Ç¡A¡uªü§A¥s¤H®aÀ°§A°µ¨º»ò¦h¨Æ±¡¡A¨s³º­n°µ¨ì¤°»ò®É­Ô°±¤î§r¡H²Ö¦º¤H¤F¡I¥u¦nµ¹§A¤@­Ó¿ù»~«H®§¡A¤£À°§A°µ¤F°Õ¡I¡v©ó¬O¦]¬°µ{§Ç½Xªº¿ù»~¡A³oµ{§Ç³Ñ¤Uªº³¡¥÷¤]´N¤£·|Ä~Äò¹B¦æ¡C©Ò¥H½Ð°O¦í¡A¡u¦pªG¡vªº±ø¥ó±Ô­zµ²§ô¤F¡A¤@©w­n¦A¥[¤W endif ³o­Ó«O¯d¦r¡C

²Ä¤@­Óµ{¦¡¡G¼½©ñ¶§¥ú©M¤p«B shine.au3 ªº¼½©ñµ{§Ç¤§©Ò¥H¤£²z·Q¡A¥D­n¦b©ó¸Óµ{¦¡Àɤ@¶}©l°õ¦æ´N¥ß§Y¼½©ñÁn­µ¡A®e©öÅý¤HÀ~¤@¸õ¡AµM«á§A¤]µLªk¤¤³~°±¤î¼½©ñ¡A¯u¬O°Q¹½¡A°£«D§AÀ´±o³z¹L¤u§@ºÞ²z­û¡uµ²§ô¤u§@¡v¡A§_«h¥u¦n§â¾ã­ÓÁn­µÅ¥§¹¡A¼½©ñµ{§Ç¤~¯àµ²§ô¡C
©¯¦n«á¨Ó§Ú­Ì¦b
¥[¤J¹ï¸Üµøµ¡--msgbox() ³o½g¤å³¹¸Ì¡A
shine2.au3 ªº soundplay() ¤U¤@¦æ¥[¤J¤F msgbox() ¹ï¸Üµøµ¡«ü¥O¡A
¦b¦¹µøµ¡¤º¥i¥HÅý§A«ö½T©w«ö¶s¡A
ÂÇ¥ÑÃö³¬¸Óµ¡¤fªº¤èªk¶¶«Kµ²§ô¼½©ñµ{§Ç¡C
¦¹®É¤]³\§A·|¦³­ÓºÃ°Ý¡G
¡u¬°¤°»òÃö³¬µ¡¤f¥i¥Hµ²§ô¼½©ñµ{§Ç©O¡H¡v
©Z¥Õ»¡§Ú¤]¦b«ä¯Á³o­Ó°ÝÃD¡A
¨º´N¤@°_¨Ó¬ã¨s¬Ý¬ÝÅo¡I

¦^ÅU¤@¤U¡u¥[¤J¹ï¸Üµøµ¡--msgbox()¡v³o½g¤å³¹¡A shine2.au3 ÀÉ®×¥¦¥u¦³¨â¦æ¿D°U±Ô­z¡A
¤@¶}©lªº soundplay() ¬O³o»ò¼gªº¡G

soundplay("http://crazy.molerat.net/mp3/gwo.mp3",0)

¦pªG¤W­±ªº±Ô­z²Ä¤G­Ó°Ñ¼Æ¥Îªº¬O 1¡A ³o­Óµ{§Ç°õ¦æ´N«Ü¦³°ÝÃD¡A
¦]¬°§A¥²¶·µ¥¨ì­µ¼Ö¼½©ñ§¹²¦¡A
¨º®É¹ï¸Üµøµ¡¤~·|¥X²{¡A
µM«á§A¤]¤~¦³¾÷·|«ö½T©w«ö¶s¨Óµ²§ôµ{§Ç¡C
¡u°ÝÃD¬Oªü¤H®aºq³£°Û§¹¤F¤~­n¤H®a¤£¥Î°Ûºq¤F¡A
¨º¤£¬O¯»©_©Ç¶Ü¡H¡v
©Ò¥H§r¡I
¦pªG·Q­n¦b¼½©ñ­µ¼Öªº¦P®É¶¶«K¼u¥X¹ï¸Üµøµ¡¡A
soundplay() ªº²Ä¤G­Ó°Ñ¼Æ­n¥Î 0¡A
¦p¦¹¤@¨Ó·íÁn­µ¼½©ñªº¦P®É¡A
¹ï¸Üµøµ¡¤]·|¼u¥X¨Ó¡A
³o¼Ë§A´N¥i¥H«ö½T©w«ö¶s¨ÓÃö³¬µøµ¡¡A
µ{§Ç¤]ºâ¶]§¹¡A
¼½©ñªºÁn­µ¤]´N¸òµÛ°±¤î¡C
§A¤]³\µo²{¤F¡A
´Nºâ¦b¹ï¸Üµøµ¡¤¤¼gªº¬O¡u«ö½T©wÁä±NÄ~Äò¼½©ñ¡v¡A
«ö¤F¡u½T©w¡v¤§«á¤´·|Ãö³¬µøµ¡¡AµM«áµ²§ôµ{§Ç¡C
¦]¬°¹q¸£®Ú¥»¬Ý¤£À´§A¦bµøµ¡ùؼg¤°»ò¦r¡A
µ{§Çµ²§ô¥u¬OÃö³¬µøµ¡ªºµ²ªG¡C
¡u¬°¤°»òÃö³¬µøµ¡¡A
¼½©ñµ{§Ç¤]´N¸òµÛ°±¤î¤F©O¡H¡v
¦]¬°¨º®É­Ô§Ú¦b³o­ÓÀÉ®×¥u¼g¨â¦æ±Ô­z§r¡I
°µ§¹²Ä¤G¦æ¹q¸£´N»{¬°³o­Óµ{¦¡¶]§¹¤F¡C
­n¬OÁÙ¦³²Ä¤T¦æ¤º®e
¡]¤j®a¥i¥H¦Û¤vª±¬Ý¬Ý¡^¡A
¿D°U¤]³\·|¦bµ²§ô²Ä¤G­Ó±Ô­zºò±µµÛ¶]²Ä¤T­Ó±Ô­z®É¡A
­µ¼Ö¤´¦bÄ~Äò¼½©ñµÛ¡C
¦b¹ï©ó autoit ÁÙ¨S²`¤JÁA¸Ñ¤§«e¡A
°w¹ï shine2.au3¡A
§Ú¥u·Q¨ì©Î³\§ï¥Î¤U­±³o­Óµ{§Ç¶i¦æ·|¤ñ¸û²z·Q¡G

1. ¶}±Ò¤@­Ó¹ï¸Üµøµ¡§i¶D¥Î¤á¡u§Y±N¶}©l¼½©ñ­µ«Ì¡A¬O§_·Q­n¦¬Å¥¡H¡v
2. °²¦p¥Î¤á¦^µª¡u¬O¡vªº¸Ü¡A­µ«Ì¤~¶}©l¼½©ñ¡C

·íµM°Õ¡I¤]¤£¤@©w«D­nµ¥¨ì­µ¼Ö¼½§¹¤~¯àµ²§ôµ{§Ç¡AÁÙ¥i¥H¦b²Ä¤T¦æ¥[¤J¥t¤@­Ó¹ï¸Üµ¡¤f¡A¥Î¨Ó°±¤î¼½©ñµ{§Ç¡G

3. ¼u¥X¹ï¸Üµ¡¤f»¡ ¡u«ö½T©w«ö¶s¥i¥Hµ²§ô¼½©ñ¡v

¦Ü©ó³o­Óµ{¦¡½X¸Ó«ç¼Ë¼¶¼g¡H ¼K¼K¡I
·í§@¬O¦U¦ìªº®a®x§@·~¡A
½Ð¸ÕµÛ¥Î¦Û¤vªºªí¹F¤è¦¡¨Ó§e²{§a¡I
­«ÂI¦b©ó§A¥²¶·ª¾¹D¦b msgbox() ¤¤¡A
¥Nªí¡u¬O¡v³o­Ó«ö¶sªº¦^¶Ç­È¬°¦ó¡H
¦]¦¹´N­n³]©w¤@­ÓÅܼơA
¥Î¨ÓÀx¦s msgbox() ªº¦^¶Ç­È¡A
µM«á¤~¥i¥H¥Î±ø¥ó±Ô­z¨Ó§PÂ_¸Ó¦^¶Ç­È¬O§_¬°¡u½T©w«ö¶s¡v¡H
¦pªG¬O¡u½T©w¡v«ö¶sªº¸Ü¤~¼½©ñÁn­µ¡C


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


¥»¤å±i¶KªÌ¡Gµ{«rª÷¡e±i¶K®É¶¡¡G¥Á°ê100¦~11¤ë3¤é¡]¬P´Á¥|¡^13ÂI16¤À | §ó·s¦¸¼Æ #2 | ³Ì«á§ó·s¡G¥Á°ê100¦~11¤ë4¤é¡]¬P´Á¤­¡^5ÂI51¤À¡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¥»¯¸«Å¥Ü