Sign in to follow this  
Followers 0
blumsguett

Adobe Reader 7. Activate Problems

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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


[center]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.[/center]

Share this post


Link to post
Share on other sites

Opt("WinTitleMatchMode",2) does not work...

i see adobe reader in the taskbar, but no focus...

Share this post


Link to post
Share on other sites

Try changing your WinWaitDelay, I changed mine to 500 and it worked for me.

Share this post


Link to post
Share on other sites

i change WinWaitDelay to 5000... works...

it is possible, to change WinWaitDelay for 2 or more times in the script ???

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0