Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Emulate Keystrokes not working

If you have a question or need help, this is the place to be.
Post Reply
douglasrac
Posts: 1
Joined: Thu Feb 12, 2015 10:09 pm

Emulate Keystrokes not working

Post by douglasrac »

Hi,

I have this setup:

http://imgur.com/TL1AbBf

The bat file is actually just to execute an MP4 file. This will open VLC and the video will start playing. Then I need it to press F, so the video goes fullscreen.

Its not working. I also tried double left click, didn't work either. I tried windows focus, still nothing.
Dragon470
Experienced User
Posts: 205
Joined: Thu Feb 10, 2011 2:16 am

Re: Emulate Keystrokes not working

Post by Dragon470 »

use the FindWindow action. I just tried it with vlc.

Likewise this could be use in a script:

Code: Select all

eg.plugins.Window.FindWindow(u'vlc.exe', None, None, None, None, None, False, 0.0, 0)
eg.plugins.Window.SendKeys(u'f', False)
Post Reply