?? pollserver_projectorreporting.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 + -