The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Helping a blind user, Simple single html page on his computer.
opto-mystic
post Jan 8 2017, 01:24 PM
Post #1





Group: Members
Posts: 1
Joined: 8-January 17
Member No.: 26,258



Hello all
I am helping an elderly gentleman who has lost 99% of his sight to retrieve and send emails by voice activation
Platform: Windows 10
I have got Dragon Naturally Speaking voice to text working for him but he cannot see the icons even at max size and the icons are in different places every time he switches his machine on!

All he wants to use is Word, Go to Gmail, and a couple of other items

My proposed solution is to create a very simple HTML page that appears on his screen on start-up. The page to have 4 high contrasting colours and clicking in the table data will activate the appropriate programme

The page consists of a table 1 row x 8 columns set to give 4 wide. The following code only has the link to Word on my machine but I dont know how to initiate the double click to open Word - If I can get that working the rest will be easy. Don't worry about the format of the page below it is only a test one..

Any help will be gratefully received

CODE

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
body {
    margin-left: 25px;
    margin-top: 800px;
    margin-right: 25px;
    margin-bottom: 30px;
}
body,td,th {
    font-family: verdana;
    font-size: 24px;
}
</style>
</head>


<body style=""><table width="1025" border="3" align="center" cellpadding="5" cellspacing="5">
  <tbody>
    <tr>
      <td width="200" height="285" bgcolor="#FD0004"><a href=""C:\Program Files\Microsoft Office 15\root\office15\WINWORD.EXE"">Word</a></td>
      <td width="10"> </td>
      <td width="200" bgcolor="#0054FF">Internet Explorer GMAIL</td>
      <td width="10"> </td>
      <td width="200" bgcolor="#02FD00">Dragon</td>
      <td width="10"> </td>
      <td width="200" bgcolor="#820002">Firefox</td>
      <td width="90"> </td>
    </tr>
  </tbody>
</table>
</body>
</html>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jan 8 2017, 06:20 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How do I force the browser to download a file? How do I force the browser to show/play a file itself? How do I force a file to be opened by a particular program?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 8 2017, 10:46 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



It can be done with HTA (HTML Applications)
https://en.wikipedia.org/wiki/HTML_Application

Basically a HTA is a local web page that runs as an application. It's a created as a normal HTML page with some special tags in it and saved as .hta. But you don't open it in a browser, you run it by clicking the icon. HTA allows a lot more scripting than a normal HTML page. Programs can be run from it with some flavour of Windows scripting.

It's been more than 10 years since I looked into this and I didn't look very deep, so I can't be of much help. I've mainly used it to create small info windows that can be run from within my text editor with lists of useful stuff I want to keep handy. I did get as far as running other applications, but I've forgotten the detail so you'd have to read up and google yourself.


But why not simply get something like this? Or maybe your friend already have something similar on his machine.
http://www.addictivetips.com/windows-tips/...ps-run-scripts/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 09:03 AM