#include "FiveWin.ch"
function Main()
ShellExecute( 0, "open", "microsoft-edge://?ux=copilot&tcp=1&source=taskbar" )
SysWait( 1 )
CreateObject( "WScript.Shell" ):SendKeys( "tell me latest news~" )
return nil#include "FiveWin.ch"
function Main()
ShellExecute( 0, "open", "microsoft-edge://?ux=copilot&tcp=1&source=taskbar" )
SysWait( 1 )
CreateObject( "WScript.Shell" ):SendKeys( "tell me latest news~" )
return nilDear Antonio,
This is very interesting. Thank you very much.
It works, but I don't see where it creates the exe.
Possibly it's being deleted by my antivirus software right away?
Antonio, do you think one can also query the responses?
I am using this approach with mod harbour but I add my prompts with copy and paste. The problem with the API key is that there is no cost overview.
Best regards,
Otto
Dear Otto,
Here it properly creates the EXE and runs fine
> Possibly it's being deleted by my antivirus software right away?
Yes, probably
> Antonio, do you think one can also query the responses?
We need to find the Windows Copilot keys shortcut to copy the responses
#include "FiveWin.ch"
function Main()
ShellExecute( 0, "open", "microsoft-edge://?ux=copilot&tcp=1&source=taskbar" )
SysWait( 5 )
CreateObject( "WScript.Shell" ):SendKeys( "what time is it ?~" )
SysWait( 15 )
CreateObject( "WScript.Shell" ):SendKeys( "{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}{Tab}~" )
MsgInfo( TClipBoard():GetText() )
return nilDear Antonio,
Couldn't one download the entire website and then use the last answer?
I tried to write into the prompt: Create a capitio: "Answer to question: 100"
Then I could search for "Answer to question: 100" and download from the html.
Best regards,
Otto
Dear Otto,
Once copilot answers, please press tab until you reach a "copy" button then press enter
thats what the above code does and it should place the answer in the clipboard