Search found 2213 matches

by Rohwedder
11 Oct 2019, 02:26
Forum: Ich brauche Hilfe
Topic: Ordner Suchen
Replies: 7
Views: 371

Re: Ordner Suchen

Hallo,
versuch mal:

Code: Select all

F9::
Loop Files, P:\*2551-Posteingang*, RD
{
	MsgBox, 4, , Dateiname = %A_LoopFileFullPath%`n`nWeiter?
	IfMsgBox, No
		break
}
return
by Rohwedder
11 Oct 2019, 01:21
Forum: Gaming
Topic: Audio reminder when spells are cooldowned.
Replies: 1
Views: 167

Re: Audio reminder when spells are cooldowned.

Hallo,
try this method:

Code: Select all

$F12::
IF TF12
	Return
Send {F12}
SetTimer, TF12, -40000
TF12 := True
Return
TF12:
SoundPlay, C:\Users\Dennis\Desktop\sounds\UEfemale.mp3
TF12 := False
Return
by Rohwedder
11 Oct 2019, 00:56
Forum: Ask For Help
Topic: How to perform action only once after window found?
Replies: 1
Views: 158

Re: How to perform action only once after window found?

Hallo,
just remember which window has already been handled (moving, resizing).
Try:

Code: Select all

q::
HWND := WinExist("A")
IF !Handled%HWND%
{
	ToolTip,% "this window is now handled! " A_TickCount
	Handled%HWND% := True
}
Return
by Rohwedder
11 Oct 2019, 00:41
Forum: Ask For Help
Topic: Need help with a Hotkey script!
Replies: 3
Views: 215

Re: Need help with a Hotkey script!

Hallo, I have added tooltips for testing. At least Autohotkey registers your hotkeys without you having to take your finger off the Alt key. !x:: ToolTip,% "Hotkey: " A_ThisHotkey send, !9 ; pressing Alt+9 cancels any previous orders sleep, 25 ; send,!m Return !q:: ToolTip,% "Hotkey: " A_ThisHotkey ...
by Rohwedder
10 Oct 2019, 06:52
Forum: Ask For Help
Topic: Sending texts to notepad by Menu vs Gui Topic is solved
Replies: 3
Views: 219

Re: Sending texts to notepad by Menu vs Gui Topic is solved

Hallo, try: Gui, Add, Button, x7 y17 w86 h29 , London Gui, Add, Button, x7 y49 w86 h29 , Paris Gui, Add, Button, x7 y82 w86 h29 , Berlin Gui, Show, x166 y148 h120 w110, Europe Return GuiClose: ExitApp ButtonLondon: xx := "London" ControlSend, Edit1,{Text}%xx%, ahk_class Notepad Return ButtonParis: x...
by Rohwedder
10 Oct 2019, 06:36
Forum: Ask For Help
Topic: #IfWinActive AND Topic is solved
Replies: 1
Views: 109

Re: #IfWinActive AND Topic is solved

Hallo,
try:

Code: Select all

SetTitleMatchMode, 2
#If WinActive("ahk_exe chrome.exe") And !WinActive("Google")
by Rohwedder
10 Oct 2019, 06:20
Forum: Ask For Help
Topic: Auto press enter on popup
Replies: 1
Views: 99

Re: Auto press enter on popup

Hallo,
try:

Code: Select all

#Persistent
SetTitleMatchMode, 2
SetTimer, popups, 500
popups:
If WinActive("After Effects ahk_class #32770")
	Send, {Enter}
Return
by Rohwedder
10 Oct 2019, 01:46
Forum: Ask For Help
Topic: How to change the logical state of a key WITHOUT having the native function of the Down or Up event fired? Topic is solved
Replies: 5
Views: 343

Re: How to change the logical state of a key WITHOUT having the native function of the Down or Up event fired? Topic is solved

I'm not really familiar with Events, WinAPI …
Maybe this way?

Code: Select all

SetTimer, ToogleQKeyState, 1000
ToogleQKeyState:
Hotkey, q, q, On
Send,% (q:=!q)?"{q Down}":"{q Up}"
Hotkey, q, q, Off
ToolTip,% "logical state of key Q: " GetKeyState("q")
Return
q:
Return
by Rohwedder
09 Oct 2019, 12:04
Forum: Ask For Help
Topic: How to change the logical state of a key WITHOUT having the native function of the Down or Up event fired? Topic is solved
Replies: 5
Views: 343

Re: How to change the logical state of a key WITHOUT having the native function of the Down or Up event fired? Topic is solved

Try:

Code: Select all

<+g:: ;LShift+G (your Hotkey)
~LButton & g:: ;my suggestion!
ClipSaved := ClipBoardAll
ClipBoard =
SendInput, ^c
ClipWait, 1
Selection = %clipboard%
ClipBoard := ClipSaved
IF !ErrorLevel
	Run, http://www.google.com/search?q=%Selection%
Return
by Rohwedder
09 Oct 2019, 10:46
Forum: Ask For Help
Topic: How to have a message popup that gives web links
Replies: 3
Views: 265

Re: How to have a message popup that gives web links

Hallo, only a try to make the boxes more similar: SetTimer, MsgBoxSelectable, -100 MsgBox,,Benjamin Franklin quotes, Be at war with your vices, at peace with your neighbors, and let every new year find you a better man. MsgBoxSelectable: MsgBoxSelectable("Be at war with your vices, at peace with you...
by Rohwedder
09 Oct 2019, 05:15
Forum: Spiele
Topic: 2 Probleme: clicks/s maximieren, click stucked manchmal
Replies: 1
Views: 133

Re: 2 Probleme: clicks/s maximieren, click stucked manchmal

Hallo,
eine Möglichkeit die Clickrates noch weiter zu erhöhen?
Mit #SingleInstance Off mehrerer Instanzen des Skripts gleichzeitig ausführen.
Zu Risiken und Nebenwirkungen fragen Sie Ihren Administrator.
by Rohwedder
09 Oct 2019, 04:26
Forum: Ask For Help
Topic: SC Code used as a modifier Key
Replies: 1
Views: 104

Re: SC Code used as a modifier Key

Hallo,
try:

Code: Select all

#+LButton::ToolTip, Initial Hotkey
#IF GetKeyState("SC056","P")
#LButton::ToolTip, #{SC056}LButton
#IF
by Rohwedder
09 Oct 2019, 04:03
Forum: Ask For Help
Topic: key recorder? Topic is solved
Replies: 2
Views: 161

Re: key recorder? Topic is solved

Hallo,
try:

Code: Select all

; Show information for the last pressed key.
#InstallKeybdHook
#InstallMouseHook   
SetTimer, Information, 300
Information:
ToolTip, % Format(
(Join
"Key Name:`t{}`nVirtual Code:`tVK{:02X}`nScan Code:`tSC{:03X}"
,A_PriorKey,GetKeyVK(A_PriorKey),GetKeySC(A_PriorKey))
)
Return
by Rohwedder
09 Oct 2019, 03:43
Forum: Gaming
Topic: Detecting a mouse click
Replies: 1
Views: 132

Re: Detecting a mouse click

Hallo,
try:

Code: Select all

~*LButton::
Sleep, 1000
Click
Return
by Rohwedder
09 Oct 2019, 03:40
Forum: Gaming
Topic: How to script hold and release using left click
Replies: 1
Views: 131

Re: How to script hold and release using left click

Hallo,
with button Q, try:

Code: Select all

$*q::SendInput, {Blind}{q DownR}
~*LButton::SendInput, {Blind}{q Up}
by Rohwedder
09 Oct 2019, 03:25
Forum: Gaming
Topic: Loop & Sleep then repeat Topic is solved
Replies: 2
Views: 191

Re: Loop & Sleep then repeat Topic is solved

Hallo,
try:

Code: Select all

Loop
{
	Loop, 20
	{
		Send, 1
		Sleep, 1000
	}
	Sleep, 10000
}
by Rohwedder
09 Oct 2019, 02:12
Forum: Gaming
Topic: Help to add a 20 second timer up to 0
Replies: 7
Views: 534

Re: Help to add a 20 second timer up to 0

Then: +1:: N = 1 While, T%N% N++ IF !IsLabel("T" N) Return T%N% := 20 SetTimer, T%N%, 1000 CoordMode, Mouse MouseGetPos, X%N%, Y%N% Goto, T%N% T1: T2: T3: T4: CoordMode, ToolTip T := SubStr(A_ThisLabel,0) ToolTip,% T%T%, X%T%, Y%T%, T If (--T%T% < -1) { ToolTip,,,, T SetTimer, T%T%, Off T%T% = } Ret...
by Rohwedder
09 Oct 2019, 01:37
Forum: Ask For Help
Topic: Need script: RMB and space to hold at the same time Topic is solved
Replies: 8
Views: 422

Re: Need script: RMB and space to hold at the same time Topic is solved

Try:

Code: Select all

Suspend
Pause
Return
~*RButton::Space ;RMB and space hold at the same time
*F2:: ;Key F2 toggles script on/off
Suspend
Pause,,1
Return
by Rohwedder
08 Oct 2019, 09:59
Forum: Ich brauche Hilfe
Topic: Warum dieser Unterschied?
Replies: 9
Views: 569

Re: Warum dieser Unterschied?

Stimme dem Ergebnis deiner ausführlichen Analyse voll und ganz zu. Die impliziten Returns (vor und nach: if !true) kann man übrigens hier in der Fehlermeldung, aufgrund des isolierten Switch, sehen: 5::if !true ; hier folgt ein implizites Return msgbox ; zeigt msgbox, obwohl false msgbox 2 return Sw...
by Rohwedder
08 Oct 2019, 02:21
Forum: Ask For Help
Topic: Easy Toggle Script help
Replies: 3
Views: 234

Re: Easy Toggle Script help

Hallo, Timers are easier! Try: Suspend ;Script starts switched off Pause ;Start running with key F8 SetTimer, Te, 1000 ;every second SetTimer, Tr, 2000 ;every 2 second Tw: ;3:333ms - 5:200ms times a second Send, w Random, Time, 200, 333 SetTimer, Tw,% -Time Return Te: Send, e Return Tr: Send, r Retu...

Go to advanced search