Jump to content

Unigui with voice recognition !


mhmda

Recommended Posts

  • 2 weeks later...
On 1/3/2020 at 7:03 PM, mhmda said:

thanks for your sample video .. great job ..you are very good
I also managed to add voice recognition to my project .. unfortunately .. usable well only on chrome
(I can give the essential commands with reference to the actions .. I can't simulate the movement keys .. example the "tab").
I thank you for sharing your idea.

PS: in your video "Unigui view office files online"
do you use an iframe with a link to Google Docs Viewer?

Link to comment
Share on other sites

Hi,

I use UniURLFrame.

I save only filename in DB, and the file itself I save in the HD, every customer has a unique folder and when DoubleClick on Grid row I use this:

...
targetFile:=ServerModule.NewCacheFileUrl(False, copy(ext,2,length(ext)-1), '', '', AUrl, True);
...
urlfrmAttached.HTML.Text:='about:blank';//to force refreshing
sleep(1500);
urlfrmAttached.HTML.Text:= '<iframe src="https://docs.google.com/viewerng/viewer?url='+
                           'https://www.nasaos.net'+AUrl+'&embedded=true" width="685px" height="540px" frameborder="0">'+
                           '</iframe>"';

 

The NewCacheFileUrl creates the file that can be accessed from the internet and it puts the link in the AUrl variable then you pass it to google docviewer.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...