Ive struggled, like many others, to embed CoPilot into a Frontend program. It has proven difficult if not impossible.
So instead of persisting upon this goal I have come up with a sort of patch for the problem
I used AutoIt to create a little script that when run will switch focus from whatever window is open (say a frontend for instance) to the CoPilot screen
Then in your frontend just specify that script exe as an external program and label it GPS.
Its also been written with a small portion of logic that checks if CoPilot is already open and if it isnt then it will be opened for you
Getting back to your frontend from CoPilot can either be done by keeping your taskbar on "always on top" mode, use the program created here called alttabber or simply exit the program
Heres the file:
http://www.dwoloz.com/copilot.exe
Heres the source:
Code:
;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author: aoLhaTer
;
; Script Function:
; Checks if CoPilot is open: if it is then focus is switched to it and if it is not then it is opened
;
If WinExists("CoPilot Live") Then
WinActivate("CoPilot Live");
Else
Run("C:\Program Files\CoPilot Live\Laptop7\App\CoPilot.exe");
EndIf
A note: In Centrafuse you need to specify a window name for the exe to run so just enter in a bogus name
Bookmarks