Jump to content

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

Invalid Hotkey


  • Please log in to reply
1 reply to this topic
Ghibli
  • Members
  • 17 posts
  • Last active: Aug 29 2016 06:40 PM
  • Joined: 27 Jan 2014
#IfWinActive, Star Wars™: The Old Republic™
 ~{lshift}{TAB}:: ---------------------------------------------------------- <<<PROBLEMATIC LINE
loop
{
GetKeyState, ScrollLockState, ScrollLock, T
if (ScrollLockState = "U") {
break
} else {
if (ToggleChat := 1) {
Send, p
Send {lshift}{tab}
Sleep, 100
GetKeyState, state, {lshift}, P
if state = U  ;
break
GetKeyState, state, {tab}, P
if state = U
break
}
}
}
return
 
Having problems using {lshift}{TAB} to check if both are down. Tried +{Tab} with the same result. Know a quick fix?


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

~+Tab should be the hotkey. (Or for specifically LShift, look at ~<+Tab.) Read up on modifiers.

 

Edit: Also, GetKeyState, state, {lshift}, P should be GetKeySTate, state, lsfhit, P