FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Time to consider CORTANA ?
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Time to consider CORTANA ?
Posted: Wed Nov 04, 2015 05:00 PM

Cortana is expanding and will soon be available everywhere. Introduced in Windows Phones, it is now integral to Windows 10. There is availability on Android, and iOS testing will begin soon.

Cortana can interact with apps and can be our true voice control in our projects. For clients who want voice driven applications, Cortana will be universally available, and may well be the perfect solution.

With this in mind, perhaps some of the people who are great at bringing new capabilities to FWH might want to explore this as a new feature for development.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Time to consider CORTANA ?
Posted: Wed Nov 04, 2015 09:05 PM

At the moment the API is available for development of Universal Apps and not for Desptop Apps
Let us wait and see.

Regards



G. N. Rao.

Hyderabad, India
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Time to consider CORTANA ?
Posted: Fri Feb 16, 2018 06:54 PM

Dear Mr. Rao,
any news on this.
Thank you in advance and best regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Time to consider CORTANA ?
Posted: Fri Feb 16, 2018 09:16 PM
Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   ShellExecute( 0, "open", "ms-cortana://StartMode=Reactive&ListeningMode=True&QuerySource=VoiceShortcutKey&Positioner=desktop&SpeechTextInputHeight=40&ColorPrevalenceEnabled=true&PersonaOnlySupported=true&TaskbarOrientation=3&SearchBoxInTaskbar=false&AppsUseLightTheme=false&HideFileExtensions=false" ) 

return nil


ms-cortana://Coobe
ms-cortana://home
ms-cortana://NoNavigate
ms-cortana://Reactive
ms-cortana://Proactive
ms-cortana://Reminders
ms-cortana://SearchResults
ms-cortana://Settings
ms-cortana://StartMode=Coobe
ms-cortana://StartMode=MyStuff
ms-cortana://StartMode=NamePronunciation
ms-cortana://StartMode=NoNavigate
ms-cortana://StartMode=Notebook
ms-cortana://StartMode=Proactive
ms-cortana://StartMode=QuietHours
ms-cortana://StartMode=Reactive
ms-cortana://StartMode=Reminders
ms-cortana://StartMode=SearchResults
ms-cortana://StartMode=Settings
ms-cortana://home/?QuerySource=
ms-cortana://StartMode=Settings&QuerySource=Settings
ms-cortana://StartMode=QuietHours&QuerySource=ActionCenter

Cortana icon:
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Time to consider CORTANA ?
Posted: Fri Feb 16, 2018 09:39 PM

I appreciate your feedback testing this one:

ShellExecute( 0, "open", "ms-cortana://search/?q=What's the weather like today" )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Time to consider CORTANA ?
Posted: Fri Feb 16, 2018 09:43 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 08:12 AM
appreciate your feedback testing this one:

ShellExecute( 0, "open", "ms-cortana://search/?q=What's the weather like today" )


Dear Antonio,
This is working fine.
Can wie do something like this:

What would be the ms_cortana command and how to store the text into a variable?
cText := ShellExecute( 0, "open", "ms-cortana://search/?q=What's the weather like today" )

Thanks in advance
Otto
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 08:24 AM

Dear Otto,

Please post a screenshot here with what you get when you run:

ShellExecute( 0, "open", "ms-cortana://search/?q=What's the weather like today" )

many thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 08:31 AM
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 08:33 AM
Dear Antonio,
this is what I get:
Thank you and best regards,
Otto
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 08:34 AM

Antonio,
How make this from fwh:

Create a calendar event
You can quickly create a new calendar event by typing create calendar in the search box of Cortana.

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 03:50 PM

Hello Antonio,
I’ve found a project for Windows Office: Dictate
an add-in for Microsoft Office.
This is a Microsoft garage project.
This is using Cortana not SpeechText with works much better.
But I found no other programs.
Maybe I could open from Fivewin WORD then dictate close and import the docx-file to the Fivewin program.
Best regards,
Otto

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Time to consider CORTANA ?
Posted: Sat Feb 17, 2018 04:31 PM

I wish dictate feature for FivEdit

Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Time to consider CORTANA ?
Posted: Mon Feb 19, 2018 10:50 AM
Getting closer to Cortana...

Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   ShellExecute( 0, "open", "ms-cortana://Reminders" )
  
   MsgInfo( FindWindow( 0, "Cortana" ) ) 

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Time to consider CORTANA ?
Posted: Tue Feb 20, 2018 10:24 PM

Dear Antonio,
Cortana is opening and asking "What can I do more". Also a MsgInfo with a number (661620) pops up.
On SERVER 2012 with no Cortana installed the number is 0.
Best regards,
Otto