Help - Search - Members - Calendar
Full Version: KeySpammer
AC Tools Everything Macro > AC Tool Macros > Macro Development
Wicked
can anyone make a script were ctrl+num8 are spammed every 3 seconds and it targets application name BobSkull.
Veyr much appreciated.
DaMOB
QUOTE(Wicked @ May 23 2009, 05:38 PM) *
can anyone make a script were ctrl+num8 are spammed every 3 seconds and it targets application name Bobskull.
Veyr much appreciated.

We don't normally make anything for people here we only guide them once they show they have the brain power to handle the coding.
Wicked
SetActiveWindow BobSkull

while 1=1
delay 3 sec
keydown {ctrl}
Keys {Num 8}
end
DaMOB
QUOTE(Wicked @ May 23 2009, 06:23 PM) *
SetActiveWindow BobSkull

while 1=1
delay 3 sec
keydown {ctrl}
Keys {Num 8}
end

Did that work? If not where seems to be the issue?
Wicked
single keys seem to work, but not double keys.
DaMOB
QUOTE(Wicked @ May 23 2009, 07:33 PM) *
single keys seem to work, but not double keys.

When you say num 8 do you mean 8 or number pad 8?

Ctrl is ^ btw.
Wicked
QUOTE(DaMOB @ May 23 2009, 09:33 PM) *
QUOTE(Wicked @ May 23 2009, 07:33 PM) *
single keys seem to work, but not double keys.

When you say num 8 do you mean 8 or number pad 8?

Ctrl is ^ btw.

yes i mean numpad 8

would it be like this?


QUOTE
SetActiveWindow BobSkull

while 1=1
delay 3 sec
Keys ^{Num 8}
end

OR

SetActiveWindow BobSkull

while 1=1
delay 3 sec
Keys {^Num 8}
end


please point me in the right direction
DaMOB
QUOTE(Wicked @ May 23 2009, 09:28 PM) *
QUOTE(DaMOB @ May 23 2009, 09:33 PM) *
QUOTE(Wicked @ May 23 2009, 07:33 PM) *
single keys seem to work, but not double keys.

When you say num 8 do you mean 8 or number pad 8?

Ctrl is ^ btw.

yes i mean numpad 8

would it be like this?


QUOTE
SetActiveWindow BobSkull

while 1=1
delay 3 sec
Keys ^{Num 8}
end

OR

SetActiveWindow BobSkull

while 1=1
delay 3 sec
Keys {^Num 8}
end
please point me in the right direction

I am not sure but I think I have read that it can't be done but don't take my word for that do a search on the forum or maybe one of the other people will chime in here in that knows. I don't do much with the numpad in ACTool but if I were to say the best bet would be your first choice of ^{Num 8}.
Ahk
^{num 8} seems to work.

Test code...
CODE
clearglobalkeys
delay 3000
Keys ^{Num 8}
timestamp {globalkeys}
DaMOB
QUOTE(Ahk @ May 23 2009, 10:53 PM) *
^{num 8} seems to work.

Test code...
CODE
clearglobalkeys
delay 3000
Keys ^{Num 8}
timestamp {globalkeys}

Yeah, that made the most sense to me.
Wicked
QUOTE(DaMOB @ May 24 2009, 12:09 AM) *
QUOTE(Ahk @ May 23 2009, 10:53 PM) *
^{num 8} seems to work.

Test code...
CODE
clearglobalkeys
delay 3000
Keys ^{Num 8}
timestamp {globalkeys}

Yeah, that made the most sense to me.


while 1=1
delay 3 sec
KeyDown ^{Num 8}
end

This is working beautifully =]
Thank you guys. This saves me trouble from having to click it over and over.

-------
My next question, is there a way to hold keys down instead of pressing on ac tools? This is based on my code of course =].
Ahk
Explain a little more what you're trying to do.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.