Jump to content

Recommended Posts

Posted

Hi,

testing following script:

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('C:\Programme\Adobe\Acrobat 7.0\Reader\AcroRd32.exe')
WinWait("Adobe Reader","")
If Not WinActive("Adobe Reader") Then WinActivate("Adobe Reader")
WinWaitActive("Adobe Reader")

but i get no focus, activate... for Acrobat Reader... why ???

thx

blumshuett

  • Moderators
Posted

It's probably your WinTitleMatchMode... since you are not using classname= try just using 2 instead of 4 and see if that helps.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Yes, add WinWaitDelay on any line in the script to change setting for code that follows. Add it as many times as you like.

Adobe has a tuner application on their site for setting the installer with your preferences and then you could then just silent install. Just a thought.

:D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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