Search found 2274 matches

by Rohwedder
28 Oct 2019, 08:13
Forum: Ask For Help
Topic: Grouping Multiple programs Topic is solved
Replies: 4
Views: 257

Re: Grouping Multiple programs Topic is solved

then perhaps?: SetTitleMatchMode, 2 GroupAdd, Android, ahk_exe studio64.exe GroupAdd, Android, ahk_exe idea64.exe #IfWinActive, ahk_exe Code.exe !1::Send, ----Web1---- !2::Send, ----Web2---- !3::Send, ----Web3---- #IfWinActive, ahk_group Android !1::Send, ----Android1---- !2::Send, ----Android2---- ...
by Rohwedder
28 Oct 2019, 01:59
Forum: Ask For Help
Topic: Grouping Multiple programs Topic is solved
Replies: 4
Views: 257

Re: Grouping Multiple programs Topic is solved

Hallo, only a try: SetTitleMatchMode,RegEx #IfWinActive, ahk_exe i)Code.exe !1::Send, ----Web1---- !2::Send, ----Web2---- !3::Send, ----Web3---- Return #IfWinActive, ahk_exe i)(studio64.exe|idea64.exe) !1::Send, ----Android1---- !2::Send, ----Android2---- !4::Send, ----Android4---- Return #IfWinActi...
by Rohwedder
26 Oct 2019, 05:38
Forum: Ich brauche Hilfe
Topic: RegExMatch problem Topic is solved
Replies: 5
Views: 407

Re: RegExMatch problem Topic is solved

Die doppelten Doppelpunkte sind bei mir bereits berücksichtigt.
by Rohwedder
26 Oct 2019, 02:39
Forum: Gaming
Topic: Need help with #IfWinActive
Replies: 5
Views: 294

Re: Need help with #IfWinActive

There is generally no guarantee that ControlSend will work in an unfocused window. Many games, for understandable reasons, do not work with this command.
And no control info (ClassNN)? Not good!
by Rohwedder
26 Oct 2019, 01:53
Forum: Ich brauche Hilfe
Topic: RegExMatch problem Topic is solved
Replies: 5
Views: 407

Re: RegExMatch problem Topic is solved

Hallo, so vielleicht?: Loop, read, event.csv, `n, `r { var0 := A_LoopReadLine ; heuhaufen vara := "IP-Adresse " ; vor der nadel varc := "\." ; hinter der nadel ;Bei den Zeichen \.*?+[{|()^$ muß man das Escapezeichen \ davorsetzen msgbox % NeedLer(var0, vara, varc) } NeedLer(var_0, var_a, var_c){ ExM...
by Rohwedder
26 Oct 2019, 01:02
Forum: Ich brauche Hilfe
Topic: Gosub fortsetzung nach Return verhindern? Topic is solved
Replies: 8
Views: 555

Re: Gosub fortsetzung nach Return verhindern? Topic is solved

Hallo, so z.B.: F3:: Kontrolle = Test läuft SetTimer, TestEnde, -5000 gosub, testLABEL MsgBox, Kontrolle, beendet ; Befehl, 1 return testLABEL: While, InStr(Kontrolle, "test") { ; Kontrolle, Aktiv ; nicht zurückspringen Sleep, 100 } ; Kontrolle, Inaktiv ; zurückspringen return TestEnde: Kontrolle = ...
by Rohwedder
25 Oct 2019, 06:41
Forum: Gaming
Topic: mouse clicks at the same position on different windows
Replies: 2
Views: 109

Re: mouse clicks at the same position on different windows

Hallo, try: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consis...
by Rohwedder
24 Oct 2019, 23:54
Forum: Gaming
Topic: Need help with #IfWinActive
Replies: 5
Views: 294

Re: Need help with #IfWinActive

Then perhaps:

Code: Select all

#Persistent
SetTimer, PressTheKey, 30000
Return
PressTheKey:
IfWinExist, ahk_class game.exe
{
	ControlSend, , {3 down}{3 up}
	ControlSend, , {F1 down}{F1 up}
}
Return
If it doesn't work, add the control after the first comma in ControlSend, run the script as admin ...
by Rohwedder
24 Oct 2019, 01:36
Forum: Gaming
Topic: Need help With this simple Sprint Script
Replies: 2
Views: 206

Re: Need help With this simple Sprint Script

Hallo,
try:

Code: Select all

w:: 
	Send {Shift down}{w down}
	KeyWait, w
	Send {Shift up}{w up}
Return
~+RButton::Send {Shift up}
~w & RButton Up::Send {Shift down}
by Rohwedder
24 Oct 2019, 01:14
Forum: Gaming
Topic: Need help with #IfWinActive
Replies: 5
Views: 294

Re: Need help with #IfWinActive

Hallo,
try:

Code: Select all

#Persistent
SetTimer, PressTheKey, 30000
Return
PressTheKey:
IfWinActive, ahk_class game.exe
{
	Send, {3 down}{3 up}
	Send, {F1 down}{F1 up}
}
Return
by Rohwedder
24 Oct 2019, 00:53
Forum: Ask For Help
Topic: Suspend with scrolllock Topic is solved
Replies: 3
Views: 177

Re: Suspend with scrolllock Topic is solved

Hallo, Suspend is not enough to stop your Loop: +w:: ;This is your Hotkey to start the Autorun.(or W) If you wanted to add a sprint option(Shift) Then you can just do Send, {LShift down} Loop { Send, {w down} If GetKeyState("'", "P") ;This Says if F12 is pressed("P") then Return { Return } Sleep, 0 ...
by Rohwedder
23 Oct 2019, 09:52
Forum: Ask For Help
Topic: Want to use : before ::
Replies: 3
Views: 271

Re: Want to use : before ::

Hallo,
perhaps this workaround?

Code: Select all

:*:a`: ::bcd      ;It works limited.
Type: a:{Space}
by Rohwedder
23 Oct 2019, 01:23
Forum: Gaming
Topic: Jitter autoclicker
Replies: 1
Views: 204

Re: Jitter autoclicker

Hallo, I gave min, max values and added test tooltips. Here it runs. Min := 100, Max := 300 Numpad3::Hotkey, *LButton, Toggle *LButton:: Send,{LButton} While GetKeyState("LButton", "P") { ToolTip,% A_TickCount " Line: " A_LineNumber Send,{LButton} Random, delay, %Min%, %Max% Sleep %delay% } ToolTip ...
by Rohwedder
22 Oct 2019, 14:43
Forum: Ich brauche Hilfe
Topic: A_PriorKey-Bug?
Replies: 2
Views: 236

Re: A_PriorKey-Bug?

ich habe dies jetzt als Bug eingestellt.
by Rohwedder
22 Oct 2019, 14:33
Forum: Bug Reports
Topic: A_Priorkey is deleted
Replies: 0
Views: 170

A_Priorkey is deleted

Hallo, here at the example of Japanese numerals: Sending almost all Unicode characters deletes A_Priorkey! #InstallKeybdHook SetTimer, PriorKey, 500 PriorKey: ToolTip,% A_PriorKey?A_PriorKey:"A_PriorKey = empty" Return :*?:1::One :*?:2::二 :*?X:3::SendInput, Three :*?X:4::SendInput, 四 5::5 NumPad5::5...
by Rohwedder
21 Oct 2019, 15:10
Forum: Ich brauche Hilfe
Topic: Deutsche Hilfe für AHK 1.1 und 2.0-a
Replies: 191
Views: 65105

Re: Deutsche Hilfe für AHK 1.1 und 2.0-a

Hallo, in https://ahkde.github.io/docs/commands/RegExMatch.htm#Beispiele statt: MsgBox % RegExMatch("abcXYZ123", "abc(.*)123", SubPat) ; Zeigt 1 an und speichert "XYZ" in Teilmuster1. sollte es heißen: MsgBox % RegExMatch("abcXYZ123", "abc(.*)123", Teilmuster) ; Zeigt 1 an und speichert "XYZ" in Tei...
by Rohwedder
21 Oct 2019, 14:37
Forum: Ask For Help
Topic: Extract first number then stop once whitespace character
Replies: 1
Views: 121

Re: Extract first number then stop once whitespace character

Hallo,
try:

Code: Select all

Regexmatch(clipboard, "\h(\d+)\h", todo) ;\h =horizontal whitespace
by Rohwedder
21 Oct 2019, 07:47
Forum: Ask For Help
Topic: Left Click on and off Topic is solved
Replies: 3
Views: 190

Re: Left Click on and off Topic is solved

extend the Click commands with , Right
E.g. : Click, Down, Right
https://www.autohotkey.com/docs/commands/Click.htm
by Rohwedder
21 Oct 2019, 05:55
Forum: Ask For Help
Topic: Left Click on and off Topic is solved
Replies: 3
Views: 190

Re: Left Click on and off Topic is solved

Hallo,
try:

Code: Select all

#Persistent
*f:: ;Key F
IF Tf := !Tf
{
	SetTimer, Tf, 2000
	ToolTip, Mouse 1, 100, 150
}
Tf:
Click, Up ;releases Mouse 1
Sleep, 100 ;wait 100ms
IF Tf
	Click, Down ;holds down for 1.9 seconds
Else
{	
	SetTimer, Tf, Off
	ToolTip
}
Return

Go to advanced search