Not possible.
The browser is a sandbox . This is necessary because it allows you to execute arbitrary codes created by unknown users on the user's computer. You need to have a lot of restraint so you do not get out of control.
So any operation that requires off-browser interaction requires explicit user authorization. The authorization request must be very simple, something that he understands what is happening. Because otherwise it becomes something common in elections where people vote without knowing why, there they cause harm to themselves and not even realize what they are doing. So the browser lets the user do very few things at the request of a page.
It is possible through plugins but it is probably not a solution for you, the person would have to install it and no one else wants to do this, especially an unknown plugin. Even plugins as Java also imposes constraints.
Everyone needs to understand that the web developer environment is the browser, can not do anything outside it. If someone wants to do something out they need to make a desktop application. It is, there is still this type of application and it has a number of advantages.
It's the same principle I've already answered in that answer .