RE: if message is XYZ then do next step (not working)?

2010-05-04 Thread Shani
HI, 
Thanks
I have check with if pResult is XYZ reached at goal then
And if pResult is  XYZ reached at goal  then
But both is not working 
Wheras when I receive blank 
if pResult is empty then
this command work. 


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Kay C Lan
Sent: Tuesday, May 04, 2010 7:23 AM
To: How to use Revolution
Subject: Re: if message is XYZ then do next step (not working)?

Hi Shani,

as Craig predicted, it's a typo. Your script says:

if pResult is XYZ reached at goal then


and you say pResult =:

 XYZ reached at goal 


notice there is a space both at the beginning and end of the actual result,
but not so in the if test, i.e.

XYZ reached at goal =  XYZ reached at goal 

is false.

HTH

On Tue, May 4, 2010 at 2:46 AM, Shani shani.run...@gmail.com wrote:

 HI, thanks for your reply,

 I have tested
 But this work .if pResult
 is
 empty then
  click at the loc
 of btn StartGame
  end if
 where as this not work, I don't know why
 its command proper write error

  if pResult is XYZ reached at
 goal then
  click at the loc of btn
 StartGoal
   end if

 when I display the pResult
 answer pResult
 it display
  XYZ reached at goal 

 Regards,
 SHani
 -Original Message-
 From: use-revolution-boun...@lists.runrev.com
 [mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of
 dunb...@aol.com
 Sent: Monday, May 03, 2010 7:27 PM
 To: use-revolution@lists.runrev.com
 Subject: Re: if message is XYZ then do next step (not working)?

 Your handler works for me.

 If you step through the script, where does it not go wrong? Sometimes in
 debugging I will rewrite even simple if/then statements in their
expanded
 form:

 if this then
   dotThat
 end if

 Instead of: if this then doThat.

 Because you can place a breakpoint at the doThat line to see if the
 condition is being tested correctly. If you never reach that line, you can
 find
 the problem more quickly.

 I think it is something simple, like a typo.

 Craig Newman
 ___
 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

___
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


if message is XYZ then do next step (not working)?

2010-05-03 Thread Shani
Hi, 

I receive a message through String that XYZ reached at goal.

When I try this 

But this command not work where as the second command work 

1.if pResult is XYZ reached at
goal then 

  click at the loc of btn
StartGoal

   end if 

 

 

This command works.

2. if pResult is empty
then 

  click at the loc
of btn StartGame

  end if

 

 

pResut in which I use for displaying the string.

 

 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: if message is XYZ then do next step (not working)?

2010-05-03 Thread Shani
HI, thanks for your reply, 

I have tested 
But this work .if pResult is
empty then 
  click at the loc
of btn StartGame
  end if
where as this not work, I don't know why
its command proper write error 

  if pResult is XYZ reached at
goal then 
  click at the loc of btn
StartGoal
   end if 

when I display the pResult
answer pResult
it display 
 XYZ reached at goal 

Regards,
SHani
-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of
dunb...@aol.com
Sent: Monday, May 03, 2010 7:27 PM
To: use-revolution@lists.runrev.com
Subject: Re: if message is XYZ then do next step (not working)?

Your handler works for me.

If you step through the script, where does it not go wrong? Sometimes in 
debugging I will rewrite even simple if/then statements in their expanded 
form:

if this then
   dotThat
end if

Instead of: if this then doThat.

Because you can place a breakpoint at the doThat line to see if the 
condition is being tested correctly. If you never reach that line, you can
find 
the problem more quickly.

I think it is something simple, like a typo.

Craig Newman
___
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


FW: string Recieve

2010-04-30 Thread Shani
 

 

From: Shani [mailto:shani.run...@gmail.com] 
Sent: Friday, April 30, 2010 4:16 AM
To: 'How to use Revolution'
Subject: string Recieve 

 

I recive the string 

The Green ball reached

Displayed on message box in rev.

 

How can I use this to do next process on that result.

if tSocket is The Green ball reached then

  click at the loc of btn start
me

  end if

Regards,

SHNAI

___
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


FW: Rev Chat Server Java Chat Client

2010-04-30 Thread Shani
 

 

From: Shani [mailto:shani.run...@gmail.com] 
Sent: Friday, April 30, 2010 2:51 AM
To: 'How to use Revolution'
Subject: Rev Chat Server Java Chat Client

 

Hi all, 

From where i find these stack.

 

 

Rev Chat Server

Java Chat Client

___
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: logistic example of Runrev Revolution?

2010-04-30 Thread Shani
 

 

From: Shani [mailto:shani.run...@gmail.com] 
Sent: Thursday, April 29, 2010 6:15 AM
To: 'How to use Revolution'
Subject: logistic example of Runrev Revolution?

 

HI, 

 

Is there is any Agriculture logistic example of Runrev 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: logistic example of Runrev Revolution?

2010-04-30 Thread Shani
HI, thanks for your reply.

I am talking about trucks, fields, plants. 
Simulation. Trucks bids to the field or plant and go for loading, etc. 



-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Alejandro
Tejada
Sent: Saturday, May 01, 2010 2:46 AM
To: use-revolution@lists.runrev.com
Subject: RE: logistic example of Runrev Revolution?

on Fri, 30 Apr 2010 20:42:40 +0200
Shani wrote:

 Is there is any Agriculture logistic example of Runrev Revolution?

Hi Shani,

I have made many works for the main agricultural university
in the place where i live.

If you explain me what is an Agricultural logistic example,
i could ask them next monday, if they have done this.

Thanks in advance!

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


Rev Chat Server Java Chat Client

2010-04-29 Thread Shani
Hi all, 

From where i find these stack.

 

 

Rev Chat Server

Java Chat Client

___
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


string Recieve

2010-04-29 Thread Shani
I recive the string 

The Green ball reached

Displayed on message box in rev.

 

How can I use this to do next process on that result.

if tSocket is The Green ball reached then

  click at the loc of btn start
me

  end if

Regards,

SHNAI

___
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


logistic example of Runrev Revolution?

2010-04-28 Thread Shani
HI, 

 

Is there is any Agriculture logistic example of Runrev 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: Sockets

2010-04-27 Thread Shani
HI, 

http://docs.runrev.com/Command/open-socket
http://docs.runrev.com/Command/write-to-socket
http://docs.runrev.com/Command/read-from-socket
http://docs.runrev.com/Command/close-socket

for what purpose you need socket session?

Regards,
SHANI

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Sarah Reichelt
Sent: Wednesday, April 28, 2010 12:59 AM
To: How to use Revolution
Subject: Re: Sockets

On Wed, Apr 28, 2010 at 6:23 AM, Hershel Fisch hersh...@syp2u4c.com wrote:
 Hi, could any help me out with a full socket session ? Please!

Check out either of my email libraries:
http://www.troz.net/rev/stacks/POP_library_demo.rev
http://www.troz.net/rev/stacks/SMTP_library_demo.rev

They both use sockets to communicate to the relevant servers.

Cheers,
Sarah
___
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: Problem in Multi line string (via Socket)

2010-04-26 Thread Shani
tSocket is a local variable.


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Mark Wieder
Sent: Monday, April 26, 2010 5:22 AM
To: How to use Revolution
Subject: Re: Problem in Multi line string (via Socket)

Shani-

Sunday, April 25, 2010, 7:09:39 PM, you wrote:

 write 2 linereturn to socket tSocket   -- this not write to java

tSocket?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: Problem in Multi line string (via Socket)

2010-04-26 Thread Shani
when I use multi line string to (connect java through Socket), it write
first line to java but not write second and other lines.
When I comment first line then java read second line and display the result
against that one.

How can I use multi line string (via socket )

open socket mSocket
write 1 linereturn to socket mSocket  -- this write on java Server
read from socket mSocket until return
put it into kResult
write 2 linereturn to socket tSocket   -- this not write to java
server
read from socket mSocket until return
put it into lResult

  -- when I comment first write then java read the other line form
rev

JAVA Server side coding:
___

clientSocket = serverSocket.accept();
bufferedReader = new BufferedReader(new
InputStreamReader(clientSocket.getInputStream()));
bufferedWriter = new BufferedWriter(new
OutputStreamWriter(clientSocket.getOutputStream()));
if (message.equalsIgnoreCase(line1)){

do this
System.out.println(line 1
executed);
bufferedWriter.write(Reply); //
private static String Reply = line1result;
bufferedWriter.flush();
}
   
else if
(message.equalsIgnoreCase(Line2)){

do this
System.out.println(line2
executed); 

bufferedWriter.write(Reply2); //
private static String Reply2 = line2result;
bufferedWriter.flush();
}
else{
   
bufferedWriter.write(No Answer
found);   bufferedWriter.flush();
}

-Original Message-
From: Shani [mailto:shani.run...@gmail.com] 
Sent: Monday, April 26, 2010 4:05 PM
To: 'How to use Revolution'
Subject: RE: Problem in Multi line string (via Socket)

tSocket is a local variable.


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Mark Wieder
Sent: Monday, April 26, 2010 5:22 AM
To: How to use Revolution
Subject: Re: Problem in Multi line string (via Socket)

Shani-

Sunday, April 25, 2010, 7:09:39 PM, you wrote:

 write 2 linereturn to socket tSocket   -- this not write to java

tSocket?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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


Problem in Multi line string (via Socket)

2010-04-25 Thread Shani
HI, 

open socket mSocket

write 1 linereturn to socket mSocket  -- this write on java Server

read from socket mSocket until return

put it into kResult

write 2 linereturn to socket tSocket   -- this not write to java
server

read from socket mSocket until return

put it into lResult



  -- when I comment first write then java read the other line form
rev

.

. when I use multi line string to (connect java through Socket), it write
first line to java but not write second and other lines.

When I comment first line then java read second line and display the result
against that one.

 

How can I use multi line string (via socket )

 

 

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-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 shani.run...@gmail.com wrote:

 From: Shani shani.run...@gmail.com
 Subject: RE: position of an object (from Script)
 To: 'How to use Revolution' use-revolution@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-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 x243 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

___
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


Problem in Multi line string (via Socket)

2010-04-22 Thread Shani
HI, when I use multi line string to (connect java through Socket), it write
first line to java but not write second and other lines.

When I comment first line then java read second line and display the result
against that one.

 

How can I use multi line string (via socket )

 

write 1 line read   return to socket tSocket

write 2 line read   return to socket tSocket

.

.

.

 

 

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


If else statment is not working

2010-04-22 Thread Shani
If then else statement is not working.

 

 

 

write XYZ   return to socket tSocket 

 


if XYZ  then 

 


click at the loc of btn StartXYZ

 


else ABC  then 

 


 click at the loc of btn StartShani

 


  end if

___
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


position of an object (from Script)

2010-04-22 Thread Shani
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 x243 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


Send positions through Socket

2010-04-22 Thread Shani
HI, 

 

Can i send the position of an object 

X axis and y axis through Socket to other Program.

Like we send a string in this way 

 

write field Outputs to socket 127.0.0.0:21

 

 

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


Rev multiline String read and write

2010-04-14 Thread Shani
HI, 

 

Like  via socket

write 20  to socket tSocket

and 

read from socket tSocket until return

 

 

.

Can I write multi line string in the following way,

Mean if I use x axis and y axis in java and connect through Socket.

 

write 20  to socket tSocket  --xa=20 in java

write 233  to socket tSocket -ya=233 in java

 

 

and this command read all the string from java 

read from socket tSocket until return

 

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


Object Speed ?

2010-04-14 Thread Shani
HO can i change the speed of different objects.

 

  move graphic xyz from the loc of grc xyz to the loc of grc (xz) in 2
seconds.

 

 

When I apply this command this wait for 2 second then go toward the goal,
but I need it like when I have 4 objects and four different goal. 

It goes toward goal with different speed mean some fast and some slow like
that .

 

 

How can I set their speed.

 

 

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: Object Speed ?

2010-04-14 Thread Shani
HI, 
Thanks

It works same as i mention before. 
http://www.4shared.com/file/iyM6-FY7/test.html


Example:-
like consider that I have two object (car) they both start same time. One is
moving on speed 75km/h and other is on 120 km/h, the car which is on 120
km/h reach before and other one reach later.

So that I want to move like that on different speed.

REGARDS,
SHANI

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Klaus on-rev
Sent: Wednesday, April 14, 2010 10:29 AM
To: How to use Revolution
Subject: Re: Object Speed ?

Hi Shani,

 HO can i change the speed of different objects.
 
  move graphic xyz from the loc of grc xyz to the loc of grc (xz) in 2
 seconds.
 
 
 
 When I apply this command this wait for 2 second then go toward the goal,
 but I need it like when I have 4 objects and four different goal. 
 
 It goes toward goal with different speed mean some fast and some slow like
 that .
 
 
 How can I set their speed.

use lock moves first, then move all objects and then use unlock moves:
...
lock moves
## or - set the lockmoves to true

move grc 1 from X,Y to Y,Z in 2 secs
move grc 2 from Z,W to H,K in 3 secs
## more moving objects here...
unlock moves
...

unlock moves (or set the lockmoves to false) acts like the starting shot
in a race :-)

 Regards,
 
 SHANI

Best from germany

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
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: Object Speed ?

2010-04-14 Thread Shani
Thanks  

Its done

It is working now.

Bundle of thanks

Regards,
SHANI 

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Klaus on-rev
Sent: Wednesday, April 14, 2010 11:05 AM
To: How to use Revolution
Subject: Re: Object Speed ?

Hi Shani,

 HI, 
 Thanks
 
 It works same as i mention before. 
 http://www.4shared.com/file/iyM6-FY7/test.html
 
 
 Example:-
 like consider that I have two object (car) they both start same time. One
is
 moving on speed 75km/h and other is on 120 km/h, the car which is on 120
 km/h reach before and other one reach later.
 
 So that I want to move like that on different speed.

oh, sorry, I forgot important things - without waiting!

...
lock moves
## or - set the lockmoves to true

move grc 1 from X,Y to Y,Z in 2 secs without waiting
move grc 2 from Z,W to H,K in 3 secs without waiting
## more moving objects here...
unlock moves
...

Because I forgot to add without waiting the first graphic moves and
blocked
the moves of the other objects! That's why this did not work as exspected!

Tested and works!
You had this already in your comented lines in your test stack ;-)

 REGARDS,
 SHANI

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
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


Display the message ?

2010-04-14 Thread Shani
When one object reach the other object (goal)

How can I display comments that reach the goal.

 

  move graphic XYZ from the loc of grc XYZ to the loc of grc (ABC) in
2 seconds without waiting  

--corrected by Klaus

 

Display Reached on Goal

 

 

Regars,

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: Display the message ?

2010-04-14 Thread Shani
HI, 

Thanks
Using answer Reached the goal


Display message before the object reached to the goal. 
I want to do this, when object reached on Goal then it display the message.

Regards,
SHANI

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Klaus on-rev
Sent: Wednesday, April 14, 2010 12:30 PM
To: How to use Revolution
Subject: Re: Display the message ?

Hi Shani,

 When one object reach the other object (goal)
 How can I display comments that reach the goal.
   move graphic XYZ from the loc of grc XYZ to the loc of grc (ABC)
in
 2 seconds without waiting  
 
 --corrected by Klaus

my pleasure :-)

 Display Reached on Goal

answer Reached the goal!

Read the Rev dictionary about answer and the related ask commands.

 Regars,
 
 SHANI

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
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


Rev with Java Thread

2010-04-08 Thread Shani
Hi, 

 

Is there is any example of RevTalk using Thread in JAVA.

 

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


Java Socket read problem

2010-04-06 Thread Shani
HI, 

I have problem with the revcode. It cant display 

This result.
Server Started
Client Syas: AllowServer


I start the process then write AllowServer as a client but it cant work.

Kindly tell me on which line is the problem,
Java program is working. Th eproblem is rev side.

StartProcessButton
3
on mouseUp
local tDefaultFolder, tProcess
   --
   put the defaultFolder into tDefaultFolder
   set the defaultFolder to StackPath()
   --
   put java Server 54321 into tProcess
   open process tProcess for neither
   --
   set the defaultFolder to tDefaultFolder
end mouseUp
##


Socketbutton
###
on mouseUp
   local tDefaultFolder, tResult, tSocket
   --
   put  (localhost:54321) into tSocket
   
   open socket tSocket
   write AllowServer   return to socket tResult
answer tResult
 
end mouseUp


function StackPath
   local tPath
   --
   put the effective filename of this stack into tPath
   set the itemDelimiter to slash
   delete item -1 of tPath
   --
   return tPath
end StackPath






Java coding:

import java.io.DataInputStream;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
public class Server {
public static void main (String[] args) throws IOException{
ServerSocket server=new ServerSocket(54321);
System.out.println(Server Started);
Socket client= server.accept();
DataInputStream in= new DataInputStream(client.getInputStream());

System.out.println(Client Syas:  + in.readUTF());
}
}



You can see the example on this link:
http://www.4shared.com/file/258393507/808220ec/javaServer.html


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: Runrev Server Client Example?

2010-04-05 Thread Shani
Thanks Pierre, this is very good Example and it is very helpful. is there is
any other examples.


2. Revtalk to VB through Socket using TCP/IP
3. Revtalk to JAVA through Socket using TCP/IP
4. Revtalk to C through Socket using TCP/IP
5. Revtalk to JADE through Socket using TCP/IP
6 Revtalk to C++ through Socket using TCP/IP
7  Revtalk to C# through Socket using TCP/IP
etc

Regards,
SHANI

On Mon, Apr 5, 2010 at 8:32 AM, Pierre Sahores psaho...@free.fr wrote:


 Le 5 avr. 10 à 04:20, Shani a écrit :


  1, Revtalk to PHP through Socket using TCP/IP


 http://www2.sahores-conseil.com/insead/page4.php

 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70

 www.wrds.com
 www.sahores-conseil.com







 ___
 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: Rev Talk Socket

2010-04-05 Thread Shani
Great work!

Thanks

Regards,
SHANI

On Mon, Apr 5, 2010 at 6:41 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Shani,

 I have posted the script for a very simple telnet server on my blog at 
 http://blog.schonewille.tk. Maybe it helps you.

 --
 Best regards,

 Mark Schonewille

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

 Economy-x-Talk is always looking for new software development projects.
 Feel free to contact me for a quote.

 Op 5 apr 2010, om 04:20 heeft Shani het volgende geschreven:


  HI

 Is there is any RevTalk Server Client Example with any program

 1, Revtalk to PHP through Socket using TCP/IP
 2. Revtalk to VB through Socket using TCP/IP
 3. Revtalk to JAVA through Socket using TCP/IP
 4. Revtalk to C through Socket using TCP/IP
 5. Revtalk to JADE through Socket using TCP/IP
 6 Revtalk to C++ through Socket using TCP/IP
 7  Revtalk to C# through Socket using TCP/IP
 etc


 ___
 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


Runrev Server Client Example?

2010-04-04 Thread Shani
HI

Is there is any RevTalk Server Client Example with any program

1, Revtalk to PHP through Socket using TCP/IP
2. Revtalk to VB through Socket using TCP/IP
3. Revtalk to JAVA through Socket using TCP/IP
4. Revtalk to C through Socket using TCP/IP
5. Revtalk to JADE through Socket using TCP/IP
6 Revtalk to C++ through Socket using TCP/IP
7  Revtalk to C# through Socket using TCP/IP
etc
___
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


Rev Talk Socket

2010-04-04 Thread Shani
HI

Is there is any RevTalk Server Client Example with any program

1, Revtalk to PHP through Socket using TCP/IP
2. Revtalk to VB through Socket using TCP/IP
3. Revtalk to JAVA through Socket using TCP/IP
4. Revtalk to C through Socket using TCP/IP
5. Revtalk to JADE through Socket using TCP/IP
6 Revtalk to C++ through Socket using TCP/IP
7  Revtalk to C# through Socket using TCP/IP
etc
___
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


Screen Lock in Rev?

2010-03-31 Thread Shani
i use   put shell(batfile) into tProcess
answer tProcess

i use the stack which have text and add button. but the problem is that
when i use this  (put shell(batfile) into tProcess) it display the shell
and Agent but the stack is locked i cant do any thing with this.

i use
unlock screen
but it cant work.

i use JADE agents to connect with Rev, so that´s why i use bat file.

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: Screen Lock in Rev?

2010-03-31 Thread Shani
Hi Roger,

i do this but same problem.screen locked.
on mouseUp
 local tProcess, sHost

 put shell(booktrade) into tProcess
  set the hideConsoleWindows to true
 --unlock screen
   accept connections on port 6800 with message Server connected
   end mouseUp

command closeSocket
   put tProcess into sHost
   close socket sHost
   return Socket has been closed.
end closeSocket

Regards,
SHANI


On Wed, Mar 31, 2010 at 7:18 PM, roger.e.el...@sealedair.com wrote:

 On 03/31/2010 at 10:44 AM, Shani shani.run...@gmail.com wrote:
  i use   put shell(batfile) into tProcess
  answer tProcess
 
  i use the stack which have text and add button. but the problem is that
  when i use this  (put shell(batfile) into tProcess) it display the
 shell
  and Agent but the stack is locked i cant do any thing with this.
 
  i use
  unlock screen
  but it cant work.
 
  i use JADE agents to connect with Rev, so that´s why i use bat file.
 
  Regards,
  SHANI

 You need to:
  set the hideConsoleWindows to true

 This will cause the command prompt window to not appear when you use a -
 put shell(command).

 --
 Roger Eller  roger.e.el...@sealedair.com


 ___
 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: Screen Lock in Rev?

2010-03-31 Thread Shani
this put shell(booktrade) into tProcess without waiting
is not working
now i use this process
shell dispaly but suddenly disappear but not shows any agent.


Regards,
SHANI

On Wed, Mar 31, 2010 at 9:40 PM, roger.e.el...@sealedair.com wrote:

  Hi Roger,
 
  i do this but same problem.screen locked.
  on mouseUp
  local tProcess, sHost
 
  put shell(booktrade) into tProcess
   set the hideConsoleWindows to true
  --unlock screen
accept connections on port 6800 with message Server connected
end mouseUp
 
  command closeSocket
put tProcess into sHost
close socket sHost
return Socket has been closed.
  end closeSocket
 
  Regards,
  SHANI

 Shani,

 If you mean the screen is frozen, stalled, not moving, etc. then maybe you
 can add without waiting.

 set the hideConsoleWindows to true  -- do this step before shell command
 put shell(booktrade) into tProcess without waiting

 Roger Eller roger.e.el...@sealedair.com


 ___
 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: Screen Lock in Rev?

2010-03-31 Thread Shani
thanks
i will read it and if again any problem then i reply.

Thanks again
Regards,
SHANI

On Wed, Mar 31, 2010 at 10:06 PM, roger.e.el...@sealedair.com wrote:


 http://docs.runrev.com/Function/shell

 FROM THE DOCS:
 Tip: If you are having problems with the shellfunction, try executing the
 commandLine at your operating system's shell prompt. (For example, on an OS
 X system, try executing the commandLine in the Terminal window.) If a
 commandLine does not work at the shell prompt, it won't work with the
 shellfunction either, so trying this can be useful when debugging.

 http://docs.runrev.com/Keyword/without


 ___
 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: Revtalk communication

2010-03-30 Thread Shani
HI Landman, thaks good example.

actually i want to use rev as a server and JADE (JAVA AGENT DEVELOPMENT
ENVIORNMENT) as a client. do you know that is there is any example related
that one.

Regards,
Shani

On Tue, Mar 30, 2010 at 5:09 AM, J. Landman Gay jac...@hyperactivesw.comwrote:

 Shani wrote:

 Hi,

 How RevTalk communicate with Client Though Socket Programming.


 This may help: 
 http://article.gmane.org/gmane.comp.ide.revolution.user/33316

 If you use Gmane to search the mail list archives for socket you will
 find other examples. Also, there is a chat server example called chatrev
 which I believe is on RevOnline. That's a more advanced example of socket
 usage. You can see RevOnline by clicking the icon in Rev's toolbar.

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 ___
 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: Open Socket

2010-03-30 Thread Shani
open socket to (127.0.0.1  :  (6800)) with message Server connected

is this is rihght code for rev and what about in JADE?

Regards,
SHani

On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia an...@andregarzia.com wrote:

 Shani,

 check out the documentation built-in with Rev.

 open socket expect and IP or server name, unless filename is a machine on
 your network, that code is wrong. Also what is that # symbol doing there?

 Om shanti
 andre

 On Mon, Mar 29, 2010 at 11:46 PM, Shani shani.run...@gmail.com wrote:

  Hi,
  I want to communicate with Other program Client (JAVA or JADE) from
 RevTalk
  through Socket.
 
open socket to (filename   :  (port#)) with message Server
  connected
 
  ## http://docs.runrev.com/Command/open-socket
 
  what i give command on client side.
 
  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
 



 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 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: Open Socket

2010-03-30 Thread Shani
Yes,
I want to use Rev as a Server.

I send another email with detail. kindly see that.
and correct that plz.

Rev is on Server Side
JADE is on Client Side

Regards,
SHANI

On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie bri...@qldlearning.comwrote:

 Shani,

 Do you want Rev to be *client* or *server*? If you want it to be the server
 (with a Java client) then you need to look at the accept command:

 accept connections on port 6800 with message serverConnect

 on serverConnect tSocket
   read from socket tSocket for 1 line
   ...
 end serverConnect

 etc.

  open socket to (127.0.0.1  :  (6800)) with message Server connected
 
  is this is rihght code for rev and what about in JADE?
 
  Regards,
  SHani
 
  On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia an...@andregarzia.com
 wrote:
 
  Shani,
 
  check out the documentation built-in with Rev.
 
  open socket expect and IP or server name, unless filename is a machine
 on
  your network, that code is wrong. Also what is that # symbol doing
 there?
 
  Om shanti
  andre
 
  On Mon, Mar 29, 2010 at 11:46 PM, Shani shani.run...@gmail.com wrote:
 
  Hi,
  I want to communicate with Other program Client (JAVA or JADE) from
  RevTalk
  through Socket.
 
   open socket to (filename   :  (port#)) with message Server
  connected
 
  ## http://docs.runrev.com/Command/open-socket
 
  what i give command on client side.
 
  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


JADE file display in Rev?

2010-03-30 Thread Shani
*Hi,
*


*I have problem to display (filename.bat). when i use this program it
display the shell, when i close this then it display the result that Agent
was running.*

*when i use
*

* *set the hideConsoleWindows to true

*it kill the Agent.
*

*see code in these links for detail.
*

*http://www.4shared.com/file/253180186/584f4101/Rev2JADE.html
http://www.4shared.com/file/253180197/365340d6/Rev2JADEincmd.html
http://www.4shared.com/file/253180770/32398449/RevJADE_rar.html

*

   *put* shell(hello) into tResult

  this work fine but when i start the program shell display blank after soem
second i close the shell then it display. is this display run-time.

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: Open Socket

2010-03-30 Thread Shani
Thanks Andre Garzia and Brian Yennie,
this link is very helpful.

but if you have a time then kindly check these links and make changes and
guide me all my mistake.
http://www.4shared.com/dir/35326335/dcff5fd2/REV2JADE.htmlhttp://www.4shared.com/file/253171642/cc342c25/testjade_rar.html

you can upload the changes hare too.

Brain,
ok i use this for accept and read and what about write process.

accept connections on port 6800 with message serverConnect

on serverConnect tSocket
  read from socket tSocket for 1 line
...
end serverConnect

etc.


Regards,
SHANI
On Wed, Mar 31, 2010 at 12:50 AM, Andre Garzia an...@andregarzia.comwrote:

 Ah...

 that changes everything.

 you will use the accept connection command. Check the docs on that, it will
 help.

 Now, the question is  why do you want a Rev server? A server built as a
 Revolution Desktop application is a single thread application, if your
 server is doing anything intensive (and thus requiring some time), it will
 fail to answer other connections.

 Cheers
 andre

 On Tue, Mar 30, 2010 at 7:48 PM, Shani shani.run...@gmail.com wrote:

  Yes,
  I want to use Rev as a Server.
 
  I send another email with detail. kindly see that.
  and correct that plz.
 
  Rev is on Server Side
  JADE is on Client Side
 
  Regards,
  SHANI
 
  On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie bri...@qldlearning.com
  wrote:
 
   Shani,
  
   Do you want Rev to be *client* or *server*? If you want it to be the
  server
   (with a Java client) then you need to look at the accept command:
  
   accept connections on port 6800 with message serverConnect
  
   on serverConnect tSocket
 read from socket tSocket for 1 line
 ...
   end serverConnect
  
   etc.
  
open socket to (127.0.0.1  :  (6800)) with message Server
  connected
   
is this is rihght code for rev and what about in JADE?
   
Regards,
SHani
   
On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia an...@andregarzia.com
 
   wrote:
   
Shani,
   
check out the documentation built-in with Rev.
   
open socket expect and IP or server name, unless filename is a
 machine
   on
your network, that code is wrong. Also what is that # symbol doing
   there?
   
Om shanti
andre
   
On Mon, Mar 29, 2010 at 11:46 PM, Shani shani.run...@gmail.com
  wrote:
   
Hi,
I want to communicate with Other program Client (JAVA or JADE) from
RevTalk
through Socket.
   
 open socket to (filename   :  (port#)) with message Server
connected
   
## http://docs.runrev.com/Command/open-socket
   
what i give command on client side.
   
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
 



 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 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


RevTalk as a Server

2010-03-29 Thread Shani
hi,

is there is any program in which Revtalk working as a server (GUI) for any
other Program through Socket Programming.


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


Revtalk communication

2010-03-29 Thread Shani
Hi,

How RevTalk communicate with Client Though Socket Programming.

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


Open Socket

2010-03-29 Thread Shani
Hi,
I want to communicate with Other program Client (JAVA or JADE) from RevTalk
through Socket.

   open socket to (filename   :  (port#)) with message Server
connected

## http://docs.runrev.com/Command/open-socket

what i give command on client side.

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


Fwd: RevServer to JAVA client

2010-03-28 Thread Shani
-- Forwarded message --
From: Shani shani.run...@gmail.com
Date: Sun, Mar 28, 2010 at 7:47 AM
Subject: RevServer to JAVA client
To: How to use Revolution use-revolution@lists.runrev.com,
jade-deve...@avalon.tilab.com, jade-deve...@sharon.cselt.it


hay all,

is this program is correct for Rev Server.
is it communicate with java.

what i change in rev
or java

Revserver coding
#
on revServer c
   ##Opening socket with Java Cleint on port 6800
   open socket(java Client  :  (6800)) with message Server Started
   ## for reading the message from Socket just show that connectivity is
establish
   read from socket (Client) with the message  client says connected with
me from server  and it is Read from Client
 ##write to socket show that it can write on client
write field I am Rev Server  to socket
close socket (java Client  :  (6800)) with message connection close
end revServer
##

JAVA client

import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class Cleint {
public static void main (String[] args) throws IOException {
Socket client= new Socket(localhost,6800);
System.out.println(Connected to server);
DataOutputStream out = new DataOutputStream(client.getOutputStream());
out.writeUTF (AllowServer);


}

}

###3
___
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


how to run.bat file in rev

2010-03-27 Thread Shani
hay,

all rev expert,

Q1) how to run.bat file in runrev revolution.

Q3) how to run this as run it from command prompt but i want to run it from
Runrev.C:\jadejava jade.Boot
buyer:BookBuyerAgent(The-Lord-of-the-rings)
http://www.cs.uu.nl/docs/vakken/mas/JADEProgramming-Tutorial-for-beginners.pdf


Q2) Rev Talk have how many built in function for socket programming



If anyone has any help for me that would be great.
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


RevServer to JAVA client

2010-03-27 Thread Shani
hay all,

is this program is correct for Rev Server.
is it communicate with java.

what i change in rev
or java

Revserver coding
#
on revServer c
   ##Opening socket with Java Cleint on port 6800
   open socket(java Client  :  (6800)) with message Server Started
   ## for reading the message from Socket just show that connectivity is
establish
   read from socket (Client) with the message  client says connected with
me from server  and it is Read from Client
 ##write to socket show that it can write on client
write field I am Rev Server  to socket
close socket (java Client  :  (6800)) with message connection close
end revServer
##

JAVA client

import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class Cleint {
public static void main (String[] args) throws IOException {
Socket client= new Socket(localhost,6800);
System.out.println(Connected to server);
DataOutputStream out = new DataOutputStream(client.getOutputStream());
out.writeUTF (AllowServer);


}

}

###3
___
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