realbasic-nug
[Top] [All Lists]

Re: Copying a program file through code

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Copying a program file through code
From: Rb Developer <rbdev2002 at yahoo dot com>
Date: Wed, 30 Jun 2004 09:02:33 -0700 (PDT)
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
Ok, a little clarity has appeared.  After all the
contents are copied, the new item on the disk all of a
sudden LOOKS like an application, not like a folder
anymore (as the correct icon).   But the copy of the
app won't execute.  I opened the copied package with
the Finder's "Show Package Contents", and I noticed
that some of the contents of the copied package had
the old name (makes sense) so I used the Finder to
open the package and change their names to match the
new copied name of the application package, but the
copied app package still won't execute, it just
crashes.

Shouldn't copying a program file be simpler than all
this???  (Sorry, I'm a Windows guy normally!!!)


> 
> 
> To copy 
> > an entire folder, you'd need to write a recursive
> > routine to create 
> > the folder structure and copy all the contents, or
> > use a simple 
> > AppleScript (or less simple AppleEvent) to tell
> the
> > Finder to do it 
> > for you.  Or, I suppose, use the Shell, though
> that
> > will require 
> > finding the proper shell path for your source and
> > destination.
> > 
> > Cheers,
> > - Joe
> > 
> > -- 
> >
>
,------------------------------------------------------------------.
> > |    Joseph J. Strout           REAL Software,
> Inc. 
> >               |
> > |    joe at realsoftware dot com      
> > http://www.realsoftware.com        |
> >
>
`------------------------------------------------------------------'
> > _______________________________________________
> > Unsubscribe or switch delivery mode:
> > <http://support.realsoftware.com/listmanager/>
> > 
> > Search the archives of this list here:
> >
>
<http://support.realsoftware.com/listarchives/lists.html>
> > 
> 
> 
> 
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> 
> Search the archives of this list here:
>
<http://support.realsoftware.com/listarchives/lists.html>
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

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

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