ParoXsitiC Posted January 3, 2009 Share Posted January 3, 2009 I have a script that logs into a VPN firewall, and the firewall automatically refreshes itself to stay acitve via javascript. I have been unable to pinpoint the exact javascript code, so therefore instead I just keep the window open and then I hide it using autoit. However, it seems that when you hide an IE window, that the JS or anything else doesnt automatically trigger so the javascript to keep the firewall active never occurs and it times out. I was wondering if anyone else has ever faced this problem and what the solution could be. Perhaps a different way to "hide" a window, perhaps something with a transparancy. Link to comment Share on other sites More sharing options...
FireFox Posted January 3, 2009 Share Posted January 3, 2009 (edited) @ParoXsitiC perhaps something with a transparancy.WinActivate("[CLASS:IEFrame]", '') WinWaitActive("[CLASS:IEFrame]", '', 3) WinSetTrans("[CLASS:IEFrame]", '', 0) ; 0 = totaly transparent / 255 = normal Cheers, FireFox. Edited January 3, 2009 by FireFox Link to comment Share on other sites More sharing options...
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