Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

ControlClick doesnt work?


  • Please log in to reply
4 replies to this topic
marcs
  • Guests
  • Last active:
  • Joined: --
WinGet, windowlist, list, World of Warcraft ; Get list of World of Warcraft Window ID's
Loop, %windowlist%
{
  StringTrimRight, windowid, windowlist%a_index%, 0
  if a_index = 1
    ControlClick, x432 y875, ahk_id %windowid%
}

Controlsend works fine, but i need to use the mouse

  • Guests
  • Last active:
  • Joined: --
up

sinkfaze n-l-i
  • Guests
  • Last active:
  • Joined: --
This work?

WinGet, windowlist, list, World of Warcraft ; Get list of World of Warcraft Window ID's
Loop [color=red]%windowlist0%[/color]
{
  [color=red]windowid = windowlist%a_index%[/color]
  if a_index = 1
  {
    ControlClick, x432 y875, ahk_id %windowid%
    break
  }
  else
  {
    windowid =
    continue
  }
}


marcs
  • Guests
  • Last active:
  • Joined: --
no, but thanks

lylgreat
  • Members
  • 10 posts
  • Last active: Apr 23 2009 04:47 PM
  • Joined: 25 Nov 2008

WinGet, windowlist, list, World of Warcraft ; Get list of World of Warcraft Window ID's
Loop, %windowlist%
{
  StringTrimRight, windowid, windowlist%a_index%, 0
  if a_index = 1
    ControlClick, x432 y875, ahk_id %windowid%
}

Controlsend works fine, but i need to use the mouse


try the following code:
WinGet, windowlist, list, World of Warcraft ; Get list of World of Warcraft Window ID's
Loop, %windowlist%
{
  StringTrimRight, windowid, windowlist%a_index%, 0
  if a_index = 1
SetControlDelay, -1
    ControlClick, x432 y875, ahk_id %windowid%, ,,,NA
}