Search found 1623 matches

by Rohwedder
18 Feb 2019, 09:20
Forum: Ich brauche Hilfe
Topic: MButton mit Shift & MButton vertauschen Topic is solved
Replies: 7
Views: 134

Re: MButton mit Shift & MButton vertauschen Topic is solved

Hallo, noch ein Versuch: #InstallKeybdHook ~*MButton::SendInput {Blind}{Shift DownR} ~*MButton UP::SendInput {Blind}{Shift Up} #IF GetKeyState("Shift","P") ~*MButton::SendInput {Blind}{Shift Up} ~*MButton UP::SendInput {Blind}{Shift DownR} #IF GetKeyState("MButton","P") *Shift::SendInput {Blind}{Shi...
by Rohwedder
17 Feb 2019, 09:27
Forum: Ich brauche Hilfe
Topic: MButton mit Shift & MButton vertauschen Topic is solved
Replies: 7
Views: 134

Re: MButton mit Shift & MButton vertauschen Topic is solved

Hallo, versuchs mal mit: #InstallKeybdHook ~*MButton::SendInput {Blind}{Shift Down} ~*MButton UP::SendInput {Blind}{Shift Up} #IF GetKeyState("Shift","P") ~*MButton::SendInput {Blind}{Shift Up} ~*MButton UP::SendInput {Blind}{Shift Down} #IF oder mit: #InstallKeybdHook ~*MButton::SendInput,% GetKeyS...
by Rohwedder
14 Feb 2019, 12:08
Forum: Ask For Help
Topic: How to make KeyWait ignore another hotkey? Topic is solved
Replies: 3
Views: 100

Re: How to make KeyWait ignore another hotkey? Topic is solved

Hallo, try: ; How to make KeyWait ignore another hotkey? #SingleInstance Force $a:: Send, B{Enter} ToolTip, A was pressed`, B was sent. return $1:: Suspend BlockInput, On ToolTip, Please press A KeyWait, a, D Send, {Space 5}<----- See? A was pressed, neither A nor B were sent{Enter} ToolTip, BlockIn...
by Rohwedder
13 Feb 2019, 13:30
Forum: Ask For Help
Topic: A_Cursor != "Hand
Replies: 6
Views: 106

Re: A_Cursor != "Hand

Did you want this function?

Code: Select all

#If (A_Cursor != "Unknown")
;The hand-shaped cursors (pointing and grabbing) are classified as Unknown
e::Send {sc15B Down}{sc39}{sc15B Up} ;
#If
by Rohwedder
13 Feb 2019, 12:49
Forum: Ask For Help
Topic: A_Cursor != "Hand
Replies: 6
Views: 106

Re: A_Cursor != "Hand

Hallo,
try:

Code: Select all

e::
;The hand-shaped cursors (pointing and grabbing) are classified as Unknown
If A_Cursor != Unknown
	Send {sc15B Down}{sc39}{sc15B Up} ;
return
by Rohwedder
13 Feb 2019, 12:41
Forum: Ask For Help
Topic: ToolTip in Windows tray
Replies: 9
Views: 174

Re: ToolTip in Windows tray

Hallo,
try:

Code: Select all

#Persistent
Menu, Tray, Tip , your Text
by Rohwedder
12 Feb 2019, 04:39
Forum: Ask For Help
Topic: Add sleep to code
Replies: 2
Views: 65

Re: Add sleep to code

Hallo,
try:

Code: Select all

^#k::
	links =
(
url1.url
url2.url
url3.url
)
	While Pos:=RegExMatch(links,"`am)^(?<link>h\w{3}:.*?)$",_,!Pos?1:StrLen(_)+Pos)
	{
		Run % _link
		Sleep, 1000
	}
Return
by Rohwedder
12 Feb 2019, 03:54
Forum: Gaming
Topic: Mouse click problem
Replies: 2
Views: 125

Re: Mouse click problem

Hallo, strange! Here with Firefox: mousedown which=1 button=0 buttons=1 mousedown which=3 button=2 buttons=3 mouseup which=1 button=0 buttons=2 click which=1 button=0 buttons=2 mousedown which=1 button=0 buttons=3 Try this script. All currently pressed keys and buttons are displayed: #Persistent #In...
by Rohwedder
12 Feb 2019, 02:50
Forum: Ask For Help
Topic: Code Errors
Replies: 1
Views: 76

Re: Code Errors

Hallo, with a clean indentation https://autohotkey.com/docs/Tutorial.htm#s84 and the line number specified in the error message, the error should be found! Bad code 1: $f:: Keywait, f, T0.5 If ErrorLevel ;w key was pressed for more than .5 seconds { { IfWinNotExist, ahk_class CabinetWClass Run, expl...
by Rohwedder
12 Feb 2019, 02:36
Forum: Ask For Help
Topic: Help with script! Topic is solved
Replies: 2
Views: 84

Re: Help with script! Topic is solved

Hallo,
try:

Code: Select all

F1::Send, {Shift DownR}{r DownR}
*F2::Send, {Shift Up}{r Up}
by Rohwedder
11 Feb 2019, 05:08
Forum: Ask For Help
Topic: loop and shift problem
Replies: 2
Views: 105

Re: loop and shift problem

Hallo, only a try: *$rbutton:: Send {Rbutton Down} send v send f send n sleep 10 mouseXY(moveAmount,78) If not GetKeyState("shift","P") { mouseXY(moveAmount,-10) send {c DOWN} } Loop If GetKeyState("rButton","P") { sleep 147 send v sleep 1 send v sleep 1 send v mouseXY(moveAmount,60.7) } else { Send...
by Rohwedder
11 Feb 2019, 04:48
Forum: Ask For Help
Topic: Send key combination (modifier and a key) to an inactive window (ControlSend)
Replies: 4
Views: 124

Re: Send key combination (modifier and a key) to an inactive window (ControlSend)

Hallo,
if you have activated the global hotkeys in Balabolka you have to make all the desired settings in Balabolka. Otherwise Autohotkey and Balabolka compete with each other!
by Rohwedder
10 Feb 2019, 09:17
Forum: Ask For Help
Topic: find if user has password set Topic is solved
Replies: 4
Views: 112

Re: find if user has password set Topic is solved

Hallo, this script creates a temporary second script, runs it and copies the contents of the error window. FileDelete, ~.ahk ;temporary autohotkey file FileAppend, RunAs`, %A_UserName%`r`nRun Notepad.exe, ~.ahk Run, ~.ahk WinWaitActive, ~.ahk WinGetText, ErrorText WinClose FileDelete, ~.ahk MsgBox,,...
by Rohwedder
10 Feb 2019, 04:30
Forum: Ask For Help
Topic: find if user has password set Topic is solved
Replies: 4
Views: 112

Re: find if user has password set Topic is solved

Hallo,
I only use Windows 7.
Try it. I get a different error message depending on whether a password is set or not.

Code: Select all

q::
	RunAs, %A_UserName%
	Run Notepad.exe
Return
by Rohwedder
10 Feb 2019, 03:54
Forum: Ask For Help
Topic: Hold down key when released hit other key
Replies: 1
Views: 66

Re: Hold down key when released hit other key

Hallo,
try:

Code: Select all

$*c::
Keywait, c, T0.2
If ErrorLevel ;c key was pressed for more than .2 seconds
{
	Send, {Blind}{c Down}
	Keywait, c ;hold c down until c is released
	Send, {Blind}{c Up}
}
Else
	Send, {Blind}v
Return
by Rohwedder
10 Feb 2019, 03:37
Forum: Ask For Help
Topic: Retaining the original function of hotkey
Replies: 1
Views: 58

Re: Retaining the original function of hotkey

Hallo,
try:

Code: Select all

#IfWinActive, WindowA

~Right::
~Left::
~Up::
~Down::
	CurrentDir1 := SubStr(A_ThisHotkey,2)
return

#If
by Rohwedder
08 Feb 2019, 07:53
Forum: Ask For Help
Topic: need help for a script
Replies: 5
Views: 80

Re: need help for a script

Hallo,
perhaps this?

Code: Select all

~a:: ;Tilde: ~ prefix when the hotkey fires, its key's native function will not be blocked
While GetKeyState("a","P")
{ ;While a is pressed it carrys on doing it
	Sleep, 2000
	Send, b
}
Return
by Rohwedder
08 Feb 2019, 03:11
Forum: Ask For Help
Topic: need help for a script
Replies: 5
Views: 80

Re: need help for a script

Hallo,
try:

Code: Select all

a:: ;Hotkey a
Send, b ;types: "b"
Sleep, 2000
Send, c ;types: "c" 2000 ms later
Return
by Rohwedder
07 Feb 2019, 09:08
Forum: Ask For Help
Topic: Problems remapping number keys (not numpad)
Replies: 4
Views: 92

Re: Problems remapping number keys (not numpad)

Hallo,
try:

Code: Select all

Toggle := 0
~WheelUp::Toggle := 0
~4::Toggle := 1

Go to advanced search