Rodger Posted December 14, 2007 Posted December 14, 2007 Hello, Is there a way to block applications from interrupting the AutoIt process. Example: Some mail programs display a popup when a mail is received. The AutoIt process doesn't go further until you press the OK button on the popup. The mail program may not be closed and must stay open. Thanks in advance, R.
xzaz Posted December 14, 2007 Posted December 14, 2007 while 1 if WinExists("title email program") Then ; Else ; Endif Wend Something lik this? Small Color Picker v0.2 | Travian bot
therks Posted December 14, 2007 Posted December 14, 2007 I've never heard of an application interrupting AutoIt, certainly not in the way you're describing, unless the popup is an AutoIt msgbox. In which case you could just replace it with a self made GUI. My AutoIt Stuff | My Github
Rodger Posted December 18, 2007 Author Posted December 18, 2007 I've never heard of an application interrupting AutoIt, certainly not in the way you're describing, unless the popup is an AutoIt msgbox. In which case you could just replace it with a self made GUI.We are using Lotus Notes. When a popup appears when there is a new mail, the OK button of that popup has the focus. The problem here is that you never know when the popup appears .....
Developers Jos Posted December 18, 2007 Developers Posted December 18, 2007 Just put an Adlib func in your script which tests for this popup window and clicks the ok. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Draygoes Posted December 18, 2007 Posted December 18, 2007 This popup is coming from another program, and is interrupting yours??? Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.
Rodger Posted December 19, 2007 Author Posted December 19, 2007 This popup is coming from another program, and is interrupting yours??????
Kerros Posted December 19, 2007 Posted December 19, 2007 I get the great joy of using Lotus Notes as well, I have turned off the popup notification, instead I get a Tray Icon when I receive new mail. To turn off the popup: File->Preferences->User Preferences On the Mail tab under the heading that says When New Mail Arrives, Uncheck Show a Popup. Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.
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