Search found 1988 matches

by Rohwedder
27 Jun 2019, 01:22
Forum: Ask For Help
Topic: Alternate between two buttons Topic is solved
Replies: 5
Views: 248

Re: Alternate between two buttons Topic is solved

Hallo, try: Numpad0:: ;On/Off with key Numpad0 IF OnOff := !OnOff { SetTimer Numpad12, 60000 Gosub, Numpad12 } Else { SetTimer Numpad12, Off SendInput, {Numpad1 Up}{Numpad2 Up} } Return Numpad12: ;keeps Numpad1 and Numpad2 pressed alternately. IF Numpad12 := !Numpad12 SendInput, {Blind}{Numpad2 Up}{...
by Rohwedder
27 Jun 2019, 00:51
Forum: Ask For Help
Topic: Problems finding the right Autoclicker
Replies: 2
Views: 115

Re: Problems finding the right Autoclicker

Hallo FlyFeh,
are you calling yourself gogoalshop now?!
You already asked the same question in the German forum and you were satisfied with my answer!
https://www.autohotkey.com/boards/viewtopic.php?f=9&t=65634
by Rohwedder
26 Jun 2019, 01:19
Forum: Ask For Help
Topic: hold physically a key
Replies: 2
Views: 121

Re: hold physically a key

Hallo,
you want hold down with Autorepeat!
Try:

Code: Select all

$f:: ;start with key F
SetTimer, Every3Seconds, 3000
Every3Seconds:
2SecondsLater := A_TickCount + 2000
While, (A_TickCount < 2SecondsLater)
{ ;Hold down with Autorepeat
    SendInput, {Blind}{f Down}
    Sleep, 30
}
SendInput, {f Up} ;release
Return
by Rohwedder
25 Jun 2019, 13:54
Forum: Ich brauche Hilfe
Topic: Verzweiflung, einen für mich angepassten AutoClicker zu erstellen Topic is solved
Replies: 4
Views: 334

Re: Verzweiflung, einen für mich angepassten AutoClicker zu erstellen Topic is solved

Hallo FlyFeh, bei mir passierte dies nicht, deshalb 2 Schüsse ins Blaue. 1. Im Timer, SendInput statt Send, damit sich deine Eingaben nicht mit denen des Skriptes vermischen können. 2. Falls LShift doch mal klebt, d.h. physisch oben und logisch unten ist, sollte dies jetzt im Timer erkannt und behob...
by Rohwedder
25 Jun 2019, 10:58
Forum: Ask For Help
Topic: Wait till a new Window appears of a main program
Replies: 3
Views: 148

Re: Wait till a new Window appears of a main program

OCR should do the trick, but it won't help you here.
I'm not familiar with VM but you can either try PixelSearch or ImageSearch.
I hope you don't just get VM (virtual money) from your boss.
by Rohwedder
25 Jun 2019, 02:44
Forum: Ask For Help
Topic: Script will not release LWin key
Replies: 3
Views: 182

Re: Script will not release LWin key

No problem, try: $LWin:: ToolTip, press any additional keys or buttons or not KeyWait, LWin ToolTip IF !KeyCombination() ;if the LWin key is pressed and released without any other key being pressed between Send, {LWin} Return KeyCombination(ExcludeKeys:="") { ;All pressed keys and mouse buttons will...
by Rohwedder
25 Jun 2019, 01:54
Forum: Ask For Help
Topic: How to: Shift pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved
Replies: 9
Views: 380

Re: How to: Shift pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved

Yes, this is how it should work. I have structured the script a bit more: ;SCRIPT to avoid shortcuts conflicts ;all inbuilt shortcuts with conflicts ~!#s:: TBlock := A_TickCount + 500 Return #IF TBlock < A_TickCount ;INDIVIDUAL SCRIPTS for each modifier ;remap Ctrl x2 ~Ctrl Up:: Once_Back() msgbox, ...
by Rohwedder
24 Jun 2019, 08:59
Forum: Ask For Help
Topic: Wait till a new Window appears of a main program
Replies: 3
Views: 148

Re: Wait till a new Window appears of a main program

Hallo,
perhaps:

Code: Select all

WinWaitActive, MSR-Stellenblatt
by Rohwedder
24 Jun 2019, 04:05
Forum: Ask For Help
Topic: Script will not release LWin key
Replies: 3
Views: 182

Re: Script will not release LWin key

Hallo, here your first code works, try: SetTimer, LWinKeyState, 200 LWinKeyState: ToolTip,% "LWin=" (GetKeyState("LWin")?"Down":"Up") Return $LWin::Send {LWin Down} $LWin UP:: Send {Lwin UP} Return Your second code is wrong! q::Send {LWin down} Send {Lwin up} ;< this line will never be executed! Ret...
by Rohwedder
24 Jun 2019, 01:44
Forum: Ask For Help
Topic: Loop, read same file more than once
Replies: 6
Views: 254

Re: Loop, read same file more than once

Hallo, a) I am using Loop read to read a given file b) I break out of the loop when a certain condition is met Before the Break, save A_index in a variable c) at some point later I would like to continue the loop read from where I left off now Continue until A_index corresponds to the stored variabl...
by Rohwedder
24 Jun 2019, 01:32
Forum: Ich brauche Hilfe
Topic: Verzweiflung, einen für mich angepassten AutoClicker zu erstellen Topic is solved
Replies: 4
Views: 334

Re: Verzweiflung, einen für mich angepassten AutoClicker zu erstellen Topic is solved

Hallo, versuch mal: $<+LButton:: ;"LShift" && "LButton" SetTimer, rechts_und_links_klicken,% 1000//15 ;15 mal die Sekunde KeyWait, LButton ;wartet auf das Loslassen von LButton SetTimer, rechts_und_links_klicken, Off Return rechts_und_links_klicken: Send, {LButton}{RButton} Return damit der Timer am...
by Rohwedder
23 Jun 2019, 10:53
Forum: Ask For Help
Topic: ControlClick not clicking middle of window
Replies: 3
Views: 173

Re: ControlClick not clicking middle of window

Hallo, if I'm not mistaken a comma is missing? if WinExist("MyTestApp") { WinGetPos,,, Width, Height, MyTestApp ControlClick, % "x" Width/2 " y" Height/2, MyTestApp ,,,, Pos } ____________________________________________________________________________ Windows 7 Enterprise 64 bit - Autohotkey v1.1.3...
by Rohwedder
23 Jun 2019, 09:26
Forum: Ask For Help
Topic: How to: Shift pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved
Replies: 9
Views: 380

Re: How to: Shift pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved

Hallo, your mp4 caused bluescreen here! I use modifier keys, mouse buttons and wheel only in combination with other keys as hotkeys. Brings really more problems than benefits! Maybe this structure will help?: ;all inbuilt shortcuts with conflicts ~!#s:: ~!c:: ~^#b:: TBlock := A_TickCount + 400 Retur...
by Rohwedder
23 Jun 2019, 02:13
Forum: Ask For Help
Topic: Detect all keys pressed and resend it except the latest key
Replies: 2
Views: 174

Re: Detect all keys pressed and resend it except the latest key

Hallo, try: #InstallKeybdHook #InstallMouseHook Hotkey, a, launch , On Hotkey, b, SendKeys, On Return launch: Keys := KeyCombination("{" A_ThisHotkey "}") ToolTip,% Keys Return SendKeys: Send,% Keys ToolTip Return KeyCombination(ExcludeKeys:="") { ExcludeKeys .= "{Shift}{Control}{Alt}{WheelUp}{Wheel...
by Rohwedder
21 Jun 2019, 14:36
Forum: Ask For Help
Topic: How to: Shift pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved
Replies: 9
Views: 380

Re: How to: CTRL pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved

perhaps:

Code: Select all

~!#s::TCopy := A_TickCount + 500
~Shift Up::
If (A_PriorHotKey = A_ThisHotKey 
and A_TimeSincePriorHotkey < 400 
and TCopy < A_TickCount)
	Send ^c
Return
by Rohwedder
21 Jun 2019, 02:39
Forum: Ask For Help
Topic: How to: Shift pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved
Replies: 9
Views: 380

Re: How to: CTRL pressed twice 'send ^c', but avoiding that holding SHIFT will also send ^c Topic is solved

Hallo,
you want SHIFT pressed twice 'send ^c', but avoiding hold SHIFT sending ^c:

Code: Select all

~Shift Up::
If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 400)
	Send ^c
Return
by Rohwedder
20 Jun 2019, 12:34
Forum: Ask For Help
Topic: my script wont work please help Topic is solved
Replies: 5
Views: 232

Re: my script wont work please help Topic is solved

Hallo, your most recent post has no code. I put your first piece of code in a timer. #Persistent CoordMode, Pixel, Relative SetTimer, Timer, 600000 ;every 600 seconds Return Timer: IfWinActive, ahk_exe WINWORD.EXE { PixelGetColor, colour, 950, -10 IFEqual, colour, 0xFFFFFF { MsgBox,0,AutoSave,Time t...
by Rohwedder
19 Jun 2019, 11:49
Forum: Ich brauche Hilfe
Topic: Tooltip anzeigen während ein Loop läuft
Replies: 2
Views: 176

Re: Tooltip anzeigen während ein Loop läuft

Hallo, das mit dem ToolTip sollte jetzt gehen: #MaxThreadsPerHotkey 3 ^1:: ; Strg+1 (löst den Loop aus). #MaxThreadsPerHotkey 1 if Strg1LaufenLassen ; Bedeutet, dass ein darunterliegender Thread bereits die untere Schleife ausführt. { Strg1LaufenLassen := false ; Signalisiert dem Thread, die Schleif...

Go to advanced search