安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题



I am building my own Windows 10 PC for gaming exclusively and it'd be neat to get straight into a Xbox One exclusive title from within Big Picture.
http://www.neogaf.com/forum/showpost.php?p=178082645&postcount=27
I'm not able to understand much of this, but hopefully it'll be of use to you.
___________________________________________________
Really not that complex at all. It's just a giant macro-driven batch file. First, I launch the xbox streaming application on windows 10, using the following command: start xbox
next, I launch a program from the batch file called AutoSizer, this lets me save the position and size of the Xbox Streaming window so buttons will be in the same place every time. I have autosizer automatically make the xbox streaming app full screen then close.
Next, I launch an autohotkey script that uses MouseMove to move the position of the mouse and send mouse clicks. (EDIT: One tip - when you do this, use CoordMode to make the XY coordinate you feed your mouse relative to the entire screen, not just active window. This way, even if you lose focus of the xbox streaming window as the batch files open and close, it'll still be clicking in the correct spot of the screen.) I just figured out where the "Xbox streaming" button was, moved the mouse to that button, then clicked, then moved to the "turn on Xbox" button and clicked that, then moved to the "stream" button and clicked that. I saved my autohotkey script as an executable and launch it from my batch file after resizing the xbox streaming application with AutoSizer.
After all that, I took my batch file, and using an online batch to exe converter (like this one: http://www.f2ko.de/en/ob2e.php) turned it into an executable, added it as a non-steam game, then gave it a custom steam banner.
Voila, one click xbox one streaming. I can go from playing a steam game to playing an Xbox One game without ever putting down the controller or changing the channel.
___________________________________________________
MouseMove is a command in autohotkey. I have autohotkey set to start when windows starts, because I use it and eventghost to remap some buttons on my MCE remote. I just send it scripts to execute when I need to. However you can use autohotkey in a variety of ways - it's a very powerful windows macro and remapping tool. You can create macros that themselves compile into executables that you can open from your batchfile if you don't want to keep autohotkey running at all times. In that case, once the macro finishes executing, the autohotkey program closes. Autosizer is installed on the system, the batch file that I turn into an executable opens and closes it as necessary.
I use the following commands pretty extensively, they are very useful for controlling windows through batch files:
Taskkill - Lets you end programs in windows from a command.
Start - lets you run and execute programs from a command line, very useful. You need to properly set up the command, point to the correct startup folder with the /D flag. You can use /wait to make the batch file halt until the started task has ended, which is useful if you want to make sure something finishes before moving on.
within autohotkey, I use the following commands:
MouseMove - moves the mouse cursor to specific locations on an active window or the entire screen. I use CoordMode to make sure the mouse locations I am sending are relative to the entire screen, not a particular window. The command can be instant - i.e. the mouse cursor moves instantly to the desired location, or you can set a movement speed. Using the movement speed is handy if you want to delay an action. Example - because it can take time to connect or turn on my xbox one, I will move the mouse slowly from button to button, exceeding the timeout period, so that the correct actions will be complete by the time I am ready to move on.
MouseClick - This clicks at a specified location relative to either a window or the entire screen. This is the command I use to click buttons on the Xbox One streaming app. A general tip - if you launch the Xbox One streaming app from steam, it'll appear for a moment, then you'll return to the steam interface. This is because what you are actually launching is an executable that is sending batch commands, not the xbox one streaming app itself. When the executable is done sending it's commands, steam thinks the program has ended and returns you to the menu. You can get around this by sending a mouse click command to an area of the screen where the Xbox One streaming app appears, so that it steals focus away from steam. This way, when the command line executable program ends, the Xbox One streaming app still has focus.
In the end, everything is activated from one executable, which I add into steam. If I open the shortcut in steam labeled "Xbox One" it'll run my batch file to open the xbox streaming app, open the streaming tab, turn on my xbox, and set the client to start streaming.
___________________________________________________
Honestly, a lot of this autohotkey stuff won't be necessary in about a month once steam controllers arrive. At that point, controlling your mouse from your couch with a controller becomes trivial. The xbox one streaming app is completely navigable with a steam controller, meaning all you have to do is create a batch file that launches the streaming app and nothing more. Sure you'd have to put down your steam controller and pick up an xbox one controller but that's just a minor inconvenience if you can't be bothered to do what I describe above. I have my PS4 running to an ExtremeCap U3 so I can stream my PS4 to my PC as well, and basically play my entire library from one device without ever changing the channel, but I have to switch controllers in that case. So having to switch to the xbox one controller isn't a big deal for me.
You can use the method I described, however, to add all sorts of things to steam. It's really useful if you want to add, say, netflix or hulu or any other type of website-based streaming content to steam through an actual shortcut in your games list. That's how I have the ESPN3 shortcut in the image I posted earlier.
________
I think Controller Companion can accomplish much of that already.
http://psteamproxy.yuanyoumao.com/app/367670
Unfortunately it looks like it doesn't work on the Windows login screen so I can't login with a gamepad, guess I will have to wait for the Steam Controller before Windows 10 will work (sort of) well as a TV machine.