Hi Geoff and WAMUG folks.
For a flag or similar, just do a ping...
Let's say your machines are visible via TCP/IP internally...
Ping machine 1, to see if machine 2 is available. e.g. ping 192.168.1.12
Or, enable web-sharing on one of the machines, and use the other to
test if a particular (simple) page you are hosting, is alive or not.
If you were using 10.4 on one of the machines, you could try
combining your AppleScript ideas, with using Automator... E.g.
perhaps making an automator workflow that checks if the machine is
alive, and if so, don't shutdown the local machine. The user of
this machine could run this whenever they want to shutdown, rather
than using the Apple menu - Shutdown option :-)
There is also the application 'Simon' which is great for checking if
a machine / service / website etc. is alive. You can set it to run
scripts.
There is also various 'shutdown' applications on Versiontracker,
including one that mentions Applescripting... I wanna
sleep (although this app looks more like a general timer)
http://www.versiontracker.com/dyn/moreinfo/macosx/17803
Hope this helps as a starting point...
Cheers,
Derek
On 07/03/2008, at 5:02 AM, WAMUG Mailing List wrote:
Date: Thu, 6 Mar 2008 12:08:50 +0800
From: Kaye and Geoff [EMAIL PROTECTED]
Subject: Network awareness
When 10.3 mounts the 10.2 disks,
and 10.2 user unthinkingly shuts down without checking first, there
is no dialogue box or other indication that another machine is
attached; 10.2 just shuts down. Not surprisingly this annoys 10.3
user.
Does anyone know of any solution to this problem, either something
straightforward, or any flag which can be inspected by Applescript?
Thanks
Geoff
-- The WA Macintosh User Group Mailing List --
Archives - http://www.wamug.org.au/mailinglist/archives.shtml
Guidelines - http://www.wamug.org.au/mailinglist/guidelines.shtml
Unsubscribe - mailto:[EMAIL PROTECTED]