realbasic-nug
[Top] [All Lists]

Re: Appleevent stumped

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Appleevent stumped
From: "Fred Stephenson" <fredstep at gmail dot com>
Date: Thu, 31 May 2007 17:13:42 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <465EA0B8 dot 2060306 at communication-unltd dot com> <ad530d720705310557v49e58aa9oae7b0ec6f43b7bc2 at mail dot gmail dot com> <c662a4e80705310738u46e2b820k12e013c8a70e1dfd at mail dot gmail dot com> <ad530d720705310752l59c17203r5483351068c110dd at mail dot gmail dot com>
Dean,

On 5/31/07, Dean Davis <afterten at gmail dot com> wrote:
> OK, I see. You are constructing a Remote AppleEvent to do a Growl
> notification.

Actually it's to talk to a Helix database on another machine. Growl is
just there to send notification if anything goes wrong.

You app also does it's own email stuff (POP, SMTP).

Yes.
>
> Before you issue the call to the code that does the remote AEvent all
> you POP/SMTP code works fine but after you issue a call to the Remote
> AEvent, all the sudden, you POP/SMTP code starts going haywire.
>
> Is this a fair assesment?

If i'm running the Helix Database on the same machine then everything
works fine. If i run the helix database on another machine then the
only change is the call to the remoteAE and that's when stuff returned
>from the POP and SMTP goes haywire.

>
> Also, I forgot that native RB AE remote targeting is not working
> correctly (I think I even filed the bug report on it a looooooong time
> ago).

And the AppleeventTarget is still in there ;?)

Well i think I'll run the console just to see what the AEs are doing,
just in case

Thanks
Fred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Thu 31 May 2007 09:14:29 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 2A47729CF450; Thu, 31 May 2007 08:14:41 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-3.0 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
        NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id F0C3729CF438;
        Thu, 31 May 2007 08:14:37 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 2107D336EDF;
        Thu, 31 May 2007 10:14:30 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
        by lists.realsoftware.com (Postfix) with ESMTP id 182EB336ED3
        for <realbasic-nug at lists dot realsoftware dot com>;
        Thu, 31 May 2007 10:14:26 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id 0052D75CDA8
        for <realbasic-nug at lists dot realsoftware dot com>;
        Thu, 31 May 2007 09:14:28 -0600 (MDT)
Date: Thu, 31 May 2007 09:14:29 -0600
Subject: Re: Boolean complement of CStr.
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <1BAF3627-C0AB-4EC4-B0C3-DBACCD462C93 at shaw dot ca>
X-Mailer: VerEx Email Gateway
Message-Id: <20070531151428 dot 0052D75CDA8 at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On May 31, 2007, at 15:09 UTC, Terry Ford wrote:

> Would there be any support for a built-in Rb complement to CStr when 
> converting "True" as a string to the Boolean value of True?
> 
> Something like a "BVal" function?

That'd be the complement of CDbl, not CStr.  You can already do this by
passing it through a Variant.  And making your own (as you noted) is
very trivial too.  I personally don't see the need to add another
global function to the framework for this rarely-needed operation.

My $0.02,
- Joe


--
Joe Strout -- joe at strout dot net
Strout Custom Solutions


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>