[Ti] Message pop ups

Jerry Krinock dearjerry at mindspring.com
Thu Jan 30 13:30:33 PST 2003


I wonder why it doesn't work in a remote session, because it certainly works
if you just open Terminal and run it on your local machine - I just tried
it.

I don't have another Mac here now, but here's a more complicated method:

1.  Use the Applescript Script Editor to compile the two "tell" commands
into an application.  Name it "myPopup".

2.  Copy myPopup to your friends Mac.

3.  ssh into your friend's Mac and then "run" the popup by typing

open myPopup

4.  Delete myPopupApplet from your friend's hard drive.  (You may have to
wait until after the dialog has been dismissed).

Jerry

on 03/01/30 12:45, Loren Schooley at loren at flash.net wrote:

> On 1/30/03 2:34 PM, "Glenn L. Austin" <glenn at austin-home.com> wrote:
> 
>> on 1/30/2003 9:39 AM, Jerry Krinock at dearjerry at mindspring.com wrote:
>> 
>>>> On Thursday, January 30, 2003, at 03:30 PM, Loren Schooley wrote:
>>>> 
>>>>> Does OSX have a pop up message program?
>>>> 
>>> I'm not sure if this will work, but try typing this into the Terminal after
>>> you've logged into his machine:
>>> 
>>> /usr/bin/osascript -e 'tell app "Finder" to activate' -e 'tell app "Finder"
>>> to display dialog "This is John Ashcroft with a terrorism alert.  All
>>> first-born children in your neighborhood have just been evacuated.  Any
>>> further information has been classified." default button 1 with icon caution
>>> giving up after 60'
>> 
>> Nope, doesn't work.
> 
> Yeah, I tried it earlier using different osa commands, but I can't get
> Finder to respond. Of course-no 'man finder' either. I can't figure out how
> to exec the app named Finder. :-)



More information about the Titanium mailing list