Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 1.6

COLUMN

Ask The Experts

Issue: 1.6 (June/July 2003)
Author: Seth Willits
Article Description: No description available.
Article Length (in bytes): 9,341
Starting Page Number: 32
Article Number: 1616
Resource File(s):

Download Icon 1616.zip Updated: 2013-03-11 19:07:56

Related Web Link(s):

http://www.tildesoft.com/

Excerpt of article text...

I didn't have any trouble

Q: How can I execute a dynamic AppleScript directly from REALbasic?

This is a good question. Currently there are some issues with REALbasic 4.5 and AppleScripts under OS X (these issues have been resolved with later versions of OS X and RB, though). Thankfully, there are a few ways we can work around this. Other than doing the hokey-pokey wearing your clothes inside out, in OS X we can use a very simple shell call, and in Classic we can use a good chunk of code that utilizes declare statements to get the job done.

For OS X, the shell method is as simple as passing a few parameters to the command line utility osascript. To execute an AppleScript directly from a string variable, we use:

...End of Excerpt. Please purchase the magazine to read the full article.