Jump to content

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

Trying to output a plus (+) sign


  • Please log in to reply
3 replies to this topic
waveform
  • Members
  • 29 posts
  • Last active: Jun 28 2017 01:50 AM
  • Joined: 23 Apr 2007
I have the following script:

!+^,::SendInput {SPACE}\+ ',' \+{SPACE}

Which should (I think) output " + ',' + " (without the outer quotes). However the plus signs aren't appearing - they're coming out as blank spaces. I've tried "\+" and "{plus}" just in case, but no luck. If I change them to minus (-) signs, it works fine. Just not with plus signs.

How do I output a plus sign?
Cheers!

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007

{plus}

Almost, try
[color=red]{+}[/color]
Look at the keynames <!-- m -->http://www.autohotke...mmands/Send.htm<!-- m -->

Damein
  • Members
  • 296 posts
  • Last active: Nov 17 2011 07:37 PM
  • Joined: 27 Aug 2009
Well.. this works for me.

SendInput {SPACE}\{+} ',' \+{SPACE}

Try that, if not do this:

!+^,::
SendInput {SPACE}\
Sleep, 50
SendInput {Shift Down}
Sleep, 50
SendInput {=}
Sleep, 50
SendInput {Shift Up}
Sleep, 50
Send Input ',' \
Sleep, 50
SendInput {Shift Down}
Sleep, 50
SendInput {=}
Sleep, 50
SendInput {Shift Up}
Sleep, 50
SendInput {SPace}

And that should work :p

waveform
  • Members
  • 29 posts
  • Last active: Jun 28 2017 01:50 AM
  • Joined: 23 Apr 2007

{plus}

Almost, try
[color=red]{+}[/color]
Look at the keynames <!-- m -->http://www.autohotke...mmands/Send.htm<!-- m -->


Ah cool {+} works great. Thanks!!