Jump to content
LaunchBox Community Forums

How To Do Multiple Key Presses on Startup With Additional App?


Recommended Posts

Posted

Hello,

I have been trying to get a (non-emulated) game to both start up in Fullscreen (F11) and close the menu bar (F1) on startup automatically with an additional script - so far what I have been using is

#NoEnv

Sleep, 3000
SetKeyDelay, -1, 110
Send {F11}{F1}

Return

However this only ever seems to input F11 for fullscreen while leaving the menu bar up. Is there something I am missing in order to get both key presses to register?

Posted
4 hours ago, AlphaFeta said:

However this only ever seems to input F11 for fullscreen while leaving the menu bar up. Is there something I am missing in order to get both key presses to register?

Assuming they work when you do the manually, try separating out the Sends.

Sleep, 3000
SetKeyDelay, -1, 110
Send {F11}
Send {F1}

Return

 

Posted (edited)
19 hours ago, JoeViking245 said:

Assuming they work when you do the manually, try separating out the Sends.

Sleep, 3000
SetKeyDelay, -1, 110
Send {F11}
Send {F1}

Return

Unfortunately I tried that too and it also didnt work :/ 

Edited by AlphaFeta
Messed up quote
Posted
4 hours ago, AlphaFeta said:

Unfortunately I tried that too and it also didnt work

It may be sending them consecutively too fast. Try adding a delay between the 2 key presses.

Sleep, 3000
SetKeyDelay, -1, 110
Send {F11}
Sleep, 1000
Send {F1}

Return

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...