Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Multiple triggers, same Hotstring with long replacements


  • Please log in to reply
4 replies to this topic
PiperDan
  • Members
  • 3 posts
  • Last active: Nov 14 2015 12:55 PM
  • Joined: 29 Sep 2015

**NEWBIE ALERT**

 

Hi Everyone,

 

I'm trying to create this hotstring with 3 different trigger words using a long replacement that allows:

- Hard carriage return

- Preserves indentation

- Special characters

 

I've tried using the typical ( ) technique but it will only work on the last trigger word "appointment"
 

 

#Hotstring EndChars \

::apt::
::appt::
::appointment:: (
LINE 1
LINE 2
LINE 3
)

 

 

Using send return allows the use of all 3 tirgger words however i seem to be restricted to a single line and i'm unable to use special characters. Adding an additional line of text gives an error.
 

 

#Hotstring EndChars \

::apt::
::appt::
::appointment::
send, Line1
return

 

 

 

Hope you can help,

Thanks



HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
send, Line1{Enter}Line2{Enter}Line3


PiperDan
  • Members
  • 3 posts
  • Last active: Nov 14 2015 12:55 PM
  • Joined: 29 Sep 2015

This does work however some replacements are a couple of paragraphs long and it doesnt allow me to use special characters



Exaskryz
  • Members
  • 3249 posts
  • Last active: Nov 20 2015 05:30 AM
  • Joined: 23 Aug 2012

::apt::
::appt::
::appointment::
SendInput,
(
Test
This
Out
)
return


PiperDan
  • Members
  • 3 posts
  • Last active: Nov 14 2015 12:55 PM
  • Joined: 29 Sep 2015

It works!. Thanks :-)