HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2013
1028
EFGHkeybd_event¤Ç¤Ê¤¯SendMessage¤Ë¤è¤ë¥­¡¼¥Ü¡¼¥ÉÁ÷¿®9²ò·è


EFGH

¥ê¥ó¥¯

2013/10/28(Mon) 23:06:22|NO.57862

keybd_event¤Ç¤Ê¤¯SendMessage¤Ë¤è¤ë²¾ÁÛ¥­¡¼¤ÎÁ÷¿®¤ò¤·¤¿¤¤¤Ç¤¹¡£

°ìʸ»ú¤À¤±¤ÎÆþÎÏ¥½¡¼¥¹¤Ç¤¤¤¤¤Î¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡ª


#uselib "user32.dll" #cfunc FindWindow "FindWindowA" sptr, sptr #func global SendMessage "SendMessageA" sptr,sptr,sptr,sptr exec "notepad.exe" hw = FindWindow("notepad", 0) mes hw

ÅÓÃæ¤Þ¤Çµ­½Ò¤·¤Þ¤·¤¿¡£¤ª´ê¤¤¤·¤Þ¤¹¡ª



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


MillkeyStars

¥ê¥ó¥¯

2013/10/29(Tue) 01:43:31|NO.57866

sendmsg ¤È¥¹¥¯¥ê¥×¥È¤ËÆþÎϤ·¤Æ¡¢F1 ¥­¡¼¤ò²¡¤»¤Ð¥¦¥£¥ó¥É¥¦¥á¥Ã¥»¡¼¥¸¤ÎÁ÷¿®ÊýË¡¤Ï¤ï¤«¤ë¤Ï¤º¤Ç¤¹¡£

WM_KEYDOWN µÚ¤Ó WM_KEYUP ¥á¥Ã¥»¡¼¥¸¤Ï¡¢²¼µ­URL ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
WM_KEYDOWN - http://chokuto.ifdef.jp/urawaza/message/WM_KEYDOWN.html
WM_KEYUP - http://chokuto.ifdef.jp/urawaza/message/WM_KEYUP.html

¾åµ­URL¤ËÁ÷¿®¤¹¤ëÊýË¡¤Ï¡¢¤¹¤Ù¤Æ¤½¤í¤Ã¤Æ¤¤¤Þ¤¹¡£



EFGH

¥ê¥ó¥¯

2013/10/29(Tue) 01:59:10|NO.57867

¤¦¤¦¡¦¡¦¡¦¤Ê¤Ë¤â¤Ê¤é¤Ê¤¤¤Ç¤¹¡£¡£


#uselib "user32.dll" #cfunc FindWindow "FindWindowA" sptr, sptr #func global SendMessage "SendMessageA" sptr,sptr,sptr,sptr #define WM_KEYDOWN 0x0100 #define WM_KEYUP 0x0101 exec "notepad.exe" hw = FindWindow("notepad", 0) sendmsg hw,WM_KEYDOWN,$30,0 sendmsg hw,WM_KEYUP,$30,0



fortunehill

¥ê¥ó¥¯

2013/10/29(Tue) 02:10:12|NO.57868

/*¤´»²¹Í(Á÷¿®¿ôÃͤϥ꥽¡¼¥¹¥¨¥Ç¥£¥¿¡¼Åù¤Ç³Îǧ¤Ç¤­¤Þ¤¹)*/

#uselib "user32.dll" #cfunc global FindWindow "FindWindowA" sptr, sptr #func global SendMessage "SendMessageA" sptr,sptr,sptr,sptr #func global FindWindowExA "FindWindowExA" sptr,sptr,sptr,sptr ;func global PostMessageA "PostMessageA" sptr,sptr,sptr,sptr exec "notepad.exe" hw = FindWindow("notepad", 0) mes hw FindWindowExA hw,0,"Edit",0 cc = stat mes cc ; sendmsg hw,$111, 2,0 ; 2=open WM_COMMAND ss = "AAAAAAAAAAAAA" sendmsg cc,$C,0,varptr(ss) sendmsg hw,$111,25,0 ;25=selectall sendmsg hw,$111, 3,0 ; 2=save



EFGH

¥ê¥ó¥¯

2013/10/29(Tue) 02:13:23|NO.57869

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹T_T

edit?¤È¤Ï¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡©

º£Æü¤Ï¿²¤Þ¤¹¤Î¤ÇÌÀÆü¤Þ¤¿¤ªÊÖ»ö¤·¤Þ¤¹¡ª



fortunehill

¥ê¥ó¥¯

2013/10/29(Tue) 02:33:56|NO.57870

/*¼Ø­¡§
­¡ËÜÍè¤ÎÌÜŪ¤¬ EditBox ¤Ëʸ»ú¤òɽ¼¨¤¹¤ë»ö¤Ç¤¢¤ë¤Ê¤é¥¢¥¯¥»¥é¥ì¡¼¥¿¡¼¥ê¥½¡¼¥¹¤Ï
ɬÍפ¢¤ê¤Þ¤»¤ó¡£(»²¹Í¥ê¥½¡¼¥¹¥¨¥Ç¥£¥¿¡¼ XNResourceEditor.exe )
>keybd_event¤Ç¤Ê¤¯SendMessage¤Ë¤è¤ë²¾ÁÛ¥­¡¼¤ÎÁ÷¿®¤ò¤·¤¿¤¤¤Ç¤¹¡£
¤«¤éÌÜŪ¤ÏȽ¤ê¤Þ¤»¤ó¤¬¥¢¥¯¥»¥é¥ì¡¼¥¿¡½¤òᤤ¤Æ¤ß¤Þ¤·¤¿¡£
­¢Edit¤Ï¥¯¥é¥¹Ì¾¤È¸À¤¦Êª¤ÇHSP¤Ç¸À¤¦½ê¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Î´ðËÜ·¿¤Ç
(API¤Î RegisterClassExA Åù¤ÇÄêµÁ¤µ¤ì¤ë)
API¤Î GetClassNameA ¤Ç¼èÆÀ½ÐÍè¤Þ¤¹¡£(HSP¤Î¾ì¹ç hspwnd0)
*/



MillkeyStars

¥ê¥ó¥¯

2013/10/29(Tue) 03:23:02|NO.57871

¤Þ¤¡¡¢¿²¤Á¤ã¤Ã¤¿¤ß¤¿¤¤¤Ç¡¢¤¿¤À¥­¡¼¤òÆþÎϤ·¤¿¤¤¤À¤±¤Ç¤¢¤ì¤Ð
WM_CHAR ¤ÎÊý¤¬³Ú¤Ç¤¹¤±¤É¤Í¡£

²¼µ­ fortunehill¤µ¤ó¥¹¥¯¥ê¥×¥È¤Î WM_CHAR ÈÇ

#uselib "user32.dll" #cfunc FindWindow "FindWindowA" sptr, sptr #cfunc FindWindowEx "FindWindowExA" sptr,sptr,sptr,sptr #define WM_CHAR 0x0102 exec "notepad.exe" hw = FindWindow("notepad",0) hw = FindWindowEx(hw,0,"Edit",0) mes "target hwnd : "+hw sendmsg hw,WM_CHAR,'a',0



EFGH

¥ê¥ó¥¯

2013/10/29(Tue) 18:49:19|NO.57887

¤ª¤Ï¤è¤¦¤´¤¶¤¤¤Þ¤¹¡ª

¤¿¤¯¤µ¤ó¤Î¥½¡¼¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£Edit¤Î·ï¤âÇÄ°®¤·¤Þ¤·¤¿¡ª

ËͤΤǤ­¤Ê¤«¤Ã¤¿


sendmsg hw,WM_KEYDOWN,$30,0 sendmsg hw,WM_KEYUP,$30,0

¤³¤Á¤é¤ÎKEYDOWN¤ÈKEYUP¤Î»È¤¤Êý¤Ï²¿¤¬´Ö°ã¤Ã¤Æ¤ë¤ó¤Ç¤·¤ç¤¦¤«¡©



ht.

¥ê¥ó¥¯

2013/10/29(Tue) 20:36:08|NO.57888

FindWindow("notepad", 0)¤Ç¤Ï¥á¥âÄ¢¤Î¥¦¥¤¥ó¥É¥¦¤ò¼èÆÀ¤·¤Æ¤¤¤Þ¤¹¤¬¡¢
¼ÂºÝ¤Ë¥Æ¥­¥¹¥ÈÆþÎϤò¼õ¤±ÉÕ¤±¤ë¤Î¤Ï¤½¤Î¥¦¥¤¥ó¥É¥¦¤¬½êÍ­¤¹¤ë¥¨¥Ç¥£¥Ã¥È¥³¥ó¥È¥í¡¼¥ë(HSP¤Ç¸À¤¨¤Ðmesbox)
¤Ê¤Î¤ÇFindWindowEx´Ø¿ô¤ò»È¤Ã¤Æ¹¹¤Ë¤½¤Î¥Ï¥ó¥É¥ë¤ò¼èÆÀ¤·¤½¤Á¤é¤ÎÊý¤Ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¿®¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¤Þ¤¿¡¢¥¨¥Ç¥£¥Ã¥È¥³¥ó¥È¥í¡¼¥ë¤ÏWM_CHAR¥á¥Ã¥»¡¼¥¸¤Ë¤è¤Ã¤Æʸ»úÆþÎϤò¼õ¤±ÉÕ¤±¤Æ¤¤¤Þ¤¹¡£
(WM_KEYDOWN¤¬Á÷¿®¤µ¤ì¤¿¸å¡¢TranslateMessage´Ø¿ô¤Ë¤è¤Ã¤ÆÈó¥·¥¹¥Æ¥à¥­¡¼¤¬ºÆÅÙWM_CHAR¤È¤·¤ÆÁ÷¿®¤µ¤ì¤ë)



MillkeyStars

¥ê¥ó¥¯

2013/10/30(Wed) 04:22:44|NO.57902

SendMessage(PostMessage)ÈǺî¤Ã¤Æ¤ß¤¿¤Î¤Ç¡¢Åê¹Æ¡£


#uselib "user32.dll" #cfunc global FindWindow "FindWindowA" sptr,sptr #cfunc global FindWindowEx "FindWindowExA" sptr,sptr,sptr,sptr #cfunc global MapVirtualKey "MapVirtualKeyA" sptr,sptr #func global PostMessage "PostMessageA" sptr,sptr,sptr,sptr #define global WM_KEYDOWN 0x0100 #define global WM_KEYUP 0x0101 #module Keybd_Control //»ØÄꤵ¤ì¤¿¥¦¥£¥ó¥É¥¦¥Ï¥ó¥É¥ë¤Ø¥­¡¼¥³¡¼¥É¤òÁ÷¿®¤·¤Þ¤¹¡£ // Keybd_Send p1,p2,p3 // p1 = Á÷¤ëÀè¤Î¥¦¥£¥ó¥É¥¦¥Ï¥ó¥É¥ë // p2 = ²¾ÁÛ¥­¡¼¥³¡¼¥É // p3 = ²¡¤¹/Î¥¤¹ ¥Õ¥é¥° #deffunc Keybd_Send int WindowHandle,int KeyVirtualCode,int Mode wVk = KeyVirtualCode wScan = MapVirtualKey(wVk,0) Put_lparam = 0 //¶¦ÄÌÍÑ Put_lparam |= 1 << 0 //¥ê¥Ô¡¼¥È¥«¥¦¥ó¥È(0-15¥Ó¥Ã¥È) Put_lparam |= wScan << 16 //¥¹¥­¥ã¥ó¥³¡¼¥É(16-23¥Ó¥Ã¥È) if ( Mode = 0){ //WM_KEYDOWNÍÑ Put_lparam |= 0 << 24 //³ÈÄ¥¥­¡¼(24¥Ó¥Ã¥È¤Î¤ß) // Put_lparam |= 0 << 25 //»È¤ï¤ì¤Æ¤¤¤Þ¤»¤ó¡£ Put_lparam |= 0 << 29 //¥³¥ó¥Æ¥­¥¹¥È¥³¡¼¥É(29¥Ó¥Ã¥È¤Î¤ß) Put_lparam |= 0 << 30 //¥Ü¥¿¥ó¤¬Ä̾狼Ĺ²¡¤·¤«(30¥Ó¥Ã¥È¤Î¤ß) Put_lparam |= 0 << 31 //ÊÑ´¹¥¿¥¤¥×(31¥Ó¥Ã¥È¤Î¤ß) PostMessage WindowHandle,WM_KEYDOWN,wVk,Put_lparam } else { //WM_KEYUPÍÑ Put_lparam |= 0 << 24 //³ÈÄ¥¥­¡¼(24¥Ó¥Ã¥È¤Î¤ß) // Put_lparam |= 0 << 25 //»È¤ï¤ì¤Æ¤¤¤Þ¤»¤ó¡£ Put_lparam |= 0 << 29 //¥³¥ó¥Æ¥­¥¹¥È¥³¡¼¥É(29¥Ó¥Ã¥È¤Î¤ß) Put_lparam |= 1 << 30 //¥Ü¥¿¥ó¤¬Ä̾狼Ĺ²¡¤·¤«(30¥Ó¥Ã¥È¤Î¤ß) Put_lparam |= 1 << 31 //ÊÑ´¹¥¿¥¤¥×(31¥Ó¥Ã¥È¤Î¤ß) PostMessage WindowHandle,WM_KEYUP,wVk,Put_lparam } return #global exec "notepad.exe" hw = FindWindow("notepad",0) hw = FindWindowEx(hw,0,"Edit",0) mes "target hwnd : "+hw await 4000 TargetSendStr = "HSP3.3 HOT SOUP PROCESSOR" repeat strlen(TargetSendStr) keybd_send hw,peek(TargetSendStr,cnt),0 keybd_send hw,peek(TargetSendStr,cnt),1 loop stop

ɬÍפ˱þ¤¸¤Æ¥Í¥Ã¥È¤Ê¤É¤ÇÄ´¤Ù¤Æ²þ¤¤·¤Æ¤Í¡£
(ñ½ã¤ËÁ÷¿®¤¹¤ë¤À¤±¤Ë¤·¤Æ¤¢¤ê¤Þ¤¹¡£¥­¡¼¤Î¹çÀ®¤Ê¤É¤Ï¤´¼«¿È¤Ç¹Í¤¨¤Æ¤Í)



ONION software Copyright 1997-2023(c) All rights reserved.