AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to define a hotstring with the "\" symbol in i

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
dwaynek



Joined: 20 Dec 2005
Posts: 61

PostPosted: Sun Jul 05, 2009 5:09 am    Post subject: how to define a hotstring with the "\" symbol in i Reply with quote

i have a hotstring for "ts" but i want another hotstring specifically with the \ symbol in it eg "\ts".

how would i do this since autohotkey keeps referencing the original every time i do a "\ts"?
Back to top
View user's profile Send private message
System Monitor



Joined: 09 Mar 2007
Posts: 509
Location: Unknown

PostPosted: Sun Jul 05, 2009 6:14 am    Post subject: Reply with quote

try
Code:
`\ts
Back to top
View user's profile Send private message Visit poster's website
dwaynek



Joined: 20 Dec 2005
Posts: 61

PostPosted: Sun Jul 05, 2009 7:14 am    Post subject: Reply with quote

nope didn't work.
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Sun Jul 05, 2009 9:35 am    Post subject: Reply with quote

This works for me?
Code:
::\ts::test1
::ts::test2

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
dwaynek



Joined: 20 Dec 2005
Posts: 61

PostPosted: Sun Jul 05, 2009 11:49 pm    Post subject: Reply with quote

hmm you're right, apparently the order of how it was defined made a difference. so by putting the one with the symbol first, autohotkey would trigger that first.

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group