Here is the current script
Spoiler
I would love to make the send inputs easier to alterCode: Select all
; Language: English
; Author: cry8wolf9#7660
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force ; Makes sure the script only runs one at a time.
#MaxThreadsPerHotkey 3
*f3::
#MaxThreadsPerHotkey 1
If SpamLoop {
SpamLoop := False
return
}
SpamLoop := True
Loop { ; Add a number after "Loop" if you want it to loop a specific number of times
Loop 1 { ; The amount of messages it sends before waiting (default = 1)
SendInput .b Brewer 4361
SendInput {Enter}
Sleep, 5500
SendInput .b Grinder 4449
SendInput {Enter}
Sleep, 5500
SendInput .b Shelving 3908
SendInput {Enter}
Sleep, 5500
SendInput .b Wifi 3708
SendInput {Enter}
Sleep, 5500
SendInput .b Ice-Machine 2599
SendInput {Enter}
Sleep, 5500
SendInput .b Blender 2178
SendInput {Enter}
Sleep, 5500
SendInput .b Table 1286
SendInput {Enter}
Sleep, 5500
SendInput .b Dishwasher 896
SendInput {Enter}
Sleep, 5500
SendInput .b Seat 50
SendInput {Enter}
Sleep, 5500
SendInput .b Espresso 44
SendInput {Enter}
Sleep, 5500
SendInput .b Boiler 52
SendInput {Enter}
Sleep, 5500
SendInput .b Wastebin 43
SendInput {Enter}
Sleep, 5500
SendInput .b Refrigerator 40
SendInput {Enter}
Sleep, 5500
SendInput .b Infuser 35
SendInput {Enter}
Sleep, 5500
SendInput .b Sofa 24
SendInput {Enter}
Sleep, 5500
SendInput .b Dispenser 20
SendInput {Enter}
Sleep, 5500
SendInput .b Creamer 12
SendInput {Enter}
Sleep, 5500
SendInput .b Press 8
SendInput {Enter}
Sleep, 5500
SendInput .b Pitcher 6
SendInput {Enter}
Sleep, 5500
SendInput .b Urn 5
SendInput {Enter}
Sleep, 5500
SendInput .b Airpot 4
SendInput {Enter}
Sleep, 5500
SendInput .b Sleeve-Holder 3
SendInput {Enter}
Sleep, 5500
SendInput .b Warmers 2
SendInput {Enter}
Sleep, 5500
SendInput .b Spigot 2
SendInput {Enter}
Sleep, 5500
SendInput .b Juicer 2
SendInput {Enter}
Sleep, 5500
SendInput .b Teapot 2
SendInput {Enter}
Sleep, 5500
SendInput .b Pump 1
SendInput {Enter}
Sleep, 5500
SendInput .b Delivery 1
SendInput {Enter}
Sleep, 5500
SendInput .b Grill 1
SendInput {Enter}
Sleep, 5500
if not SpamLoop
break
}
Sleep, 1000 ; How long in milliseconds it will wait before it starts sending messages again
if not SpamLoop
break
}
something like this
Spoiler
Code: Select all
; Language: English
; Author: cry8wolf9#7660
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force ; Makes sure the script only runs one at a time.
#MaxThreadsPerHotkey 3
*f3::
#MaxThreadsPerHotkey 1
If SpamLoop {
SpamLoop := False
return
}
SpamLoop := True
Loop { ; Add a number after "Loop" if you want it to loop a specific number of times
Loop 1 { ; The amount of messages it sends before waiting (default = 1)
.b Wifi 116
.b Ice-Machine 87
.b Blender 82
.b Table 52
.b Dishwasher 43
.b Seat 19
.b Espresso 14
.b Boiler 15
.b Wastebin 12
.b Refrigerator 10
.b Infuser 8
.b Sofa 5
.b Dispenser 5
.b Creamer 2
.b Press 2
.b Pitcher 2
.b Urn 1
.b Airpot 2
.b Sleeve-Holder 1
.b Warmers 1
.b Spigot 1
.b Teapot 1
if not SpamLoop
break
}
Sleep, 1000 ; How long in milliseconds it will wait before it starts sending messages again
if not SpamLoop
break
}
but i need to keep the timer in between each entry and of coarse the sendinput