后端开发|php教程
atitit.激活一个窗口总结 swing java .net php
后端开发-php教程
atitit.激活一个窗口总结
百度百家源码,ubuntu 14 代号,tomcat窗口关不了了,后浪评论爬虫,dotenv php,南坪知名seo优化效果好不好lzw
1激活窗口:鼠标激活vswindows消息激活… 1
高校信息门户平台源码,vscode中文设置不生效,ubuntu代码查看,2个ssl tomcat,python爬虫小时,php判断上传文件类型,如何做好seo推广引流,网站 特效代码,pptv在线网模板lzw
1.1Web框架激活… 1
微信交友平台源码,vscode撤销操作,ubuntu libsx,tomcat 后端配置,sqlite qt写入中文,织梦网页视频插件,移动前端ui框架下载,爬虫 B站视频评论,php 部署服务,成都外包seo 排名,java课程网站模板下载,html网页如何在手机里全屏,mac自带视频模板lzw
2退出激活窗口热键(dbg模式)… 1
3俩个窗口激活优先级… 2
4Web控件激活?code. 3
1 激活窗口:鼠标激活vs windows消息激活
原则上尽可能的使用消息激活。。
WinGet, active_id2, ID, ahk_classSunAwtFrame
;MsgBox%active_id2%
WinActivate, ahk_class SunAwtFrame
1.1 Web框架激活
使用消息不能激活 。。ControlFocus,InternetExplorer_Server
ControlFocus,InternetExplorer_Server1
只好使用鼠标激活。。(鼠标左右键均不适合激活用,中建激活最好了。。。
final Robot rb = new Robot();
clickMidKeyMouse(rb,50);
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:1466519819@
2退出激活窗口热键(dbg模式)
#c:: ExitApp ::win+c
要放的个loop 后面了。。被而不个cant exe
3俩个窗口激活优先级
DetectHiddenWindows, On
Loop
{
;class PowerDVD14
;PowerDVD
;ahk_classPowerDVD14
WinGet,active_id, ID, PowerDVD,,Everything,Everything
WinActivate,ahk_classPowerDVD14
WinMaximize,ahk_classPowerDVD14
;;,,Everything,Everything
;MsgBox aa
IfWinNotExist,ahk_class PowerDVD14
{
WinGet,active_id2, ID, ahk_class SunAwtFrame
;MsgBox%active_id2%
WinActivate, ahk_class SunAwtFrame
ControlFocus,InternetExplorer_Server
ControlFocus,InternetExplorer_Server1
}
;msgbox tt
Sleep, 3000
}
#c:: ExitApp
4 Web控件激活?code
publicstaticvoid activeWin() throws AWTException {
while(true)
{
try {
booleanexistPower=false;
try {
String playserver=PropX.getConfig(pathx.classPath()+”/cfg.properties”, “actsleep”);
intactsleep=3000;
try {
actsleep=Integer.parseInt(playserver);
} catch (Exception e) {
// TODO: handle exception
}
start: Thread.sleep(actsleep);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
List set=ProcessX. getProcessList();
// Listlst=
for (String line : set) {
if(line.contains(“PowerDVD.exe”) || line.contains(“PowerDVDMovie”))
{
System.out.println(“exist dvd “);
existPower=true;
break ;
}
}
if(existPower) // if sexist power dvd ,,b actselect win..
continue;
System.out.println(“—no exist dvd”);
final Robot rb = new Robot();
clickMidKeyMouse(rb,50);
} catch (Exception e) {
e.printStackTrace();
}
}
}
参考
proj。atibrow
actPlayWin.ahk