Re: Fwd: Bring Finder to Front via ssh?
Re: Fwd: Bring Finder to Front via ssh?
- Subject: Re: Fwd: Bring Finder to Front via ssh?
- From: "Robert C. Jacobson" <email@hidden>
- Date: Wed, 7 Aug 2002 15:23:31 -0400
At 1:49 PM -0400 8/7/02, Rob Jorgensen wrote:
Howdy,
This question is from someone on another list. Since I'm not
familiar with OS X yet, I thought I'd run it by this list.
Put on your thinking caps, kids. Here's a stumper. Can I log into a
Mac running OS X via ssh and tell it, somehow, to bring Finder to
the front? This would be the equivalent of clicking on the desktop.
I wonder if I could write an AppleScript that told Finder to
"Activate" and then call that script via a terminal session....
Anyone ever try something like this?
I don't think you can do it with AppleScript:
# osascript -e 'tell application "Finder" to activate'
execution error: Finder got an error: Application isn't running. (-600)
You can however, use open:
open -a /System/Library/CoreServices/Finder.app/Contents/ Mac OS/Finder
** Sorry, but Eudora is automatically correcting my spelling
"mistake" -- there shouldn't be any spaces in Mac OS above. I'll fix
that right after I send this!
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson email@hidden
BS, Aeronautical Engineering Univ. of Md., College Park
Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
(301) 286-1591
_______________________________________________
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.