RE: position of an object (from Script)

2010-04-24 Thread Shani
HI, Mike,

I am Shani (ZEESHAN) not Shani Davis. I am working on Rev to Java through
Socket using TCP/IP.
I test all the connectivity, server/Client Rev to JAVA. 
Now I am sending position of object through Socket and receive the position
of the other object from Java like that. 

Thanks, 
Regards,
SHANI 

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Michael Kann
Sent: Friday, April 23, 2010 12:08 AM
To: How to use Revolution
Subject: RE: position of an object (from Script)

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

> From: Shani 
> Subject: RE: position of an object (from Script)
> To: "'How to use Revolution'" 
> 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-boun...@lists.runrev.com
> [mailto:use-revolution-boun...@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-boun...@lists.runrev.com
> > [mailto:use-revolution-boun...@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@lists.runrev.com
> Please visit this 

RE: position of an object (from Script)

2010-04-22 Thread Michael Kann
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  wrote:

> From: Shani 
> Subject: RE: position of an object (from Script)
> To: "'How to use Revolution'" 
> 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-boun...@lists.runrev.com
> [mailto:use-revolution-boun...@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-boun...@lists.runrev.com
> > [mailto:use-revolution-boun...@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: position of an object (from Script)

2010-04-22 Thread Shani
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-boun...@lists.runrev.com
[mailto:use-revolution-boun...@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-boun...@lists.runrev.com
> [mailto:use-revolution-boun...@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: position of an object (from Script)

2010-04-22 Thread Mark Schonewille

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-boun...@lists.runrev.com
[mailto:use-revolution-boun...@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: position of an object (from Script)

2010-04-22 Thread DunbarX
When you set the loc of an object, you have to explicitly name the object. 
"Amir" could be anything. You have to say, for example :

set the loc of button "amir" to...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: position of an object (from Script)

2010-04-22 Thread Shani
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-boun...@lists.runrev.com
[mailto:use-revolution-boun...@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: position of an object (from Script)

2010-04-22 Thread Mark Schonewille

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution