realbasic-nug
[Top] [All Lists]

Re: Dealing with packages and bundles

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Dealing with packages and bundles
From: Asher Dunn <asher at fireyesoftware dot com>
Date: Sun, 28 May 2006 16:39:40 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060528170038 dot 91B0612AD31D at lists dot realsoftware dot com> <76FD7EDD-A90D-4CB6-B392-849D0FE5146B at aztech4mac dot com>

On May 28, 2006, at 3:52 PM, Craig Hoyt wrote:

I have two issues regarding packages or bundles. When crawling a volumes directory the <.Directory=True> reports a package or bundle as a folder (and rightly so). How can I identify all forms of packages and bundles so I can skip over examining their contents and just accept the item as a file as the Finder does?

Most bundles have the file MyBundle.extension/Contents/Info.plist, but this doesn't appear to always be the case (GarageBand projects don't have it), so I'm not sure.

On the flip side... how does one create such a package or bundle? Is it just create a folder and set some attributes to it?

Create the folder, give it an extension, and give it the following subdirectory structure:

MyBundle.extension
        - Contents
                - Info.plist
                - other stuff goes here

Fill in Info.plist appropriately. Look around your machine or google for examples.

That *should* do it.

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


From  Sun 28 May 2006 22:57:23 +0200
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 5FE24541C2C; Sun, 28 May 2006 13:57:45 -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=-2.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id 89AA2541C1F;
        Sun, 28 May 2006 13:57:42 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 1C45312ADFC9; Sun, 28 May 2006 15:57:31 -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 smtprelay03.ispgateway.de (smtprelay03.ispgateway.de
        [80.67.18.15])
        by lists.realsoftware.com (Postfix) with ESMTP id 3496512ADFBA
        for <realbasic-nug at lists dot realsoftware dot com>;
        Sun, 28 May 2006 15:57:24 -0500 (CDT)
Received: (qmail 9844 invoked from network); 28 May 2006 20:57:23 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 107 dot 
123])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay03.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-nug at lists dot realsoftware dot com>; 28 May 2006 
20:57:23 -0000
To: realbasic-nug at lists dot realsoftware dot com (REALbasic NUG)
In-Reply-To: <FF2B8D72-49B0-4B62-9F28-14635D0C1A24 at divergentmedia dot com>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Sun, 28 May 2006 22:57:23 +0200
Message-ID: <1hg2kza dot l9sxod118zbifM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.6)
Subject: Re: using overlay windows with rb
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Mike Woodworth <mike at divergentmedia dot com> wrote:

but christian left a comment he had recreated the problem via declares as
well.  my question is, is it really that dire?

The workaround I know is: Make an helper application for just the
overlay window.

And of course blame RS.

Gru=DF
Christian

--=20
Around eleven thousand functions in one REALbasic plug-in.=20
The Monkeybread Software Realbasic Plugin v6.1.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


From  Sun 28 May 2006 21:53:18 +0000
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 B6FEE54212E; Sun, 28 May 2006 14:53:45 -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=-1.6 required=4.5 tests=BAYES_00,NO_REAL_NAME autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id 1438C542126;
        Sun, 28 May 2006 14:53:45 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id D58B312AE195; Sun, 28 May 2006 16:53:29 -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 rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81])
        by lists.realsoftware.com (Postfix) with ESMTP id 9773E12AE187
        for <realbasic-nug at lists dot realsoftware dot com>;
        Sun, 28 May 2006 16:53:20 -0500 (CDT)
Received: from rmailcenter74.comcast.net ([204.127.197.156])
        by comcast.net (rwcrmhc11) with SMTP
        id <20060528215320m1100k11jie>; Sun, 28 May 2006 21:53:20 +0000
Received: from [24.5.85.204] by rmailcenter74.comcast.net;
        Sun, 28 May 2006 21:53:18 +0000
From: rmbaer at comcast dot net
To: realbasic-nug at lists dot realsoftware dot com
Date: Sun, 28 May 2006 21:53:18 +0000
Message-Id: <052820062153 dot 18263 dot 
447A1BCE000D66EE0000475722073000339D0A0E0D039D at comcast dot net>
X-Mailer: AT&T Message Center Version 1 (Apr 11 2006)
X-Authenticated-Sender: cm1iYWVyQGNvbWNhc3QubmV0
Subject: translating bang
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

W.r.t.  VB to RB conversion, some legacy code has turned up a puzzle.
The puzzle is:  How should the bang operator (!) be translated to RB?
Looking at undocumented code in a database context, it looks as if
!x  is equivalent to ("x")  and  ![x y]  is equivalent to ("x  y"), but one
also finds code such as
     With XXX
!NameID = txtFields(2).text . . .
     End with

and code such as

    frmTemp!cmdOK.Top  =  . . .
    frmTemp!linD(2).X  =  . . .

where it appears that the symbol !  can be replaced by the period.

MS VB5 manuals are strangely silent (as if the bang operator does
not exist), yet the VB5 compiler accepts the ! notation and produces
usable code. The VB5 Help facility is also silent on the subject, although it accepts the ! as an query input.
So, is there advice as to conversion of this phantom?

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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