Search found 2123 matches

by Rohwedder
Today, 11:25
Forum: Ask For Help
Topic: Swap mouse buttons while holiding lshift
Replies: 1
Views: 63

Re: Swap mouse buttons while holiding lshift

Hallo,
try:

Code: Select all

LShift::Return ;deactivates the normal function of LShift
#If !GetKeyState("LShift","P") ;lshift to act as a modifier
MButton::RButton ;MButton to be Rbutton when lshift is up
#If
by Rohwedder
Yesterday, 07:23
Forum: Ask For Help
Topic: Remove duplicate
Replies: 11
Views: 356

Re: Remove duplicate

The try it with:

Code: Select all

;duplicate recognition only for 1 or more characters
	IF (StrLen(Input) >= 1)
if it still doesn't work as you want it to, use the suggestion from flyingDman.
by Rohwedder
Yesterday, 02:47
Forum: Ask For Help
Topic: Remove duplicate
Replies: 11
Views: 356

Re: Remove duplicate

then perhaps:

Code: Select all

Loop
{
	Input, Input,VC,{Enter}{Return}{Space}{Tab}
	;duplicate recognition only for 2 or more characters
	IF (StrLen(Input) >= 2)
		HotString(":C:" Input,"`b",On)
}
*Esc::Reload ;Reset with Escape key
*End::ExitApp ;Exit script with End key
by Rohwedder
Yesterday, 00:25
Forum: Ask For Help
Topic: Edge missing characters or mixing them up
Replies: 8
Views: 264

Re: Edge missing characters or mixing them up

Hallo,
try:

Code: Select all

SetKeyDelay, 30, 20
Send {raw}%username%
Send {tab}
Send {raw}%password%
by Rohwedder
Yesterday, 00:20
Forum: Ask For Help
Topic: Key Press With Hold Click and Timer
Replies: 1
Views: 80

Re: Key Press With Hold Click and Timer

Hallo,
try:

Code: Select all

^f::
IF Toggle := !Toggle
{
	SetTimer, SpaceBar, 1500
	Send, {LButton DownR}
}
Else
{
	SetTimer, SpaceBar, Off
	Send, {LButton Up}
}
Return
SpaceBar:
Send, {Space}
Return
by Rohwedder
19 Sep 2019, 16:59
Forum: Ask For Help
Topic: Remove duplicate
Replies: 11
Views: 356

Re: Remove duplicate

Hallo,
try:

Code: Select all

Loop
{
	Input, Input,VC,{Enter}{Return}{Space}{Tab}
	HotString(":C:" Input,"`b",On)
}
by Rohwedder
19 Sep 2019, 09:20
Forum: Ask For Help
Topic: Remove duplicate
Replies: 11
Views: 356

Re: Remove duplicate

Hallo,
you want to make that:
I would like to create a script that when write number or text twices for exemple in word document.
out of this:
I would like to create a script that when I write a number or a text twices for exemple in a word document.
by Rohwedder
15 Sep 2019, 10:27
Forum: Gaming
Topic: Hotkeys Suddenly Stopped Working Topic is solved
Replies: 2
Views: 157

Re: Hotkeys Suddenly Stopped Working Topic is solved

Hallo,
perhaps, Banished banished cheaters?
Try:

Code: Select all

h::
SetKeyDelay, 10, 50
Send, {f2}{1}{f2}{1}
Return
by Rohwedder
15 Sep 2019, 09:14
Forum: Ask For Help
Topic: Help with holding down key script
Replies: 6
Views: 284

Re: Help with holding down key script

Then:

Code: Select all

$*j::
Send, {Blind}j ;J is only pressed at the beginning
KeyWait, j, T.2 ;"Tap-Time" max 0.2 Second
IF !ErrorLevel
	Return
Send, {Blind}{e DownR}
;E works as if it were held down (but without AutoRepeat)
KeyWait, j
Send, {Blind}{e up}
Return
by Rohwedder
15 Sep 2019, 03:50
Forum: Gaming
Topic: Remap mouse button to key without delay
Replies: 2
Views: 216

Re: NEED HELP REMAPPING MOUSE BUTTON TO KEYBOARD BUTTON WITH NO DELAY

Hallo,

Code: Select all

XButton1::a
This will change the 4th mouse button to the key A.
by Rohwedder
15 Sep 2019, 02:15
Forum: Ask For Help
Topic: Help with holding down key script
Replies: 6
Views: 284

Re: Help with holding down key script

So without "continuously inputs E".
Try:

Code: Select all

$*j::
SetKeyDelay, 100, 100
Send, {Blind}j ;J is only pressed at the beginning
Send, {Blind}{e DownR}
;E works as if it were held down (but without AutoRepeat)
KeyWait, j
Send, {Blind}{e up}
Return
by Rohwedder
14 Sep 2019, 11:48
Forum: Ask For Help
Topic: Goto, x Topic is solved
Replies: 4
Views: 271

Re: Goto, x Topic is solved

Hallo,
try:

Code: Select all

Goto, %x%
by Rohwedder
14 Sep 2019, 02:43
Forum: Ask For Help
Topic: Need help creating alternating script for a game called osu!
Replies: 1
Views: 156

Re: Need help creating alternating script for a game called osu!

Hallo, only this: If last keyboard input == current keyboard input: Disregard current keyboard input Loop { Input, Key, L1 M, {AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{CapsLock}{NumLock}{PrintScreen}{Pause} Key .= SubStr(...
by Rohwedder
14 Sep 2019, 02:04
Forum: Ask For Help
Topic: Help with holding down key script
Replies: 6
Views: 284

Re: Help with holding down key script

Hallo,
try:

Code: Select all

$*j::
Send, {Blind}j
While, GetKeyState("j","P")
{
    SendInput, {Blind}{e}
    Sleep, 100
}
Return
by Rohwedder
14 Sep 2019, 01:53
Forum: Ask For Help
Topic: Scroll Wheel Remap - Intermittent Functionality Topic is solved
Replies: 4
Views: 301

Re: Scroll Wheel Remap - Intermittent Functionality Topic is solved

Hallo, only a 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...
by Rohwedder
13 Sep 2019, 08:56
Forum: Ask For Help
Topic: Block Keyboard Input Not Mouse
Replies: 5
Views: 227

Re: Block Keyboard Input Not Mouse

Hallo, just run this Input, q as a second script. ^LButton::Gosub, KeyBoardOff +LButton::Gosub, KeyBoardOn KeyBoardOff: IF KeyBoardOff Return FileDelete, ~.ahk FileAppend, #NoTrayIcon`nInput`, q, ~.ahk Run, ~.ahk,,, KeyBoardOff Return KeyBoardOn: Process, Close, %KeyBoardOff% KeyBoardOff = Return
by Rohwedder
13 Sep 2019, 04:31
Forum: Ask For Help
Topic: Block Keyboard Input Not Mouse
Replies: 5
Views: 227

Re: Block Keyboard Input Not Mouse

Hallo,
try:

Code: Select all

Input, q
by Rohwedder
13 Sep 2019, 01:23
Forum: Ask For Help
Topic: Problems with "while A_TimeSinceThisHotkey"
Replies: 1
Views: 138

Re: Problems with "while A_TimeSinceThisHotkey"

Hallo, try: Numpad8:: SetKeyDelay, 1000, 1000 ;SetKeyDelay, Delay, PressDuration Send, wa Return Or with AutoRepeat: Numpad8:: AutoRepeat("w", 1000) Sleep, 1000 AutoRepeat("a", 1000) Sleep, 1000 Return AutoRepeat(Key, PressDuration) { SetKeyDelay, 30 Loop,% PressDuration//30 Send, {%Key% Down} Send,...
by Rohwedder
12 Sep 2019, 12:10
Forum: Ask For Help
Topic: How to prevent the creation of new threads? Topic is solved
Replies: 6
Views: 303

Re: How to prevent the creation of new threads? Topic is solved

Hallo,
replace Critical by Thread, Priority, 1
by Rohwedder
12 Sep 2019, 02:28
Forum: Ich brauche Hilfe
Topic: Forumsuche
Replies: 2
Views: 218

Re: Forumsuche

Hallo, kommt bei mir häufig vor, auch wenn ich unter Firefox automatisch eingeloggt bin. Ich neige wohl dazu pro Zeitraum zuviele Suchen abzuschicken. Ist wohl eine Anti-Spam-Maßnahme. Wenn Google mich deswegen für einen Robot hält und Bildchen zeigt: InStr(Adresse,"/sorry/"), ändert mein Skript ein...

Go to advanced search