Sign in to follow this  
Followers 0
zandztrom

Installation Script problem

6 posts in this topic

Hi,

I'm trying to script the installation of a GIS program suite with some patches for my company but sometimes the scripts stucks on dialogues for no reason(that I can see). I have tried lots of things, with and without "block input", with winactivate() before winwaitactive(), to send {enter} instead of "!n"(next) but for some dialogues nothing seems to help.

Does anyone have a soloution to these problems?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

you'd better try Winexists , winsetontop......

Edited by yellow

Share this post


Link to post
Share on other sites

you have to give more info than just having problems as aquestion. The more information the better for others to try to help.


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

try this code:

...

WinWait("...")

If Not WinActivate("...") Then

WinActivate("...")

EndIf

send(...)

Share this post


Link to post
Share on other sites

tnx so much for your fast replys i will try them asap...

Share this post


Link to post
Share on other sites

tnx so much for your fast replys i will try them asap...

The code above didn't work but i managed to solve it anyway.

Funny enough i had to put a Send("{TAB 2}") before the Send("!n") to tab between the buttons!

How strange is that???

Thank's so much for the tips anyway

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