Search found 2349 matches

by Rohwedder
09 Sep 2017, 02:33
Forum: Ask For Help
Topic: one mouse click. Two mouse commands
Replies: 1
Views: 193

Re: one mouse click. Two mouse commands

Hallo,
try:

Code: Select all

MButton::
	Send, ab
Return
by Rohwedder
09 Sep 2017, 02:19
Forum: Ask For Help
Topic: Releasing key stops everything
Replies: 6
Views: 654

Re: Releasing key stops everything

Hallo,
add:

Code: Select all

$w up::Reload
by Rohwedder
07 Sep 2017, 04:15
Forum: Ask For Help
Topic: Explorer/Internet Explorer: show title bar text?
Replies: 1
Views: 230

Re: Explorer/Internet Explorer: show title bar text?

Hallo,
so far as I know the title bars are only to be seen with the classic design.
How do you get classic view for Windows 7:
https://social.technet.microsoft.com/Fo ... =w7itproui
by Rohwedder
06 Sep 2017, 00:06
Forum: Ask For Help
Topic: need a really simple .ahk Topic is solved
Replies: 6
Views: 744

Re: need a really simple .ahk Topic is solved

Hallo,
this is the method of Bobo. You only need to start the script. I had unfortunately forgotten the #Persistent.

Code: Select all

#Persistent ;needed because no hotkey in the script
SetTimer, do_something, 600000 ;10 minutes
Return
do_something:
	MouseMove, 1,0,,R
	MouseMove, -1,0,,R
Return
by Rohwedder
05 Sep 2017, 03:09
Forum: Ask For Help
Topic: need a really simple .ahk Topic is solved
Replies: 6
Views: 744

Re: need a really simple .ahk Topic is solved

Hallo,
try:

Code: Select all

SetTimer, Pause, 600000 ;10 minutes
Return
Pause:
	SendInput, {Pause}
Return
by Rohwedder
04 Sep 2017, 01:49
Forum: Ask For Help
Topic: Loop method
Replies: 3
Views: 434

Re: Loop method

Hallo,
try:

Code: Select all

$1::
Loop
{
	key++
	if key = 5
		key = 1
	Send, %key%
	Sleep, 50
}
Return
End::ExitApp ;Key End ends Script
by Rohwedder
02 Sep 2017, 06:49
Forum: Ask For Help
Topic: Noob question about 'resetting' an if-else ladder Topic is solved
Replies: 5
Views: 683

Re: Noob question about 'resetting' an if-else ladder Topic is solved

Hallo,
you can do as you like.
Traditional assignment var:=1, or expression assignment var=1.
by Rohwedder
02 Sep 2017, 03:41
Forum: Ask For Help
Topic: Need my mouse to behave like this.
Replies: 4
Views: 538

Re: Need my mouse to behave like this.

Hallo,
perhaps?

Code: Select all

~$LButton::LButton
$RButton::LButton
$MButton::RButton
By the way, you forgot the returns in your script!
by Rohwedder
01 Sep 2017, 05:56
Forum: Ask For Help
Topic: Trouble with A_TimeIdlePhysical Topic is solved
Replies: 3
Views: 279

Re: Trouble with A_TimeIdlePhysical Topic is solved

Hallo,
perhaps?

Code: Select all

#InstallMouseHook
#InstallKeybdHook
by Rohwedder
01 Sep 2017, 04:52
Forum: Ask For Help
Topic: Noob question about 'resetting' an if-else ladder Topic is solved
Replies: 5
Views: 683

Re: Noob question about 'resetting' an if-else ladder Topic is solved

Hallo,
this?

Code: Select all

RButton::
	var=1 ;reset var
	;do abc
Return
by Rohwedder
01 Sep 2017, 04:30
Forum: Gaming
Topic: Alt + key MMO need help !
Replies: 1
Views: 236

Re: Alt + key MMO need help !

Hallo,
try:

Code: Select all

$!1::
While GetKeyState("1","P")
	Send, !1
Return
by Rohwedder
01 Sep 2017, 02:19
Forum: Ask For Help
Topic: Noob question about 'resetting' an if-else ladder Topic is solved
Replies: 5
Views: 683

Re: Noob question about 'resetting' an if-else ladder Topic is solved

Hallo, I have understanding problems. When clicking a specific other hotkey, I want it to be able to check the above hotkey (in your script is not a hotkey!) and if we are in var2, I'd like it to reset to var1 (how can you be in a variable?). Try: q:: ;this is hotkey q var++ If var>2 var:=1 If var=1...
by Rohwedder
31 Aug 2017, 08:36
Forum: Gaming
Topic: Help needed please
Replies: 1
Views: 271

Re: Help needed please

Hallo,

Code: Select all

~<^F4:: ;LCtrl + F4
    KeyWait F4, T0.5
    if ErrorLevel
		while GetKeyState("F4","P")
		{
			ToolTip, F4: %A_Index%
			Sleep 25 ; milliseconds
		}
	ToolTip
return
by Rohwedder
31 Aug 2017, 06:41
Forum: Ask For Help
Topic: help please
Replies: 1
Views: 245

Re: help please

Hallo,
install a watchdog!

Code: Select all

MsgBox, press key t at least once per second!
Return
t:: ;Test
	SetTimer, WatchDog , -1000 ;insert this line in your loop
Return
WatchDog:
	ExitApp ;(or Reload)
Return
by Rohwedder
24 Aug 2017, 10:52
Forum: Ich brauche Hilfe
Topic: GetKeyState Status ermitteln Topic is solved
Replies: 7
Views: 1050

Re: GetKeyState Status ermitteln Topic is solved

Nein, nur wenn du die Kombination "e" und "LButton" gedrückt hast, also der Thread mit dem Hotkey "~LButton & e" begann. In diesem Fall steht in A_Thishotkey die Zeichenkette "~LButton & e" welche ungleich der Zeichenkette "e" ist. Wenn du A_Thishotkey trumpig findest, wie wärs damit? ~LButton & e::...
by Rohwedder
23 Aug 2017, 06:12
Forum: Ich brauche Hilfe
Topic: GetKeyState Status ermitteln Topic is solved
Replies: 7
Views: 1050

Re: GetKeyState Status ermitteln Topic is solved

Wenn der Hotkey "~LButton & e" ausgeführt wurde, also nicht der Hotkey "e", wird der LButton zuerst (logisch) losgelassen und mit dieser Abfrage am Ende wieder (logisch) gedrückt. Ob deine Anwendung dies akzeptiert, kann ich nicht sagen. Physikalisch loslassen und drücken kann AutoHotkey nun mal nic...
by Rohwedder
22 Aug 2017, 12:24
Forum: Ich brauche Hilfe
Topic: GetKeyState Status ermitteln Topic is solved
Replies: 7
Views: 1050

Re: GetKeyState Status ermitteln Topic is solved

Hallo,
versuchs mal damit:

Code: Select all

~LButton & e::
	Send {LButton Up}
e::
	BlockInput MouseMove
	CoordMode, Mouse
	MouseGetPos xpos, ypos
	Click 39, 117
	MouseMove xpos, ypos
	BlockInput MouseMoveOff
	IF A_Thishotkey <> e
		Send {LButton Down}
Return
by Rohwedder
22 Aug 2017, 09:48
Forum: Ask For Help
Topic: ^v intermittently doesn't work with Clipboard
Replies: 2
Views: 298

Re: ^v intermittently doesn't work with Clipboard

Hallo,
the second paste tried to paste into the window of the msgbox, which of course does not work.
Use send ^v instead of sendinput ^v and/or a little Sleep after the second paste.
by Rohwedder
22 Aug 2017, 01:47
Forum: Ask For Help
Topic: Multiple scripts for one key: how to implement? Topic is solved
Replies: 2
Views: 536

Re: Multiple scripts for one key: how to implement? Topic is solved

Hallo,
if you change

Code: Select all

NumpadAdd & NumpadDown::
to

Code: Select all

NumpadDown & NumpadAdd::
and press the combination in this order, you do not need reloads.
by Rohwedder
21 Aug 2017, 10:53
Forum: Ask For Help
Topic: Need help for a Script to command 2 different things at once. Topic is solved
Replies: 1
Views: 279

Re: Need help for a Script to command 2 different things at once. Topic is solved

Hallo, the script holds down the e key (permanent). Also holds down LButton for 2 seconds, releases LButton and repeat. Pause Loop { If !GetKeyState("e") ;If the e key is up SendInput {e Down} ;press down permanent SendInput {LButton Down} Sleep, 2000 SendInput {LButton Up} } Return F2:: ;Key F2 tog...

Go to advanced search