• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Launching Other Programs from Java Script

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to start up a program from my Java Script code
I need to launch the application by a user's push of a button
then I need to minimize the browser window session so that I can operate the other program
After the user fininshes with the application I need to hold a value and maximize my already opened browser window to return to the web app and use the computed value from the other program.
If you have any ideas on how to go about this problem I would gratly appreciate your help.
Thank you in advance
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow I hope this isn't possible. It would represent such a security breach.
Imagine this:
You visit a web site and they have some innocent javascript button (or maybe not, you could set it off automatically) that executes a little program called 'rm', or 'format'.
There are big limitations on what the information in a browser window is allowed to do on the local machine. At all times the default is 'You are allowed to do nothing'. The exception I can think of is allowing the web browser to upload a file from your machine, but there are well defined restrictions on this as well. (for example, the server can't pre-select the file to download, otherwise it could select the file and auto-submit the form)
I hope this is an answer to your question
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic