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
Check Acrobat if no responding
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
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.
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?