Close
Showing results 1 to 10 of 13

Thread: click script

Hybrid View

  1. #1

    Default

    <ClickMouse> is asking HotkeyNet to click the mouse at a certain location on that window. But the window has no locations because it's minimized. Its width is zero and its height is zero. Therefore it's impossible for HotkeyNet to do what you're asking.

    For example, how can HotkeyNet click halfway across the window when the width is zero? What's half of zero?

    Here's an alternative that might work. Instead of minimizing the window, you can hide it with <HideWin>. I've never tested this, but you may be able to send mouse clicks to a hidden WoW window.
    �Author of HotkeyNet and Mojo

  2. #2

    Default

    Quote Originally Posted by Freddie View Post
    <ClickMouse> is asking HotkeyNet to click the mouse at a certain location on that window. But the window has no locations because it's minimized. Its width is zero and its height is zero. Therefore it's impossible for HotkeyNet to do what you're asking.

    For example, how can HotkeyNet click halfway across the window when the width is zero? What's half of zero?

    Here's an alternative that might work. Instead of minimizing the window, you can hide it with <HideWin>. I've never tested this, but you may be able to send mouse clicks to a hidden WoW window.
    and where should i put that?

  3. #3

    Default

    In a hotkey. You would use the hotkey instead of minimizing the window.
    �Author of HotkeyNet and Mojo

  4. #4

    Default

    Quote Originally Posted by Freddie View Post
    In a hotkey. You would use the hotkey instead of minimizing the window.
    so a hotkey in game? i am a big noob on multiboxing so srry if im wrong
    (or do i just need to insert it in the script? like whenever altasmodifier, ctrl is pressed <hidewin> or smthing?)

  5. #5

    Default

    There are many different ways this can work. You have to decide what you want to do with your fingers and how you want the computer to respond before anybody can tell you how to write the script.

    For example, suppose you want to be able to press a certain key. The first time you press it, one of your WoWs gets hidden. The next time you press the key, that WoW gets revealed again.

    That's just an example. You can do many other things. . Instead of hiding WoW, you could shrink it and cover it. Instead of doing it to one WoW, maybe you want to do it to twenty WoWs simultaneously. Instead of making a hotkey for this purpose, you could add this action to an existing hotkey, maybe your PIP hotkey, so it happens automatically when you PIP.

    But I'll continue with the example I made up, a single hotkey that hides one WoW. Suppose you want that to happen when you press F9. Why F9? It's just an example. Pick any key or key combination you like.

    You would write something like this:

    Code:
    <Hotkey F9>
       <Toggle>
           <TargetWin WoW1>  // Substitute name of  window on your PC
           <HideWin>
       <Toggle>
          <TargetWin WoW1>
          <ShowWin>
    �Author of HotkeyNet and Mojo

  6. #6

    Default

    Quote Originally Posted by Freddie View Post
    There are many different ways this can work. You have to decide what you want to do with your fingers and how you want the computer to respond before anybody can tell you how to write the script.

    For example, suppose you want to be able to press a certain key. The first time you press it, one of your WoWs gets hidden. The next time you press the key, that WoW gets revealed again.

    That's just an example. You can do many other things. . Instead of hiding WoW, you could shrink it and cover it. Instead of doing it to one WoW, maybe you want to do it to twenty WoWs simultaneously. Instead of making a hotkey for this purpose, you could add this action to an existing hotkey, maybe your PIP hotkey, so it happens automatically when you PIP.

    But I'll continue with the example I made up, a single hotkey that hides one WoW. Suppose you want that to happen when you press F9. Why F9? It's just an example. Pick any key or key combination you like.

    You would write something like this:

    Code:
    <Hotkey F9>
       <Toggle>
           <TargetWin WoW1>  // Substitute name of  window on your PC
           <HideWin>
       <Toggle>
          <TargetWin WoW1>
          <ShowWin>
    thank you very much, ill try this when i have two shamans at 80 (i am gonna use ctrl+f9 tough)

Posting Rules

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