Rev 3.0 Cloning problem

John Tregea john at debraneys.com
Thu Sep 11 02:57:35 EDT 2008


Hi Bernard,

When I copied the script from the 3.0 script editor and pasted it into the
email all the spaces were somehow stripped out. I didn't notice until later.

Regards

John

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bernard Devlin
Sent: Wednesday, 10 September 2008 5:19 PM
To: How to use Revolution
Subject: Re: Rev 3.0 Cloning problem

Just a quick question: is this really the line of code you have in the
script editor:
send"choose browse tool"tomein1tick

Or have the spaces been stripped out somehow?

Bernard

On Wed, Sep 10, 2008 at 5:55 AM, John Tregea <john at debraneys.com> wrote:

> Hi Fellow Rev'ers,
>
> I have been trying out Rev 3.0 across a number of iterations and recently
> came across a problem (3.0gm Build 750).
>
> I have a piece of code that makes a clone of a stack, renames it and then
> populates the new version of the stack with data from a database. This has
> worked fine in 2.8, 2.9 and earlier iterations of 3.0.
>
> The problem is that when the script gets to the clone command it performs
> that line then just exits as if there is no more code. No error is
returned.
> Anyone seen this behaviour?
>
> The code looks like this.
>
> ifthereisnotastack tTheStack
> then
> clonestack"resource_template"
> send"choose browse tool"tomein1tick
> setthenameofstack it to tTheStack
> endif
>
> The variable tTheStack contains the name for the new stack. In debug mode
> the variable is correctly populated, the stack IS cloned, then the script
> just exits.
>
> Any help would be appreciated
>
> Regards
>
> John Tregea
>
> Technology Director
> Debraneys
> +61 (0) 4 0363 9367 Mobile
> www.debraneys.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list