Search found 65 matches

by abcjme
10 Apr 2019, 06:44
Forum: Ask For Help
Topic: Don't Scroll Page When Opening New Window
Replies: 2
Views: 150

Re: Don't Scroll Page When Opening New Window

Rohwedder wrote:
10 Apr 2019, 05:51
Hallo,
perhaps:

Code: Select all

~*LButton::Return
$*space::send {ctrl downR}
$*space up::
send {ctrl up}
if a_priorkey = space
send {space}
return
· this didn't work
· but it's ok
· i assigned the function to its own key

$*lctrl::send ^{click}
by abcjme
09 Apr 2019, 18:52
Forum: Ask For Help
Topic: Don't Scroll Page When Opening New Window
Replies: 2
Views: 150

Don't Scroll Page When Opening New Window

$*space::send {ctrl downR}
$*space up::
send {ctrl up}
if a_priorkey = space
send {space}
return


· if i were to hold space and click on a hyper-link, then the page will scroll down as a new window/tab pops up (ctrl + lclick)
? how an i prevent this scrolling from happening
by abcjme
21 Mar 2019, 04:16
Forum: Ask For Help
Topic: Remapped Modifier Auto-Repeat Doesn't Work Topic is solved
Replies: 2
Views: 155

Re: Remapped Modifier Auto-Repeat Doesn't Work Topic is solved

Hi there, There is :) Try the following. $LAlt:: if getkeystate("Alt", "P"){ send bs ; sleep 10 -> add sleep if you want to press 'bs' slower } return · this didn't work · also, with your code, control now fires when i press alt · edit ·· nevermind, it worked with a drand new script ·· something el...
by abcjme
21 Mar 2019, 03:07
Forum: Ask For Help
Topic: Key down hotkey is interrupted when other hotkeys fire
Replies: 3
Views: 275

Re: Key down hotkey is interrupted when other hotkeys fire

· if other buttons are pressed after, then there's no way to keep shift down forever
· you'll have to just re-activate it when needed


XButton1::
send m
sleep 50
send {lshift down}
return
by abcjme
21 Mar 2019, 02:29
Forum: Ask For Help
Topic: Remapped Modifier Auto-Repeat Doesn't Work Topic is solved
Replies: 2
Views: 155

Remapped Modifier Auto-Repeat Doesn't Work Topic is solved

$lalt::send {bs}

· if i hold this key down, it doesn't auto-repeat
· however, i want it to auto-repeat
? is there a way to do this
by abcjme
10 Nov 2018, 08:38
Forum: Ask For Help
Topic: Pressing 2 Keys At Precisely The Same Time Problem
Replies: 3
Views: 410

Re: Pressing 2 Keys At Precisely The Same Time Problem

I solved it.

Changing this:
$\::v

to this:
$\::send v

stopped the problem.
by abcjme
09 Nov 2018, 10:35
Forum: Ask For Help
Topic: Pressing 2 Keys At Precisely The Same Time Problem
Replies: 3
Views: 410

Re: Pressing 2 Keys At Precisely The Same Time Problem

i cant reproduce this problem using only the script provided. if that isnt ur entire script the issue might lie elsewhere. anyway, try Send v instead of a remapping Thanks! "Send" worked when it was the only operation. However, it still has the same error when I add "if a_priorkey". Is there a work...
by abcjme
03 Nov 2018, 08:07
Forum: Ask For Help
Topic: Pressing 2 Keys At Precisely The Same Time Problem
Replies: 3
Views: 410

Pressing 2 Keys At Precisely The Same Time Problem

I have the following: $*space::send {ctrl downR} $*space up:: send {ctrl up} if a_priorkey = space send {space} return $\::v $^\::send _ - In rare cases, when typing really fast, I accidentally press Space + \ at practically the exact same time. - Instead of outputting _ , it'll perform a paste func...
by abcjme
04 Jul 2018, 19:28
Forum: Ask For Help
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 792

Re: Sleep Is Being Inconsistent Topic is solved

Hi abcjme: Don't know why the "a" key would work for your script and not mine. Should not need to use sleeps for that script, at least when using "SendInput". See remarks for Sleep command. It is not a accurate timer. Try this, it should do what i think you want. 1:: WinGetPos, x,,,, A WinMove, A,,...
by abcjme
04 Jul 2018, 12:18
Forum: Ask For Help
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 792

Re: Sleep Is Being Inconsistent Topic is solved

Hi abcjme: I don't really understand what you want to do "This script makes snapped windows hug the side of the screen better. That way, it's easier to click the scroll-bar rather than the window edges." But this will keep the left side of the window where it is and expand the window to the right w...
by abcjme
04 Jul 2018, 09:38
Forum: Ask For Help
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 792

Sleep Is Being Inconsistent Topic is solved

This script makes snapped windows hug the side of the screen better. That way, it's easier to click the scroll-bar rather than the window edges. With that noted, its operations screw up about 5% of the time. It might do something out of order, or just miss a step entirely. I've tried many different ...
by abcjme
01 Jul 2018, 16:30
Forum: Ask For Help
Topic: On/Off Key Switches?
Replies: 4
Views: 478

Re: On/Off Key Switches?

... toggle := false ::z toggle := ! toggle return ::a if(toggle) Send, 1 else Send, a return you'll need to figure out if you want to send A or a is caps or shift is down... That didn't quite work, but I did get it to work with this: z:: toggle := ! toggle return a:: if(toggle) send b else send c
by abcjme
17 Jun 2018, 13:15
Forum: Ask For Help
Topic: On/Off Key Switches?
Replies: 4
Views: 478

Re: On/Off Key Switches?

Bump.
by abcjme
16 Jun 2018, 20:45
Forum: Ask For Help
Topic: On/Off Key Switches?
Replies: 4
Views: 478

On/Off Key Switches?

Is there a way to make certain keys act like switches? Very much like CapsLock, except that the keys sensitive to the switching could be specified. For example: If I press "z" once (with no holding involved), then pressing "a" will output "1" and pressing "b" will output "2". However, if I press "z"...
by abcjme
15 Jun 2018, 11:57
Forum: Ask For Help
Topic: Open New Tab In Chrome Problem
Replies: 2
Views: 350

Re: Open New Tab In Chrome Problem

I cannot reproduce your problem. Is this your complete and only script? Which versions of AHK and Chrome are you using? Sorry, there was a conflict elsewhere in my script. Normally I would've checked more thoroughly, but past issues with Chrome inclined me to be pompous I guess. :oops: All I needed...
by abcjme
15 Jun 2018, 11:28
Forum: Ask For Help
Topic: Open New Tab In Chrome Problem
Replies: 2
Views: 350

Open New Tab In Chrome Problem

Code: Select all

b::^t
This results in a right-click! Chrome has other odd behavior that I don't experience in any other programs, but this is the worst so far. What's the reason for this, and is there a work-around?
by abcjme
28 May 2018, 15:02
Forum: Ask For Help
Topic: Remapped Key To Trigger A Physical Key: How? Topic is solved
Replies: 3
Views: 341

Re: Remapped Key To Trigger A Physical Key: How? Topic is solved

Hallo, perhaps this: Send {Blind}{Ctrl DownR} What is the "R" in "DownR"? It was crucial for making the script work properly. You like making your life miserable, don't you? Only in the short-term, haha. I've been developing a keyboard layout that's more efficient and even easier to learn than curr...
by abcjme
27 May 2018, 14:56
Forum: Ask For Help
Topic: Remapped Key To Trigger A Physical Key: How? Topic is solved
Replies: 3
Views: 341

Remapped Key To Trigger A Physical Key: How? Topic is solved

Let's say that Space is remapped to be Ctrl , but I also have Ctrl remapped to send Z . Is there a way to make it so that pressing Space , on release, also acts to send Z ? (To extrapolate, if Space is not used as part of a key combo, then it should act like Ctrl pressed alone, and thereby send Z : ...
by abcjme
17 May 2018, 02:02
Forum: Ask For Help
Topic: Drag-And-Drop Inhibited By AHK Runs??? Topic is solved
Replies: 2
Views: 295

Re: Drag-And-Drop Inhibited By AHK Runs??? Topic is solved

swagfag wrote:Try *RunAs
That did it, thanks! In case anyone else comes across this:

Code: Select all

#4::
runas, usr, psw
run C:\Program Files\VEGAS\VEGAS Pro 15.0\vegas150.exe
runas
return
#5::
runas, usr, psw
run C:\Program Files\GIMP 2\bin\gimp-2.8.exe
runas
return
#6::run C:\
by abcjme
16 May 2018, 10:44
Forum: Ask For Help
Topic: Drag-And-Drop Inhibited By AHK Runs??? Topic is solved
Replies: 2
Views: 295

Drag-And-Drop Inhibited By AHK Runs??? Topic is solved

If I open GIMP or Magix Vegas via their shortcut lnk icons, I can drag-and-drop files onto those programs. However, if I open those programs with ahk, then I can't drag-and-drop files onto those programs. Why might that be? Here's my code: #4::run C:\Program Files\VEGAS\VEGAS Pro 15.0\vegas150.exe #...

Go to advanced search