postmessage要切换了窗口才会运行

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: postmessage要切换了窗口才会运行

postmessage要切换了窗口才会运行

by kaji_ryouji » 24 Feb 2018, 07:41

PostMessage, 0x100, 0x51, 0xc0590, , ahk_exe pasty.exe, ,

原本是用的controlsend,问题是controlsend会影响我做别的事.他会导致有时候Ctrl+c的复制黏贴.或者alt的功能失效.

后来查了查有个postmessage就尝试着用了一下.结果现在有个问题是 . 只有在我从软件窗口切换到另一个窗口时.才有用.....必须是先点一下软件窗口.然后再切换到别的东西他才有用.哪怕我只是按一下alt....

目的只是让循环按下q w 键就.....

Top