(OFF) A Partial Cure ?
(OFF) A Partial Cure ?
- Subject: (OFF) A Partial Cure ?
- From: Peter Bunn <email@hidden>
- Date: Thu, 29 May 2003 14:46:04 -0600
This is actually a serious request, though a few among you may find
amusement...
Recently, in an effort to wean myself (someone of 'virtually' no
self-discipline), from over-extended hours of web use, I implemented the
following:
Switched to a computer of 100 Mhz running OS 8.1 and bloated, archaic
browsers.
Involuntarily restricted modem speed (owing to a rural location and lousy
dialup connection) to about 20K.
Wrote a stay open script app (see below) which constantly checks to see
if certain (forbidden) processes are running... and quits them if they
are.
Made the same script a background only item that can't be quit without
essentially bringing down the house... and placed an alias for it in the
Start Up Items folder.
Devised a means to 'bury' said script, as well as the associated apps,
aliases and related items so deep in a given directory structure as to
make it thoroughly annoying to get there.
Trashed Find File. (Sherlock doesn't exist here).
Swore an oath and made a pledge.
-----
The end result of all off the above and below is that when I try to fire
up one of the forbidden aliased apps from elsewhere, it quits
immediately... unless the hour of the day permits its use.
At this point, I consider that I'm getting close to a satisfactory
solution, but when I try to shut down, the background script won't allow
it... and since the intent of my efforts... well, it would be nice to be
able to shut down at least once in a twenty-four day.
Another problem is that I can still 'Reveal' the original script from the
start up item alias
I welcome suggestions. This is _not_ intended for distribution, even
though, once again I have convinced myself that it has VAST commercial
potential.
In a humorous vein.
Peter B.
"Back On The Chain Gang"
--------------------
repeat
tell application "Finder"
set the_time to (time of the (current date)) / 3600
set _processes_ to the name of every process as list
set not_now to list folder "Macintosh HD:Buried Deep:Forbidden
Territory:"
end tell
repeat with no_no in not_now
if no_no is in _processes_ then
if the_time > 9 or the_time < 21 then
tell application no_no
quit
end tell
end if
end if
end repeat
end repeat
-------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.