communication between software

I must make to communicate a business software with Servoy.

Servoy must be able to listen to the commands of the other software (typically strings with ID record to find and show).

I have thought to use the Clipboard di Windows but I still do not know as to put in I listen to Servoy of the messages in arrival.

I do not want to use DDE. Thoughts that one can be found solution?

Hello and thanks in advance

Ok. I have found the solution! Nearly!!!???

using the scheduler I succeed to make to listen to the clipboard to Servoy in continuous way, however what remains one to resolve.

how to make to put in top the window of Servoy?

Servoy does not have no appropriate function. I can hope to have it in the new version?

Grazie

http://<servoy_server_ip>/servoy-client/servoy_client.jnlp?solution=crm&method=showOrder&argument=10444&rnd=12302 will only open a client when no one is running that solution, otherwise the running client will execute the method “showOrder”
(note: will only work in one local network!)

In the method showOrder you can do all kind of things, like showing a order with the order id passed via the argument in the URL, explanation:
solution=crm //name of the solution to open (this was already possible before 2.2)
method=showOrder //the name of the global method to fire (if not running this happens after the solution open method)
argument=10444 //the argument being passed to the method
rnd=12302 //optional a random number to prevent the browser to open something from the cache

Example for the global method “showOrder”:
plugins.dialogs.showInfoDialog(‘Title’, ‘seems working’ + arguments[0],‘OK’);
Or
forms.orders.controller.find()
forms.orders.orderid = arguments[0]
forms.orders.controller.search()
forms.orders.controller.show();

Precious Jan thanks like always!!!

I knew alone in part this method. However I have still the problem to put window TOPMOST… :( :(

Tanks

does it not come to front? on what OS are you?

Windows XP professional.

You see the image of the previous post. Servoy Client window remains under.

Rather than to carry Servoy TOPMOST to the execution of the method, task is best to have one new function that you carry the window on top… :oops: 8)

toFront call will be added in the Servoy 2.2 final release

You boys are indeed extraordinary!!!
Thanks, Thanks, Thanks… :D :D :D

Giovanni Zola
Servizio Innovazione Informatica
Comune di Nuoro