Check Acrobat if no responding

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
optiquest
Newbie
Posts: 2
Joined: Wed Dec 28, 2005 4:46 pm

Check Acrobat if no responding

Post by optiquest » Wed Dec 28, 2005 5:18 pm

How can I make the script checking to see if Acrobat is running. If it's not responding, then quit acrobat and restart again.

I have the pro version.

Thank you

User avatar
Marcus Tettmar
Site Admin
Posts: 7391
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 28, 2005 6:50 pm

Hi,

Hmmm. "Not Responding" just means that the software didn't return a response to the operating system when requested and doesn't necessarily mean that it has hung. There is no actual status flag that indicates a process has hung. But you can find out what percentage of the CPU a process is using and make some assumptions based on that.

See this post for details on how to list information about running processes:
http://www.mjtnet.com/forum/viewtopic.php?t=1652

And a Google search found this which might help:
http://cwashington.netreach.net/depo/view.asp?Index=992

You could modify both of these to just look at the specific Acrobat process.

Hopefully a combination of the two articles above will get you where you want to go.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts