Andy,

I did look at your code and it was very helpful. (By the way, Björn  
has made changes that make your code break)

What I'm wanting to do is have a folder full of plugins and let the  
user choose between them.... But I think I found another way. Since  
the RBScript code is going to be encrypted, I'll just include the  
name in there....

Greg

On Feb 20, 2007, at 11:44 am, Andy Dent wrote:

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

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to