Sign in to follow this  
Followers 0
Guest BigLarry

Trying To Change Resolution And Then More

2 posts in this topic

AutoIt stalls after I change my screen res to TV out with my Rage Fury Card. I am trying to get it to perform additional commands in the display properties window after the resolution changes, but it stalls. I've tried WinWaitActive and others, but nothing seems to work. Here's my script:

;
; AutoIt Version: 2.x
; Language:       English
; Platform:       Win9x/NT
; Author:         A.N.Other (myemail@nowhere.com)
;
; Script Function:
; Template AutoIt script.
;
; Runs the Display Control Panel
; & Changes the Screen Resolution

DetectHiddenText, on

Run, control.exe desk.cpl
WinWaitActive, Display Properties
; Click the Settings TAB
LeftClick, 279, 40
;Open the Advanced Tab
LeftClick, 340, 390

WinWaitActive, Plug and Play Monitor and Rage Fury Pro/Xpert 2000 Pro   Properties
;Open Displays Tab
LeftClick, 50, 45
;Turn On TV Display
LeftClick, 240, 190
;Hit Apply
LeftClick, 275, 452
;Hit OK
LeftClick, 450, 115

WinWaitActive, ATI Property Page,, 3 <-- I can't get this to work .. it's a radio button
LeftClick, 187, 116
;Hit "Yes" to accept resolution




WinWaitActive, (Multiple Monitors) and Rage Fury Pro/Xpert 2000 Pro   Properties
;Hit OK on Display Tab
LeftClick, 112, 451

WinWaitActive , Display Properties
LeftClick, 193, 431

.. any ideas?

Share this post


Link to post
Share on other sites



WinWait,title,text
IfWinNotActive,title,text,WinActivate,title,text
WinWaitActive,title,text
Send,keystrokes....
That did it! Thanks! :whistle:

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0