position of an object (from Script)

Shani shani.runrev at gmail.com
Thu Apr 22 14:28:06 EDT 2010

I use this 
set the location of "amir" to 350,200
but it give error
execution error at line n/a (Chunk: error in object expression) near
"aamir", char 1

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark
Sent: Thursday, April 22, 2010 7:28 PM
To: How to use Revolution
Subject: Re: position of an object (from Script)

Hi Shani,

You might want to search the dictionary for "location". You also might  
want to search for "width" and "height".

You also will want to know that you can change almost all properties  
of objects with the "set" command.

Spending an evening with the documentation will definitely be very  
useful. Reading the messages on this list would help you too.

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

We have updated TwistAWord. Download TwistAWord 1.1 at

Op 22 apr 2010, om 19:04 heeft Shani het volgende geschreven:

> How can i set the position of an object through script.
> Like in object property profile. We set size and position (location).
> How can I set the value like
> Position of ball x"243" and y= 22
> Object start from that position
> Regards,

use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the Use-livecode mailing list