Ä̾mci¤ÇºÆÀ¸¤·¤¿Æ°²è¤Î¾å¤Ëʸ»ú¡¦²èÁü¤òɽ¼¨¤µ¤»¤ë¤³¤È¤Ï½ÐÍè¤Þ¤»¤ó¡£
¡ÊÌ¥¦¥£¥ó¥É¥¦¤ÇÆ°²è¤òºÆÀ¸
¢PrintWindow¤Çbuffer¤Ë¥³¥Ô¡¼
£buffer¤«¤égcopy¤Ç¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤Ë¥³¥Ô¡¼
¤¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤Ëʸ»ú¡¦²èÁü¤òɽ¼¨
¤È¤¤¤¦¤Î¤ò»î¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢
Æ°²èºÆÀ¸ÍѤΥ¦¥£¥ó¥É¥¦¤ò¾ï¤Ëɽ¼¨¤·¤Ê¤¤¤È¡¢¾å¼ê¤¯¥³¥Ô¡¼¤Ç¤¤Þ¤»¤ó¡£
//¤³¤Á¤é¤Î¥½¡¼¥¹¥³¡¼¥É¤ò¾¯¤·¡¢²þÊѤµ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£ //http://fs-cgi-basic01.freespace.jp/~hsp/ver3/hsp3.cgi?print+201001/10030013.txt #uselib "user32.dll" #func PrintWindow "PrintWindow" int, int, int #func SetWindowLong "SetWindowLongA" int, int, int #func ShowWindow "ShowWindow" int, int mainHwnd = hwnd Screen 1,1280,720: bgscrHWnd = hwnd//Æ°²èºÆÀ¸ÍѤΥ¦¥£¥ó¥É¥¦¤òºîÀ® SetWindowLong hwnd, -8 /* = GWL_HWNDPARENT */, mainHwnd ShowWindow hwnd, 5 /* = SW_NORMAL */ Dialog "",16,""//Æ°²è¤ò³«¤¯ mci "open "+refstr+" alias Æ°²è"//Æ°²èºÆÀ¸-¤³¤³¤«¤é mci "window Æ°²è handle "+hwnd mci "play Æ°²è from 0 notify"//Æ°²èºÆÀ¸-¤³¤³¤Þ¤Ç // IE¤Î²èÌ̤ò¼èÆÀ¤¹¤ë¤¿¤á¤Î¥Ð¥Ã¥Õ¥¡ buffer 2,1280,720 : bufferHDc = hdc// Æ°²è¤Î²èÌ̤ò¼èÆÀ¤¹¤ë¤¿¤á¤Î¥Ð¥Ã¥Õ¥¡ Screen 0,1280,720//¥á¥¤¥ó¥¦¥£¥ó¥É¥¦ *mainloop gsel 2 : PrintWindow bgscrHWnd, hdc, 1// Screen 1¤ÎÆâÍƤòbuffer¤ËÉÁ²è¤¹¤ë¡£ gsel 0 :pos 0,0: gcopy 2, 0, 0, 1280, 720// buffer¤ÎÆâÍƤòscreen¤Ëcopy¤¹¤ë pos 0,0:mes "¥á¥Ã¥»¡¼¥¸" await goto *mainloop
¾¤Ë¤âÊýË¡¤¬¤Ê¤¤¤«¤È¹Í¤¨¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢
»×¤¤É⤫¤Ó¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤É¤¦¤«¡¢³§ÍͤÎÃηäò¤ªÂߤ·¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£