Search found 1361 matches

by Nextron
06 Dec 2018, 12:19
Forum: Ask for Help (v1)
Topic: Cannot find my keys' codes Topic is solved
Replies: 14
Views: 3539

Re: Cannot find my keys' codes Topic is solved

Although not present on most keyboards, F13-F24 exist as well. You could try temporarily remapping a normal key to one of those (F1::F13) to learn it to the driver software, so that you can use it in AHK afterwards (F13::Msgbox F13 works).
by Nextron
05 Dec 2018, 17:19
Forum: Ask for Help (v1)
Topic: How do I find what's causing the delay? Topic is solved
Replies: 7
Views: 1712

Re: How do I find what's causing the delay? Topic is solved

1: Is the Clipboard = Anonymous line executed when you expect it to (look in AHK's recent executed lines)? You've already noticed that clipboard manipulation requires some time to complete (perhaps even more if you're using additional clipboard software), so you've added Sleep s, but not after assig...
by Nextron
05 Dec 2018, 17:02
Forum: Ask for Help (v1)
Topic: How to press 2 hotkeys in same moment?
Replies: 7
Views: 1628

Re: How to press 2 hotkeys in same moment?

Put your fingers on the keys and try timing it really well when pushing down. Seriously, the questions in your topics are really succinct, not very well formulated and easily solved after glancing over the documentation . The formulation is not a huge issue coming from new users, but lacking any con...
by Nextron
05 Dec 2018, 16:52
Forum: Ask for Help (v1)
Topic: Repeat command every 1 hour.
Replies: 5
Views: 8442

Re: Repeat command every 1 hour.

I'd instead use SetTimer. It has the added benefit you could use multiple timed routines and the timing won't drift when the thread is interrupted by other threads.
by Nextron
05 Dec 2018, 16:44
Forum: Ask for Help (v1)
Topic: MsgBox not visible after return
Replies: 1
Views: 556

Re: MsgBox not visible after return

It helps if you elaborate on what you mean. Which key do you have remapped, what do expect to happen that isn't?

If this is the only code you're using and you're expecting to see the second msgbox, read up on auto-execute section.
by Nextron
05 Dec 2018, 16:35
Forum: Ask for Help (v1)
Topic: Eliminate delay after first keystroke
Replies: 5
Views: 1274

Re: Eliminate delay after first keystroke

It helps if you elaborate on what you mean. What code are you using, showing some key history that shows the delay, etc.

Mod edit: Merged two threads and deleted duplicate posts.
by Nextron
04 Dec 2018, 14:42
Forum: Gaming Help (v1)
Topic: Long timer needs a small helping hand. Topic is solved
Replies: 5
Views: 1510

Re: Long timer needs a small helping hand. Topic is solved

When CapsLock is on, it will be toggled off temporarily during the Send. To prevent that, replace Send, %A_ThisLabel% with Send, {Blind}%A_ThisLabel%.

For gameing, it's wise to always use Send, {Blind}...
by Nextron
04 Dec 2018, 13:48
Forum: Ask for Help (v1)
Topic: Is it possible to bind fn key?
Replies: 2
Views: 22157

Re: Is it possible to bind fn key?

Unlikely; run the code below, press the Fn key and then press F5 to see if the button is identified. Fn usually changes the output of the keys directly in the keyboard controller, not by messages to the OS. However, I think there are so success stories if you search the forum. #Persistent #InstallKe...
by Nextron
03 Dec 2018, 18:50
Forum: Ask for Help (v1)
Topic: Cannot find my keys' codes Topic is solved
Replies: 14
Views: 3539

Re: Cannot find my keys' codes Topic is solved

Ah yes, 1 and 6, my bad. I'm not sure if its possible to identify as yet another kind of HID, or that the keyboard is just not sending anything. Does the software allow for a profile to me stored on the keyboard itself? That's how I use my extra buttons on my Logitech mouse without installing the so...
by Nextron
03 Dec 2018, 17:53
Forum: Ask for Help (v1)
Topic: Least used Keys
Replies: 10
Views: 4406

Re: Least used Keys

You could check if any of these are supported by your software: https://docs.microsoft.com/en-us/window ... -key-codes

LGS also didn't always support F13-F24. And when they finally added support , they only added F13-F23. :trollface:
by Nextron
03 Dec 2018, 09:08
Forum: Ask for Help (v1)
Topic: Numpad Remap - 00 key causing many issues
Replies: 6
Views: 2690

Re: Numpad Remap - 00 key causing many issues

You need to finish up the remaining key remappings, but see if the 00 and 0 are differentiated properly. *Numpad0:: T:=25 T1:=A_TickCount If (T1-T0>T || T0=""){ SetTimer,Send0,-%T%,On }Else{ Send {Blind}{Left} SetTimer,Send0,Off } T0:=T1 Return Send0: Send {Blind}{Down} Return NumpadDot::Right Numpa...
by Nextron
02 Dec 2018, 12:46
Forum: Ask for Help (v1)
Topic: Send key squence with modifiers (using qTranslate))
Replies: 1
Views: 612

Re: Send key squence with modifiers (using qTranslate))

When you send ^A (capital letter), you're actually sending Ctrl+Shift+a. So that might do different things than you intend... Try a lower case a and t.
by Nextron
02 Dec 2018, 12:41
Forum: Ask for Help (v1)
Topic: Why Task Manager is showing so many instances of Goolge Chrome while I am running only one instance of Chrome?
Replies: 4
Views: 972

Re: Why Task Manager is showing so many instances of Goolge Chrome while I am running only one instance of Chrome?

Chrome runs each tab in a separate process. So one parent process takes care of the gui, while the others are windowless.
by Nextron
02 Dec 2018, 08:15
Forum: Gaming Help (v1)
Topic: Long timer needs a small helping hand. Topic is solved
Replies: 5
Views: 1510

Re: Long timer needs a small helping hand. Topic is solved

I'd try

Code: Select all

~f7::Pause, Toggle

#If !A_IsPaused
$e::
	SetTimer, e, % (Toggle_e := !Toggle_e) ? 2910 : "Off"
	If (Toggle_e)
		Gosub, e
Return
e:
	Send, %A_ThisLabel%
return
#If
by Nextron
02 Dec 2018, 08:06
Forum: Ask for Help (v1)
Topic: start script with hotkey disabled Topic is solved
Replies: 6
Views: 1801

Re: start script with hotkey disabled Topic is solved

Are you using just the code Rohwedder provided, or are you pasting it in another script? If you define any other hotkeys or have any Returns before it, it will not work.
by Nextron
02 Dec 2018, 08:01
Forum: Ask for Help (v1)
Topic: Searching specific words inside dialog window!
Replies: 13
Views: 2795

Re: Searching specific words inside dialog window!

Isn't Window Spy able to identify the field name and content? (I'm not on Windows 10, so I can't check.)
by Nextron
02 Dec 2018, 07:44
Forum: Ask for Help (v1)
Topic: Numpad Remap - 00 key causing many issues
Replies: 6
Views: 2690

Re: Numpad Remap - 00 key causing many issues

2: Could you redo this but with the other script not running? While you're at it, also press the Numpad1 and Numpad3 while NumLock is off.
3: It promising Shift doesn't interfere withthe arrows, let's find out if it's doable.
by Nextron
01 Dec 2018, 20:15
Forum: Ask for Help (v1)
Topic: Cannot find my keys' codes Topic is solved
Replies: 14
Views: 3539

Re: Cannot find my keys' codes Topic is solved

• Go to: https://autohotkey.com/board/topic/3801 ... functions/
• Download ahkhid.ahk
• Download and run example 2
• Put in UsagePage: 1, Usage: 2, click add, click call.
• Press the macro key and see if it is recognized in the log.
by Nextron
01 Dec 2018, 18:22
Forum: Ask for Help (v1)
Topic: StrSplit() vs StringSplit
Replies: 5
Views: 1025

Re: StrSplit() vs StringSplit

Code: Select all

a:=StrSplit("a	b	c	d", "`t")
MsgBox % a.Length()
Edit: Wow, at the same time, and even with almost the same letters. :cookie:
by Nextron
01 Dec 2018, 17:14
Forum: Ask for Help (v1)
Topic: Cannot find my keys' codes Topic is solved
Replies: 14
Views: 3539

Re: Cannot find my keys' codes Topic is solved

Code: Select all

#Persistent
#InstallKeybdHook
KeyHistory
Run the code above, press the key you want to identify and then press F5 to see if the button is identified. It is possible the special buttons don't do anything until the software activates them. Many Logitech devices work that way,

Go to advanced search