• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Launching Other Programs from Java Script

 
Greenhorn
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
 
Rancher
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
Dave.
 
reply
    Bookmark Topic Watch Topic
  • New Topic