<HTML><FONT FACE=arial,helvetica><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">Thanks! <BR>
<BR>
This is just what I'm looking for, except one thing - - - since this is for a commercial application, I can't use the beta of Rev 2.   If I can just get this working in Applescript, then I can get this working in Rev 1.1.1 with the Applescript PowerAdd-ons OSAX to make calls to the unix shell.<BR>
<BR>
The problem I'm having is that if I do:<BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1">Shell</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1"> "open /System/Library/CoreServices/Menu Extras/PPPoE.menu"</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
in Applescript, it gives me this error:<BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1">No such file: /System/Library/CoreServices/Menu</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
This makes me think that AppleScript doesn't like the space after the word "Menu".   AppleScript also doesn't like when I put quotes in the shell command like this:<BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1">Shell</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1"> (</FONT><FONT COLOR="#0000FF" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1">open</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="1"> "/System/Library/CoreServices/Menu Extras/PPPoE.menu")</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
it then says "can't open file due to AppleEvent error".<BR>
<BR>
So unfortunately, this is turning more into an AppleScript problem as opposed to a Revolution problem, but either way, I'm still somewhat stuck.   Any advice is appreciated.<BR>
<BR>
In a message dated 3/18/03 11:13:35 AM, kray@sonsothunder.com writes:<BR>
<BR>
<BR>
<BLOCKQUOTE CITE STYLE="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px" TYPE="CITE"></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
</FONT><FONT COLOR="#0000FF" FACE="Arial" FAMILY="SANSSERIF" SIZE="2">You can do it this way with Rev 2:</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
  <BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Arial" FAMILY="SANSSERIF" SIZE="2"> on mouseUp</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Arial" FAMILY="SANSSERIF" SIZE="2">   set the hideConsoleWindows to true</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Arial" FAMILY="SANSSERIF" SIZE="2">   get shell("open " & quote & "/System/Library/CoreServices/Menu Extras/PPPoE.menu" & quote)</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Arial" FAMILY="SANSSERIF" SIZE="2"> end mouseUp</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
  <BR>
<BR>
</FONT><FONT COLOR="#0000FF" FACE="Arial" FAMILY="SANSSERIF" SIZE="2"> Works for me in 10.2.4,</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
  <BR>
<BR>
<BR>
 Ken Ray<BR>
Sons of Thunder Software<BR>
Email: kray@sonsothunder.com<BR>
Web Site:</FONT><FONT COLOR="#0000FF" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><A HREF="http://www.sonsothunder.com/"> http://www.sonsothunder.com/</A></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"> -----Original Message-----<BR>
</FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"><B>From:</B></FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"> use-revolution-admin@lists.runrev.com [mailto:use-revolution-admin@lists.runrev.com]</FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"><B> On Behalf Of</B></FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"> RGould8@aol.com<BR>
</FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"><B>Sent:</B></FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"> Tuesday, March 18, 2003 8:44 AM<BR>
</FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"><B>To:</B></FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"> use-revolution@lists.runrev.com<BR>
</FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"><B>Subject:</B></FONT><FONT COLOR="#000000" FACE="Tahoma" LANG="0" SIZE="2"> Way to put PPPoE status in menubar?<BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">I'm trying to figure out how to get Revolution to put the PPPoE status in the menubar in Mac OS X.  (Basically mimicing what happens if the user were to check the "show PPP status in menubar" checkbox in the networking pane).<BR>
<BR>
After digging around in the web for a bit, I read that this will do the trick in the terminal window:<BR>
<BR>
/System/Library/CoreServices/Menu Extras/PPPoE.menu<BR>
<BR>
However, when I go into the "Library" folder, I don't see this CoreServices directory.  I'm assuming if I can get this working in terminal, then there's a way to get AppleScript to make a call to the terminal from Revolution to execute the command.  Anyone have an idea of what this syntax might look like?<BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
</BLOCKQUOTE></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"></FONT></HTML>