Author Topic: Windows 8 support  (Read 4053 times)

0 Members and 1 Guest are viewing this topic.

Jormundgand

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Windows 8 support
« on: October 20, 2012, 12:19:23 PM »
I haven't gotten around to testing Vox with Windows 8, but was curious if any other users have had success and what kind of usability they achieved out of it.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #1 on: October 21, 2012, 08:20:15 AM »
Me too!  :biglaugh

I have been waiting for the official release to install it.  I believe Wanilton has tested it and it works normally, but it will be a while before any new windows 8 specific functionality is added.  I am definitely interested in the possibility of some kind of metro OSD connection.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: Windows 8 support
« Reply #2 on: October 24, 2012, 06:35:07 PM »
Yes voxcommando work fine with windows 8, equal experience with 7, no troubles here.
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Jormundgand

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Windows 8 support
« Reply #3 on: October 27, 2012, 06:38:27 PM »
Thanks for the replies, I installed Windows 8 as a clean install last night and have Vox running off my Kinect fine. One issue I'm running into is loading Metro UI applications from Vox. The applications are stored in a special folder within the program files folder called WindowsApps. I don't seem to be able to launch any of these from Vox. Any ideas?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #4 on: October 27, 2012, 10:43:55 PM »
hmmm.  I don't have win 8 yet so I can't try it myself.  Can you tell us how you are trying to call this action?

Please provide the action, and the parameter.   Or send us an image of the command builder window.  Maybe we can spot something.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #5 on: October 27, 2012, 10:47:23 PM »
after a quick web search I came across this:

http://www.ghacks.net/2012/07/29/create-desktop-shortcuts-for-windows-metro-apps/

Looks like maybe this is a limitation of windows 8.  I don't know enough about it to suggest a workaround but I imagine someone will come up with something eventually.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #6 on: October 27, 2012, 10:58:07 PM »
it is not ideal, but for now you might get around this by using keyboard emulation.

Send the Windows Key, then the name of the app, then Enter and it should execute it.  You may need to insert a short vc.pause before sending Enter.

Try importing the attached group to your command tree (you'll need to edit the app name and add a phrase to trigger the command).  It works in Win 7 to launch wordpad, though you might have problems if running a program in true fullscreen mode.  If you have two apps with the same name it will probably just launch whichever is at the top of the "search" list

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Windows 8 support
« Reply #7 on: October 31, 2012, 07:48:58 AM »
Me too!  :biglaugh

I have been waiting for the official release to install it.  I believe Wanilton has tested it and it works normally, but it will be a while before any new windows 8 specific functionality is added.  I am definitely interested in the possibility of some kind of metro OSD connection.
Hi guys, I've bought a official release "Windows 8 pro".
VoxCommando works as well as with Windows 7, no problems. I have installed it as upgrade over my Win7Ultimate. The system boot is even faster as before.
It looks like the speech engine is the same as in Win7 (microsoft spend it more and other voices, "Anna" is not available any more).
A move from Windows 7 to Windows 8 brings only a little advantage (for me). The biggest advantage is probably the fact, that there are not so many versions available (Windows 8 and Windows 8 PRO) and the price is cheap (the downloaded Pro version cost 30 EURO on the microsoft website). To install different language packages is possible with the pro version (I'm not sure if it is available without the pro).

This is only a short review after  1hour test  ;)

Kalle
***********  get excited and make things  **********

Jormundgand

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Windows 8 support
« Reply #8 on: November 01, 2012, 04:51:18 PM »
I apologize for not replying sooner. The xml launch method you posted works for a standard desktop application and properly switches to the desktop environment, then performing the launch of the specified application; However what I am attempting to do is launch the metro only applications, which are sandboxed within the metro UI. The applications themselves much be launched from the metro UI container.  ::confused I understand Microsofts attempts at making applications more secure, but its a hell of a bump in the road. As of now even Dragon Naturally Speaking has no work arounds, that I am aware of, to launching and managing functions for any Metro style apps.

Jormundgand

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Windows 8 support
« Reply #9 on: November 01, 2012, 06:17:12 PM »
I.E. start microsofts built in speech recognition and command "Start Slacker" it will immediately switch to the metro UI and launch that application. However if I create a launch command with Vox for the Slacker executable that is found in the Program Files folder, it will not launch even with SmartScreen disabled. It isn't just a limitation of Vox though, browsing to the executable with Explorer and launching it produces this message "This application can only run in the context of an app container".

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #10 on: November 02, 2012, 12:53:51 PM »
I have done a bit of experimenting with Windows 8 and I have come up with a keyboard emulation solution that seems to work reasonably well for launching apps.

press windows key and release
press Windows - Q
wait for a short period
type app name
press enter

I've attached a sample group that you can import to test.  For better control you will probably want to use a payloadXML insteadof payloadList

edit:  if you want you can copy and paste this xml code directly into your VC tree (instead of downloading the xml file).  I have added netflix to the payload list

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="444" name="launch app {1)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <cmdString>{LWIN}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <cmdString>{LWIN}({Q})</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <cmdString>300</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.TextEntry</cmdType>
    <cmdString>{1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <cmdString>{enter}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>launch app</phrase>
  <payloadList>weather, maps, games, music, calendar, netflix</payloadList>
</command>
« Last Edit: June 18, 2013, 07:07:01 PM by jitterjames »

Jormundgand

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Windows 8 support
« Reply #11 on: November 03, 2012, 04:00:30 PM »
Thanks, I'll give it a shot here in a sec. I've found that metro apps can be launched from command line using the start command.

Code: [Select]
start "" "bingnews:"
Code: [Select]
start "" "skype:"
Digging through the registry they seem to launch from URL associations or classids (possibly both), some applications such as netflix create these keys when installed so using the command
Code: [Select]
start "" "netflix:" has no issue launching the application from the desktop environment.

The initial set of quotes can be filled in with whatever the user desires as it will simply be the title for the windows opening.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #12 on: November 03, 2012, 04:06:24 PM »
Thanks, I'll give it a shot here in a sec. I've found that metro apps can be launched from command line using the start command.

Code: [Select]
start "" "bingnews:"
Code: [Select]
start "" "skype:"
Digging through the registry they seem to launch from URL associations or classids (possibly both), some applications such as netflix create these keys when installed so using the command
Code: [Select]
start "" "netflix:" has no issue launching the application from the desktop environment.

The initial set of quotes can be filled in with whatever the user desires as it will simply be the title for the windows opening.

That sounds promising.  I guess you have not had any luck using this format with VC's launch actions?

Jormundgand

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Windows 8 support
« Reply #13 on: November 03, 2012, 04:12:34 PM »
That sounds promising.  I guess you have not had any luck using this format with VC's launch actions?

I'll be giving it a go here in a moment along with seeing how your method works, tbh I'm still very new to the command structure of Vox but it seems very simplistic in nature. I'm also trying to find a way to create the registry keys necessary to launch applications that do not by default create them. My test subject on this has been Slacker obviously.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Windows 8 support
« Reply #14 on: November 03, 2012, 05:42:13 PM »
This should work for anything that has this kind of "URL:" in the registry

- create a batch file in your VC folder and call it start.bat (see attached)

the bat file should just contain one line:

Code: [Select]
start "" "%1"
- In your action do this:

Code: [Select]
Launch.Hidden         start.bat      bingnews:
« Last Edit: November 03, 2012, 05:44:19 PM by jitterjames »