Sign in to follow this  
Followers 0
bobheart

Run("taskmgr") and it won't stop grr

12 posts in this topic

If I run that it just loops in the system tray like crasy and I have to shut down to get it to stop . and way to make it run one time then stop or exit the au3 ?

Share this post


Link to post
Share on other sites



Run("taskmgr") works fine for me, maybe post more of the code.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Thats all I had ..

Share this post


Link to post
Share on other sites

Thats all I had ..

that's all the code? the whole script?

"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

ya .. should there be more .. :D I just tried that to see if it would work . it does but goes crasy .

Edited by bobheart

Share this post


Link to post
Share on other sites

odd, no problem for me, though could it be that taskmgr is set to "always on top" is that it?


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

Yes it was . would that make it do that ?

I don't want to run it and have to reboot again .

Share this post


Link to post
Share on other sites

well, that's the setting by default, it'll keep the setting if you change it, or just go to the system tray if you minimize it... you could have your script check to see if the taskmgr window exists and restore it if it does...


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

The task manager on XP will only allow 1 instance of itself to run except under two circumstances:

  • Two instances are created so quickly that when they perform the check for another instance, it doesn't see the other instance yet because the semaphore/mutex isn't created.
  • The system is running extremely sluggishly and for whatever reason, the check for another instance fails and a second instance is created.
It sounds like you have some other problem going on. Especially if multiple copies of the task manager are being spawned.

Share this post


Link to post
Share on other sites

no not the task manager the au3 file it keeps closing then starting again .

Share this post


Link to post
Share on other sites

Then does it do it if you run notepad for example?

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

No that runs fine just like all the other exe's . first time it has done anything like this .

I start it , you see it running in the system tray and it quits and restarts again and keeps doing it real fast . the little arrow that you click on to show items in the system tray is going back and forth .. and to stop it i have to shut down and reboot .

Edited by bobheart

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  
Followers 0