Re: Apple System Profiler not closed
Re: Apple System Profiler not closed
- Subject: Re: Apple System Profiler not closed
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 10 Mar 2001 08:00:19 -0800
On 3/10/01 7:34 AM, "Robert Poland" <email@hidden> wrote:
>
Hi,
>
>
I tried the following script, everything works as expected and is
>
reported as expected. Except the Apple System Profiler is left open.
>
>
Can anyone explain this to me?
>
>
tell application "Apple System Profiler"
>
set The_IP_Address to TCPIP address as string
>
close
>
end tell
>
You don't tell 'close' to an application; that's for its windows, documents,
etc. It's just being ignored here because you haven't put in an object or
objects that you want it to close. What you want here is 'quit'.
--
Paul Berkowitz