On Jul 27, 2006, at 9:52 AM, [EMAIL PROTECTED] wrote:

On Jul 27, 2006, at 16:10 UTC, Tim Jones wrote:

        http://www.realsoftware.com/feedback/viewreport.php?reportid=lrgxlgmt

It look like there are issues when the "Build Settings" dialog is
involved in the recording process.  An invalid entry for BuildMacCocoa
is entered

Yep, that's a bug for sure.

and the running of the resulting script doesn't actually
close the Build Settings dialog causing the script to stop and wait for
user input (which kills the reason for using scripting :) ).

This one really isn't; you just need to delete this line as well, if you don't actually want to see the Build Settings dialog when your script runs:

  DoCommand "BuildSettings"

All this line does is bring up the build settings dialog, which may occasionally be useful but clearly isn't in your case, so delete it. It is the nature of recording that you then have to go through and delete extra junk you don't want (such as the DoCommand "StopRecording" line as well!).

Thanks Joe, that makes totally sense. I've decided that manually editing the script is probably the better solution all around.

Also, for others reading this, the source for the RBIDEScript tool is included in the REALbasic package in the Extras Folder/Directory. This is the best, straight-forward example of Console application programming that I've seen. If you're interested in creating command line / Console apps, take the time to look through it.

Tim
--
Tim Jones                                       [EMAIL PROTECTED]

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

Reply via email to