Re: Get visible of process (was Re: Remote Access status)
Re: Get visible of process (was Re: Remote Access status)
- Subject: Re: Get visible of process (was Re: Remote Access status)
- From: Matt <email@hidden>
- Date: Sat, 9 Feb 2002 19:52:30 -0500 (EST)
Got it! The book frustrates one more time, but a web search reveals this
working usage:
set visible of the process "IPNetRouter.PPC" to false
...so getting rid of the "whose name is" part that NutShell says to use is
the way to go. I sure hope there's a 2nd edition with some notes on Mac
OS version and other component conundrums along with varying possible
usages soon...until then, I'm shelving this mess-making 1st Ed. as a
rule.
Thanks,
-Matt
On Sat, 9 Feb 2002, Matt wrote:
>
Glorious!
>
Of course, it's my my luck that I am using that problematic version of Mac
>
OS/ARA that slipped through the cracks on this issue...! Hello, Murphy's
>
Law and legitimate frustration!
>
>
Speaking of which, there is one (hopefully final; hopefully not too
>
stupid) problem that I am having:
>
I simply want to hide the running router and client software when
>
finished, but I keep getting an error that the script can't get visisble
>
of the process "EnterNet Settings" or "IPNetRouter.PPC", even though a
>
list of all processes shows both "EnterNet Settings" and "IPNetRouter.PPC"
>
as part of the list. I'm totally baffled here, and again, "AppleScript In
>
A Nutshell" shows this as how to do it:
>
tell application "Finder"
>
set visible of process whose name is "IPNetRouter.PPC" to false
>
end tell
>
>
...but it fails as above (using Mac OS 9.1; PowerMac7600/132)
>
I'm just about ready to throw this book in the trash, or give it to
>
someone who has a newer machine that can install 9.2.1...Grr!
>
>
Thanks,
>
-Matt
>
>
>
On Sat, 9 Feb 2002, Gnarlodious wrote:
>
>
> Entity Matt spoke thus:
>
>
>
> > if activity of (status of Remote Access configuration "EnterNet RA")
>
> > is not idle then
>
> Not workie in 9.1, however, yes, this works:
>
> http://homepage.mac.com/pcrawford/nyanza_software/products_and_services/prod
>
> ucts/ra_ppp_status.html
>
>
>
> RA PPP Status OSAX
>
>
>
> I was using it in 9.1 before I up?graded to 9.2. Takes a little finagling
>
> though.
>
>
>
> Rachel http://www.gnarlodious.com
>
>
>
>
>
>
>
>
>
Matthew Kozak
>
Rutgers University-Camden
>
email@hidden
>
>
**************************************************************************
>
"They that can give up essential liberty to obtain a little temporary
>
safety deserve neither liberty nor safety." -Ben Franklin
>
**************************************************************************
>
_______________________________________________
>
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.
>
Matthew Kozak
Rutgers University-Camden
email@hidden
**************************************************************************
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -Ben Franklin
**************************************************************************
_______________________________________________
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.