realbasic-nug
[Top] [All Lists]

Re: I get a default ?Application Icon? with a "No Parking", sign above i

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: I get a default ?Application Icon? with a "No Parking", sign above it instead of my custom Icon
From: Terry Ford <tmford@shaw.ca>
Date: Sat, 30 Aug 2008 05:57:05 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <48B84F0E.1080606@wanadoo.fr>
References: <mailman.5261.1220033050.14733.realbasic-nug@lists.realsoftware.com> <48B84F0E.1080606@wanadoo.fr>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Aug 29, 2008, at 12:33 PM, Emile Schwarz wrote:

Doesn't one save it as a Compiled Script to work in REALbasic?
Where is this in the REALbasic documentation ?

Page 627 of the User's Guide in 2008r3 has the following information:
----------
Preparing an
AppleScript to
Work in
REALbasic
In order for REALbasic to run an AppleScript, the entire script must be enclosed in
an “on run” handler like this:

on run
//your script code goes here
end run

Next, your script must be saved as a compiled script. In the Script Editor supplied by Apple, choose File . Save As. Then choose “application” from the Kind popup
menu.
-----------
But, there's a contradiction in the last paragraph. First, it says to save as a compiled script. This creates a script that you can drag into the project window. This appears just like the image in the example there.

The guide goes on to tell you to choose Application from the Save As menu popup in the Script Editor. Huh? If you save it as a Script, you get an 8Kb Script. If you save it as an Application, you get a 60KB stand-alone application.

They will both drag into the Project window of Rb but I don't know if they are accepted equally. Someone with more experience can answer here.

My problem was that I misunderstood the thread and thought they were talking about a script in the app but it was to create the actual Application (Droplet) to be used on the desktop. This problem was corrected in a reply.

Yes, I know, documentation sucks (or was like that some times ago).

Still does in many areas but I understand they are always working to improve it.

Terry


_______________________________________________
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>