Jump to content
Sign in to follow this  
zandztrom

Installation Script problem

Recommended Posts

zandztrom

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
yellow

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

Edited by yellow

Share this post


Link to post
Share on other sites
Somerset

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
Alex Lau

try this code:

...

WinWait("...")

If Not WinActivate("...") Then

WinActivate("...")

EndIf

send(...)

Share this post


Link to post
Share on other sites
zandztrom

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

Share this post


Link to post
Share on other sites
zandztrom

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.