![]() |
The application is Adobe Illustrator CS2 & CS3. The plugin is loaded once the application is launch.
|
well, first draft. take this script, paste it into the script editor and save it as a stay-open application bundle. (you'll also want to play with the info.plist file in the package to give it a non-generic name and make it background only, but that can wait until after it's been debugged). give it permissions so that only admins can run or execute it, put it in an admin folder somewhere so no one messes with it, and run it at startup. it should sit in the background and check once a minute to see if illustrator is the active app, and if it's not the active app for ten minutes it should throw up an alert and quit Illustrator 30 seconds later.
I don't have illustrator to test it on, of course, so you'll have to play with it yourself. code: Code:
property ticsSinceActive : 0 |
improvements. this version checks to see if it's been active in the last ten minutes, and also records the maximum and average cpu for the last ten minutes, and closes the app if either is less than 3%. you can play with the conditions and the %s to suit your tastes.
Code:
property ticsSinceActive : 0 |
Thanks tw,
I'll have a try and see how it goes. Cheers, Jeno |
Quote:
|
| All times are GMT -5. The time now is 02:06 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.