On 21/02/2007, at 1:37 AM, GregO wrote: > I was wondering if there's a way to send a query to an > RBScript. Specifically, I'd like the script to be able to tell me > it's name....
As you provide both the context object and manage the text fed into it, I'm not sure why you don't know already. Your context object could provide a property Name so in the script the user can write Name = "Greg's fantastic script" if that is the kind of thing you mean? Don't think of sending queries to scripts. Think of providing additional verbs and nouns to the script so it can interact back with your application (via the context object). Have a look at my ScriptPictureEffects sample at http:// www.oofile.com.au/downloads.html#DownloadREALbasic for a complex context object. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
