MSFN Forum: Need help with AutoIt (new) - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need help with AutoIt (new) Rate Topic: -----

#1 User is offline   EliasXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 135
  • Joined: 15-January 05

Posted 25 January 2005 - 11:52 AM

Can someone tell me how to write this code?

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Title <<<<<<<<<<<<<
NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard

(  classname=#32770  )

>>>>>>>>>>> Window Dimensions <<<<<<<<<<<
left: 292     top: 250     width: 696     height: 525

>>>>>>>>>>> Mouse Position <<<<<<<<<<<
On Desktop:	x: 760     y: 752
In Window:	x: 468     y: 502

>>>>>>>>>>> Pixel Color Under Mouse (RGB) <<<<<<<<<<<
Hex: 0x7E7D7E    Dec: 8289662

(Obselete BGR Mode -  Hex: 0x7E7D7E    Dec: 8289662)

>>>>>>>>>>> Last Control Under Mouse <<<<<<<<<<<
Class: Button1
Text: &Volgende >

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<


>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
&Volgende >
Annuleren
< V&orige
Welkom bij NVIDIA Setup. Hiermee installeert u NVIDIA-stuurprogramma's voor het beeldscherm.
Welkom bij de InstallShield Wizard voor NVIDIA

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<
C


Thanks,

Elias


#2 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 25 January 2005 - 12:19 PM

where i told u the script in the other post

if it's a control i.e textbox, button etc

just

controclick("Window Title" , "ControlText" , "ControlName")


window title being: NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard
Control Text being:&Volgende >
Control name being: Button1

if u needa wait while the window is there

Winwaitactive("WindowTitle" , "Window Text")

Window Title:NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard
Window Text:Welkom bij de InstallShield Wizard voor NVIDIA

just example change if nesacery

#3 User is offline   EliasXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 135
  • Joined: 15-January 05

Posted 25 January 2005 - 12:43 PM

I use this in my script, but is doesn!t work :(
controlclick("NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard" , "&Volgende >" , "Button1")

I need to wait some time. can u tell me what i have to do then?
My windows spy says this when i'm there:

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Title <<<<<<<<<<<<<
NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard

(  classname=#32770  )

>>>>>>>>>>> Window Dimensions <<<<<<<<<<<
left: 292     top: 250     width: 696     height: 525

>>>>>>>>>>> Mouse Position <<<<<<<<<<<
On Desktop:	x: 757     y: 751
In Window:	x: 465     y: 501

>>>>>>>>>>> Pixel Color Under Mouse (RGB) <<<<<<<<<<<
Hex: 0x828382    Dec: 8553346

(Obselete BGR Mode -  Hex: 0x828382    Dec: 8553346)

>>>>>>>>>>> Last Control Under Mouse <<<<<<<<<<<
Class: Button1
Text: &Volgende >

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<


>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
&Volgende >
Annuleren
< V&orige
Welkom bij NVIDIA Setup. Hiermee installeert u NVIDIA-stuurprogramma's voor het beeldscherm.
Welkom bij de InstallShield Wizard voor NVIDIA

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<
C


Thanks a lot ev0 :thumbup

#4 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 25 January 2005 - 01:08 PM

Try

winwaitactive("NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard" , "Welkom bij de InstallShield Wizard voor NVIDIA")
controlclick("NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard" , "&Volgende >" , "Button1")

if that don't work time the wait period and put

sleep(TimetoSleep)

500 = half a second
1000 = 1 second

#5 User is offline   EliasXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 135
  • Joined: 15-January 05

Posted 26 January 2005 - 07:06 AM

i'll try that :D

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy