alirelop.blogg.se

How to make a computer program interact with a web browser
How to make a computer program interact with a web browser











how to make a computer program interact with a web browser

I would begin by transitioning your data access to a protected service layer. (Even if the user has to initally set up some lower security / permissions just for this situation) I've also read that it is impossible to access any thing on the local machine for security reasons.Īlso, I dont want the user to be prompted to request a download file everytime, we need things to happen behind the scenes. But if this is not possible, having the desktop app run a process that loops and checks for a flag in a file or something would be a good start.Īfter minimal research, I've found some stuff like HTML5 File Api which interacts with "Sandbox" directory on the local machine. Ideally the web application would have direct communication with the desktop application and notify it to begin pulling data down from the cloud using our API. With two local applications, this can be done with ports/listening, editing a flag somewhere locally, and the other application reading this flag, etc. So when a button is pushed in the web application, the desktop application needs to start running a process (pulling data from the cloud using an API we've created). We need the two to interact with each other.













How to make a computer program interact with a web browser