Close
Page 2 of 2 FirstFirst 1 2
Showing results 11 to 12 of 12

Hybrid View

  1. #1

    Default

    as long as i know, you can't iterate all existing windows.
    The simplest way to do this, is haveing seperate hotkeyfiles..

    Edit: ah, i think you can do it another way using: WinExists.
    Try the follwoing:

    Code:
    <Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
    <If WinExists WoW1>
        	<SendLabel w1>
        	 <ClickMouse %TriggerMainKey%>
    <EndIf>
    <If WinExists WoW2>
        	<SendLabel w2>
        	 <ClickMouse %TriggerMainKey%>
    <EndIf>
    <If WinExists WoW3>
        	<SendLabel w3>
        	 <ClickMouse %TriggerMainKey%>
    <EndIf>
    <If WinExists WoW4>
        	<SendLabel w4>
        	 <ClickMouse %TriggerMainKey%>
    <EndIf>
    <If WinExists WoW5>
        	<SendLabel w5>
        	 <ClickMouse %TriggerMainKey%>
    <EndIf>
    ..not elegant, but maybe working
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  2. #2

    Default

    Oh, one other thing about ClickMouse. Make sure "Substitute SendWinS for SendWinM with ClickMouse" is checked on the Settings Panel. It's supposed to be checked by default but maybe when I added it, there was a bug in the settings file code that screwed up. That code got added months ago but there was never a single bug report about it one way or the other so who knows.

    Oli's solution works in this case because all your WoWs are on the local machine but other people should keep in mind that IfWinExists doesn't know about remote machines.

    Red error messages from non-existent windows won't hurt anything in this case. I'm not sure whether red messages or If's would be faster but the difference is probably only a few millionths of a second so it doesn't really matter.
    �Author of HotkeyNet and Mojo

Similar Threads

  1. Did they change Assist/Focus?
    By sqeaky4100 in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 12-17-2008, 02:04 AM
  2. Setting focus change to a single button
    By pjdell in forum New Multi-Boxers & Support
    Replies: 7
    Last Post: 12-10-2008, 01:15 AM
  3. [Focus Macro] How to: friendly heal, harm heal focus...
    By Ramesses in forum Macros and Addons
    Replies: 2
    Last Post: 06-22-2008, 10:46 AM
  4. Stupid focus problem, how do I make someone focus not in my group?
    By shivetya in forum New Multi-Boxers & Support
    Replies: 6
    Last Post: 03-17-2008, 08:16 AM
  5. [WoW] Leader focus change macro
    By Ughmahedhurtz in forum General WoW Discussion
    Replies: 2
    Last Post: 09-11-2007, 02:39 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •