Hello,
I am completely new to AutoHotKey and scripting. I am trying to run a presentation clicker to progress slides in ProPresenter 7 whether the window is active or not. I am 100% clueless as to how to do this and any help would be greatly appreciated.
Thanks in advance.
Send commands to inactive window
Re: Send commands to inactive window
Welcome to AHK. I think I would start by writing a script that works when the window is active. See Send and Click. Those pages provide both descriptions and examples. WinActivate may also help. After you have it working, you can look at ControlSend and ControlClick. You will also want a plain-language description of how you would go about advancing the slides: what keyboard or mouse actions would be needed to do it.
An example for PowerPoint is below. Running Window Spy will show you the WinTitle.
An example for PowerPoint is below. Running Window Spy will show you the WinTitle.
Code: Select all
#IfWinExist ahk_class screenClass ahk_exe POWERPNT.EXE
F3::
If !WinActive()
WinActivate
Send {Space}
Return
#IfWinExist
Who is online
Users browsing this forum: Descolada, Google [Bot], hiahkforum and 158 guests