hpp3 Posted August 5, 2005 Share Posted August 5, 2005 I am on NT4. Some program somewhere decided I needed an updated GDI32.dll (as if this were something new...). Now when I start Mozilla Firefox, it complains that the GDI gradient fill entry point not found, I click OK and then MFF starts and runs fine from there. Annoying, so I made a script to AutoIt-matically (hehe) pop that "OK" button. Worked beautifully until a week ago, when the "A" icon in my tray didn't go away after the script executed. Once again, harmless but annoying, and everytime I start MFF I get a new "A" in my tray. Why is this and how do I convince my script to properly go away after executing? Thanks... Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted August 5, 2005 Share Posted August 5, 2005 cant u right click and click exit or just press ctrl alt delte and end the process? Link to comment Share on other sites More sharing options...
hpp3 Posted August 5, 2005 Author Share Posted August 5, 2005 Yeah, but that's not the problem... The script should be exiting, as in going away, after it is done with it's job. Instead it sits there in my tray (paused) until I banish it with a right-click-exit. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted August 5, 2005 Share Posted August 5, 2005 paste ur script i want to look at it Link to comment Share on other sites More sharing options...
hpp3 Posted August 5, 2005 Author Share Posted August 5, 2005 ; AutoIt Version: 3.0 ; Language: English ; Platform: All ; Author: hpp3 ; ; Script Function: ; Because my NT system's gdi32.dll is the wrong one or something, ; I wrote a script to hit the 'ok' button when Firefox tells me ; Entry Point Not Found Run ("x:\program files\Mozilla firefox\firefox.exe") WinWaitActive ("firefox.exe - Entry Point Not Found") Send ("{ENTER}") Link to comment Share on other sites More sharing options...
AutoChris Posted August 5, 2005 Share Posted August 5, 2005 ; AutoIt Version: 3.0 ; Language: English ; Platform: All ; Author: hpp3 ; ; Script Function: ; Because my NT system's gdi32.dll is the wrong one or something, ; I wrote a script to hit the 'ok' button when Firefox tells me ; Entry Point Not Found Run ("x:\program files\Mozilla firefox\firefox.exe") WinWaitActive ("firefox.exe - Entry Point Not Found") Send ("{ENTER}")<{POST_SNAPBACK}>Try giving your WinWaitActive a timeout: $wait = WinWaitActive ("firefox.exe - Entry Point Not Found","", 5)If $wait = 1 Then Send ("{ENTER}")Else ExitEndIf Link to comment Share on other sites More sharing options...
hpp3 Posted August 5, 2005 Author Share Posted August 5, 2005 Hmm... that worked. Cool. Thanks! 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