position of an object (from Script)

Michael Kann mikekann at yahoo.com
Thu Apr 22 18:07:48 EDT 2010


Shani,

I've been following your thread a little and have been tempted to jump in. Would you mind telling us what your code is attempting to do? Perhaps someone has already written it for you. 

I noticed your name because the guy a liked most in the Winter Olympics was Shani Davis, the speedskater. 

Mike





--- On Thu, 4/22/10, Shani <shani.runrev at gmail.com> wrote:

> From: Shani <shani.runrev at gmail.com>
> Subject: RE: position of an object (from Script)
> To: "'How to use Revolution'" <use-revolution at lists.runrev.com>
> Date: Thursday, April 22, 2010, 2:02 PM
> Thanks Mark, 
> According to your guide line this task done through this
> command
> 
>    set the location of graphic ID 1026 to
> 350,200
> 
> now how can I use this through Socket.
> 
> Like 
>       write "XYZ"  & return to
> socket tSocket
> --this write string to java through Socket
> 
> like these position to socket on JAVA.
> 
> Reagrads,
> SHANI
> 
> 
> 
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]
> On Behalf Of Mark
> Schonewille
> Sent: Thursday, April 22, 2010 8:58 PM
> To: How to use Revolution
> Subject: Re: position of an object (from Script)
> 
> Hi Shani,
> 
> "Amir" is a string, not an object description. Object
> descriptions (or  
> object references or object expressions) look like:
> 
> field x
> field "Address"
> the long id of fld "Address"
> button 52 of card "Settings" of stack "Preferences"
> stack "Special Dialog" of stack "Main Project"
> 
> et cetera.
> 
> --
> 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
> http://www.twistaword.net
> 
> Op 22 apr 2010, om 20:28 heeft Shani het volgende
> geschreven:
> 
> > 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
> > Schonewille
> > 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
> > http://www.twistaword.net
> >
> > 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,
> >>
> >> SHANI
> 
> _______________________________________________
> 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