Jump to content

Trying To Change Resolution And Then More


Guest BigLarry
 Share

Recommended Posts

Guest BigLarry

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?

Link to comment
Share on other sites

Guest BigLarry

WinWait,title,text
IfWinNotActive,title,text,WinActivate,title,text
WinWaitActive,title,text
Send,keystrokes....
That did it! Thanks! :whistle:
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...