[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Apple Events without parameters



on 10/22/99 09:57, Chris Nandor at pudge@pobox.com wrote:

>> However, I still am curious about your statement above.  Although you say I
>> can't directly launch my app, the script below does just that.  Why is this?
> 
> Because Mac::AppleEvents::Simple uses Mac::Apps::Launch.  :)  It first
> looks to see if the app is running, and if not, it launches it.  Any event
> sent would launch the app if it wasn't already running.  What oapp does is
> send the app a signal like "hey, you were just opened, so now do whatever
> it is that you do when you are just opened."  So if an app opens a new
> window when launched, then sending the oapp event repeatedly will open new
> windows.

Ah, ha! The ol' stealth launch... ;-)

Thanks again.

-Rick



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org