Re: Simple Script Request
Re: Simple Script Request
- Subject: Re: Simple Script Request
- From: Takaaki Naganoya <email@hidden>
- Date: Fri, 10 Mar 2006 10:06:43 +0900
- Thread-topic: Simple Script Request
How about this code ? I think Classic Finder is not stable. So you have to
test this script for a few days before giving to children.
<script>
property idleTime : 5
on idle {}
tell application "Finder"
set pList to name of every process whose name is equal to "Internet
Explorer"
if length of pList = 0 then return idleTime
end tell
using terms from application "Internet Explorer"
tell application "Internet Explorer"
try
set bList to ListWindows
on error
quit
end try
end tell
end using terms from
return idleTime
end idle
</script>
--
Takaaki Naganoya
Piyomaru Software
http://www.appleco.jp/piyomarusoft/
On 06.3.10 8:44 AM, "Joe Lachoff" <email@hidden> wrote:
> Hi Applescript-Users,
> My name is Joe Lachoff, I am the coordinator of the Glenview
> Elementary PTA iMac Program, a program that puts donated iMac G3s
> into the classrooms at our local public elementary school in Oakland,
> California. This is an all volunteer program and we operate without
> any budget.
>
> I personally do most of the work to restore these computers and make
> sure they all have the same software and settings. One challenge we
> currently have is that the youngest children often close the last
> window in Internet Explorer 5.1, and can't figure out how to get a
> new window back. An ideal solution would be a simple applescript that
> just quits IE upon the closure of the last open window in the
> application. The children know how to launch IE, and when they launch
> it again, it will automatically open a new window, as desired.
>
> If someone on this list can help out by pointing me to a script that
> does this, or, if you have the ability to write such a (seemingly)
> simple script and donate it to the program, we would be very
> appreciative indeed. Please note that the computers are all running
> Mac OS 9.2.2, with IE 5.1.7.
>
> Thanks in advance,
> Joe Lachoff
> Coordinator, Glenview Elementary PTA iMac Program
>
> http://www.initini.com/glenview/imacprogram.html
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
Attachment:
IE Watcher.sit
Description: Macintosh archive
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden