zandztrom Posted November 30, 2006 Posted November 30, 2006 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?
yellow Posted November 30, 2006 Posted November 30, 2006 (edited) you'd better try Winexists , winsetontop...... Edited November 30, 2006 by yellow
Somerset Posted November 30, 2006 Posted November 30, 2006 you have to give more info than just having problems as aquestion. The more information the better for others to try to help.
Alex Lau Posted November 30, 2006 Posted November 30, 2006 try this code: ... WinWait("...") If Not WinActivate("...") Then WinActivate("...") EndIf send(...)
zandztrom Posted November 30, 2006 Author Posted November 30, 2006 tnx so much for your fast replys i will try them asap...
zandztrom Posted November 30, 2006 Author Posted November 30, 2006 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now