Page 1 of 1

Best way to use this for auto templates?

Posted: 26 Jun 2020, 20:24
by xxnonamexx
Hi I have been researching this software and wondering it it would work for templates.
Example we use a set of templates for emails and think this would be better than copy pasting. I was looking at the tutorials and want to make my F1 etc keys into hot keys.
Teamplate example:
Thanks for contacting us regarding your incident.
Please try the following steps to see if this resolves your issue.
Thanks etc

I tried to link this to F1 key but only first line took.
Also everytime I start my PC would I have to activate each template daily in order to use. Thanks

Re: Best way to use this for auto templates?

Posted: 26 Jun 2020, 20:40
by boiler
Hi. AutoHotkey is very well suited for what you are looking to do. Here is one way to get multiple lines to be pasted when you press the F1 key:

Code: Select all

F1::
SendInput,
(
Thanks for contacting us regarding your incident.
Please try the following steps to see if this resolves your issue.
Thanks etc
)
return
To get your script to automatically start every time your start your PC, right-click on the script file name in File Explorer and select "Create shortcut". Then copy or move the shortcut that is created to your Windows startup folder, which is typically this:
C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
where <user name> is your Windows user name

Re: Best way to use this for auto templates?

Posted: 27 Jun 2020, 11:01
by xxnonamexx
Thanks for the info. If I have 5-9 templates is there a way to put in one script for the startup or do they need to be added individually?

Re: Best way to use this for auto templates?

Posted: 27 Jun 2020, 11:53
by boiler
They can all be in the same script.

Re: Best way to use this for auto templates?

Posted: 27 Jun 2020, 12:14
by xxnonamexx
How can I add multiple templates to one script? Let's say template 1 fn1 key template 2 fn2 key etc. Thanks much appreciated.

Re: Best way to use this for auto templates?

Posted: 27 Jun 2020, 12:25
by boiler

Code: Select all

F1::
SendInput,
(
Thanks for contacting us regarding your incident.
Please try the following steps to see if this resolves your issue.
Thanks etc
)
return

F2::
SendInput,
(
My Name
Street Address
Anytown, Etc.
)
return

F3::SendInput, Phone: 123-456-7890

Re: Best way to use this for auto templates?

Posted: 07 Aug 2020, 14:09
by xxnonamexx
Thanks I noticed a delay in running the script from pressing the key until it populates the writing. Would that be an issue with the script?

Re: Best way to use this for auto templates?

Posted: 07 Aug 2020, 14:47
by boiler
That’s strange. It should send the text as soon as you press the hotkey.

Re: Best way to use this for auto templates?

Posted: 07 Aug 2020, 16:00
by xxnonamexx
I think it has to do with service now software but I'll check again thanks