ezEdge variables - Forum

Forum Navigation
You need to log in to create posts and topics.

ezEdge variables

How do you send a variable (block of text) from VisualNEO Win to a VisualNEO Web variable through the ezEdge plugin?

I could not find any actions specific to variables in the help list.

.

Thanks

 

Do you mean two completely separate programs, one VisualNeoWeb and the other VisualNeoWin on a local Windows computer?

There is no direct communication between VisualNeoWin and VisualNeoWeb that our plugins can use without IE that I know of.

I guess you could maybe use a disk file type approach.

Or, do you mean a VisualNeoWeb neoEdge compatibility type project , where your creating the program in VisualNeoWeb?

Update:
But, If your displaying a VisualNeoWeb app inside a VisualNeoWin program using the ezEdge plugin, I have a way..

But, If your displaying a VisualNeoWeb app inside a VisualNeoWin program using the ezEdge plugin, I have a way..

 

Yes, that's what I am looking for..... how does a NEO Web app communicate with a NEO Win host program through ezEdge?

.

https://youtu.be/uZuCqdPpCv8

I made up my own way to embed the Chrome browser in a NEO Win rectangle and run subroutines between the two.

.

 

Darbdenral has reacted to this post.
Darbdenral

I made up my own way to embed the Chrome browser in a NEO Win rectangle and run subroutines between the two.

good job!

Yes, going from a VisualNeoWeb project to the ezEdge plugin is already built in, since it's a web page it as simple as sending some JavaScript to ezEdge.

Going from ezEdge browser and directly changing and getting a VisualNeoWeb variable is possible too but it's not currently built in to ezEdge as a command.  It does work but it's not integrated and easily implemented.

So, I decided this would be a really good feature to have directly built-in to ezEdge.  After I finish up a few things, I'll post an update here in a bit for those that want to try it.

: Update

I attached an update for ezEdge to this post with the following new commands:

Archive updated on 9/18 with new command ezEdgeRunWebAction

ezEdgeGetWebVar : This action returns a VisualNEO Web variable value
ezEdgeSetWebVar : This action assigns a string value to a VisualNEO Web variable.
ezEdgeRunWebAction: Run VisualNeo Web actions and subroutines.

Give it a try and let me know.

Uploaded files:
  • You need to login to have access to uploads.
CN_Iceman and fkapnist have reacted to this post.
CN_Icemanfkapnist

I am not having much luck with neoEdge.

neoEdge and package.json - Forum - VisualNEO. Cross-platform App Development Tool for Windows

That is why I want to experiment with ezEdge.

Thanks.

Quote from Darbdenral on September 17, 2023, 8:04 am

I made up my own way to embed the Chrome browser in a NEO Win rectangle and run subroutines between the two.

good job!

Yes, going from a VisualNeoWeb project to the ezEdge plugin is already built in, since it's a web page it as simple as sending some JavaScript to ezEdge.

Going from ezEdge browser and directly changing and getting a VisualNeoWeb variable is possible too but it's not currently built in to ezEdge as a command.  It does work but it's not integrated and easily implemented.

So, I decided this would be a really good feature to have directly built-in to ezEdge.  After I finish up a few things, I'll post an update here in a bit for those that want to try it.

: Update

I attached an update for ezEdge to this post with the following new commands

ezEdgeGetWebVar : This action returns a VisualNEO Web variable value
ezEdgeSetWebVar : This action assigns a string value to a VisualNEO Web variable.

Give it a try and let me know.

Do you have a simple example? I can't get ezEdgeSetWebVar to work yet.

Thanks

Both SetWebVar and GetWebVar request input of the Web variable. Shouldn't one request the Win variable?

.

 

 

Assuming the index.html page in ezEdge was created with NEO Web, it can read the variable of ezEdgeSetWebVar. But how does the index page retrieve it? With SetVar or Watch or some other action command? An example would help.....

 

the ezEdgeGetWebVar function works ok out of the box. I can get Web variables into Win, but not the opposite yet

.

 

@fkapnist

Try this example

This includes VisualNeo Web & VisualNeo Win projects & the compiled example.

Example updated to demonstrate the use of a new command: zEdgeRunWebAction  If your ezEdge doesn't have that command, you need to download the plugin again or download the full installation from my web site.

Download Example

 

Uploaded files:
  • You need to login to have access to uploads.
luishp, CN_Iceman and iretz have reacted to this post.
luishpCN_Icemaniretz

@fkapnist

I updated the download file to give you examples of communicating in every direction possible..  I think .. :)

luishp, fkapnist and iretz have reacted to this post.
luishpfkapnistiretz

That's excellent.

Thanks !

It is very useful

.

 

CN_Iceman and Darbdenral have reacted to this post.
CN_IcemanDarbdenral
Open chat
1
Do you need more info?
Hi, do you have any doubt?