Author Topic: Third party apps for ED  (Read 2129 times)

Mr Talkalot

  • Newbie
  • *
  • Posts: 12
Third party apps for ED
« on: January 03, 2018, 01:00:38 AM »
I use several third party apps with ED,
I have looked everywhere, but may have missed the info I need.

I have ED Engineer, and Edison running in the background and
I want to bring focus ON/OFF to these as I need, without losing the Game focus on ED.

ED Engineer has a key to display it - Ctrl+F10
and
Edison has a key to display it - F9 - F10(screen shot)

However when I try to setup those keys in VA, to open these apps, it does not work.
Anyone can show me how to set this up?  I will be truly Grateful.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Third party apps for ED
« Reply #1 on: January 03, 2018, 03:09:06 PM »
Virtual keystrokes are always sent to the active window, which is a limitation of the Windows API(targeting any other window requires explicitly switching the active window first, using another function, before sending keystrokes).

This means keystrokes are not "global", in the way a physical keystroke is, so you have to switch focus to the target application if it offers no other means of interaction.
You can send the keystrokes and quickly switch back to the game(provided the game isn't running in exclusive fullscreen mode), but you'll always lose control input for a split second at least.

Mr Talkalot

  • Newbie
  • *
  • Posts: 12
Re: Third party apps for ED
« Reply #2 on: January 05, 2018, 01:39:16 AM »
So.....?
How do i switch focus to the app with VA,
and then switch back to ED while letting the apps run in the background?
Please remember I am not a programmer, so much of what you say understood,
but how to do it is greek to me.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Third party apps for ED
« Reply #3 on: January 05, 2018, 11:27:26 AM »
Code: [Select]
Display window '*notepad*' as [Show]
Press Left Ctrl+F10 keys and hold for 0,06 seconds and release
Display window '*Calculator*' as [Show]

The first and last action in the command are "Perform a Window Function"(Other > Windows > Perform a Window Function) actions.
Replace the contents of the "Window Title" field with the window titles of ED Engineer and Elite: Dangerous, respectively(I don't have either application, so I don't know the exact window titles they use).

Mr Talkalot

  • Newbie
  • *
  • Posts: 12
Re: Third party apps for ED
« Reply #4 on: January 09, 2018, 04:03:43 AM »
Thanks, will try this.