⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pollserver_projectorreporting.aut

📁 自己写的轮询提问的小程序 新手刚学 多多指教 合乎哈
💻 AUT
字号:
; JustPoll wrapper script (written in AutoIt version 2)
; first starts the desktop control panel
; then extends the desktop to the second monitor (projector)
; then starts JustPoll jar file, waits and then unsets the 
; extended desktop setting. This was by far the longest sentance.
; This file is meant to work in Windows XP Pro only.
;
;Copyright (C) 2005-2006  Igor Partola, Michael J. Krikonis, Clark University
;
;This program is free software; you can redistribute it and/or
;modify it under the terms of the GNU General Public License
;as published by the Free Software Foundation; either version 2
;of the License, or (at your option) any later version.
;
;This program is distributed in the hope that it will be useful,
;but WITHOUT ANY WARRANTY; without even the implied warranty of
;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;GNU General Public License for more details.
;
;You should have received a copy of the GNU General Public License
;along with this program; if not, write to the Free Software
;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


SetBatchLines, 200
SetKeyDelay, 2


SplashTextOn, 300, 300, JustPoll startup script, Please wait while JustPoll configures your display and starts the control panel

Run, control.exe desk.cpl



WinWaitActive, Display Properties

Send, {TAB}

Send, {TAB}

Send, {TAB}

Send, {TAB}

Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}

Send, {TAB}
Send, {TAB}
Send, {DOWN}

;Set resolution for first monitor
Send, {TAB}
Send, {TAB}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {LEFT}
Send, {TAB}
Send, {TAB}

Send, {+}

Send, {TAB}


Send, {UP}


;Set resolution for second monitor


Send, {TAB}
Send, {TAB}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}


Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}

Send, {ENTER}

WinWaitClose, Display Properties

SplashTextOff

RunWait, javaw.exe -jar PollServer.jar -p

SplashTextOn, 300, 300, JustPoll shutdown script, Please wait while JustPoll reverts your display settings to their defaults and shuts down


Run, control.exe desk.cpl



WinWaitActive, Display Properties

Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}

Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}
Send, {RIGHT}

Send, {TAB}
Send, {TAB}
Send, {DOWN}




Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {TAB}
Send, {-}

Send, {ENTER}


[ADLIB]
Monitor Settings,, Send, !y
Flat Panel Warning,, Send, {ENTER}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -