Hey guys, not sure if anyone will use this but, here it is.
This is an AHK script to toggle switch between VR Elite and Windows desktop. A couple of things are required.
A standalone installation of Elite Dangerous (that is not launched from Oculus Home), AutoHotKey must be installed and Bigscreen.
It works pretty well and allows me to run apps in the background while not "leaving" VR.
This is an AHK script to toggle switch between VR Elite and Windows desktop. A couple of things are required.
A standalone installation of Elite Dangerous (that is not launched from Oculus Home), AutoHotKey must be installed and Bigscreen.
It works pretty well and allows me to run apps in the background while not "leaving" VR.
Code:
#NoEnv
#NoTrayIcon
#SingleInstance, Force
#Persistent
#MaxThreadsPerHotkey 2
SetTitleMatchMode, 2
SetBatchLines, -1
SetKeyDelay, 50,50
DetectHiddenWindows, On
CoordMode, Pixel, Screen
CoordMode, Mouse, Screen
CoordMode, Tooltip, Screen
;SendMode, Event
Return
; note both must be running for this routine to work this is an AutoHotKey script install the latest version before launching this script.
; Setup - Get rift running, launch Bigscreen, when in Bigscreen start E:D launcher from windows, lauch E:D
{:: ;<-- press shift and the left bracket key to switch between Elite and Bigscreen, you can change this key to whatever you like
; I use Freepie to map this key to a button on my HOTAS it task switches fast, then once you have switched to Bigscreen you can use windows as normal.
If ((WinExist("Elite - Dangerous (CLIENT)")) && (WinExist("Bigscreen")))
{ AppToggle := (!AppToggle)
If (AppToggle)
{ WinActivate, Bigscreen
Return
}
Else
{ WinActivate, Elite - Dangerous (CLIENT)
Return
}
}
Return