Jump to content

Strange Request


Nimpt
 Share

Recommended Posts

Hello to all:

I've been searching in the forums for some time but i cant find a way to solve this,basicly what I need is:

A script to use in Worlds of Warcraft that when I press the "K" key for example it presses the key's "1,2,3,4,5" but with intervals of half a second between them,something like this:

I hit "K"

Script clicks "1"

0.5sec

Script clicks "2"

0.5sec

....

Script clicks "5"

and then all the process is repeated when i press the "K" again

Thnx for all the help

Since I cant do a macro in game to cast a buff in diferent players of the party im gonna make 5 macros each macro for each player of the party and then keybinding them to 1,2,3,4,5 so when I hit "K" the all 5 macros will work separated for 0.5sec each.

Link to comment
Share on other sites

Hi,

it s all in the helpfile:

HotKeySet("k", "start")
HotKeySet("q", "_end")

Opt("SendKeyDelay", 500)
While 1
    Sleep(1000)
WEnd
Func start()
    Send("1" & "2" & "3" & "4" & "5")
EndFunc   ;==>start

Func _end()
    Exit(0)
EndFunc   ;==>start

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

yeah, but nearly the same script.

P.S. you are right!

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...