AutoHotkey minimizes my windows (and I don't want it to)
Posted: 21 Oct 2021, 13:21
Hey everyone, I am brand new to AutoHotkey and know next to nothing about coding. I am trying to do something pretty basic: assign a text (a template for work) to a hotkey so that I don't have to copy+paste every time. It's partly in paragraph form, so I tried to write a continuation section rather than type `n for every new line. Well, it mostly works--it pastes the text right into Word, Outlook, Docs, or whatever, BUT it also minimizes all my open windows, which is extremely irritating. Does anyone know why it may be doing that? Can you see an error in my script? One good thing seems to be that it seems to enter all the text quite quickly, but that could be a total coincidence.
Here is what I have (obviously there are actual sentences/paragraphs in the real text, but this is the format):
[Mod edit: [code][/code] tags added.]
Thank you!!!!
Here is what I have (obviously there are actual sentences/paragraphs in the real text, but this is the format):
Code: Select all
^l::
sendinput,
(
texttexttexttexttexttexttext:
texttext:
texttexttexttext:
text:
texttexttexttexttexttext:
textte xttexttextte xttexttexttextt exttexttext texttexttexttexttexttex texttexttextt exttexttexttexttexttex ttexttexttexttexttexttexttex ttexttexttextte xttexttexttexttexttextt exttexttexttexttexttexttext texttexttexttext texttexttexttex ttexttexttexttexttexttexttexttexttex ttexttexttextt exttexttexttexttexttexttext texttexttexttexttextte xttexttexttex ttexttexttexttexttexttextt exttexttextte xttexttexttexttext texttexttexttexttexttexttextt exttexttexttextte xttexttexttexttexttext texttexttexttextte xttexttexttexttextt exttexttext t exttexttexttexttexttexttextt exttexttextt exttexttex ttexttextte exttextt exttex ttexttextte xtte xttext texttext text.
textte xttexttextte xttexttexttextt exttexttext texttexttexttexttexttex texttexttextt exttexttexttexttexttex ttexttexttexttexttexttexttex ttexttexttextte xttexttexttexttexttextt exttexttexttexttexttexttext texttexttexttext texttexttexttex ttexttexttexttexttexttexttexttexttex ttexttexttextt exttexttexttexttexttexttext texttexttexttexttextte xttexttexttex ttexttexttexttexttexttextt exttexttextte xttexttexttexttext texttexttexttexttexttexttextt exttexttexttextte xttexttexttexttexttext texttexttexttextte xttexttexttexttextt exttexttext t exttexttexttexttexttexttextt exttexttextt exttexttex ttexttextte exttextt exttex ttexttextte xtte xttext texttext text.
texttexttext
)
return
Thank you!!!!