Search found 255 matches

by KilliK
13 Nov 2018, 10:21
Forum: Ask for Help (v1)
Topic: Remapped keys don't work
Replies: 4
Views: 856

Re: Remapped keys don't work

hm, looks like it is intended behavior:
https://autohotkey.com/board/topic/9485 ... -problems/
by KilliK
13 Nov 2018, 09:41
Forum: Ask for Help (v1)
Topic: Remapped keys don't work
Replies: 4
Views: 856

Re: Remapped keys don't work

Hello.
I tried your suggestions but they didnt work.
F3 is still sent normally instead of triggering the event, if winactive is set. Without it, F3 triggers the msgbox as it is supposed to do.
is this intended behavior, a bug, or the code is missing something?
by KilliK
08 Nov 2018, 05:55
Forum: Ask for Help (v1)
Topic: Remapped keys don't work
Replies: 4
Views: 856

Remapped keys don't work

Hello. I am trying to remap two keys with the Hotkey command while Chrome is active, so that one key will trigger the other which will trigger an event. But I encountered a peculiar problem. This works: Hotkey, F1, test1, on Hotkey, F3, test2, on Return test1: Send {F3} Return test2: msgbox Hello Re...
by KilliK
26 Oct 2018, 19:04
Forum: Ask for Help (v1)
Topic: Problem with parsing internal cmd parameter to Comspec
Replies: 5
Views: 1467

Re: Problem with parsing internal cmd parameter to Comspec

Hello. After two days of googling and testing, I finally managed to make it work. Here is the final code which, so far at least, works with no problems: Runwait, % ComSpec " /c ""C:\Program Files (x86)\Youtube-dl\youtube-dl.exe"" --get-filename -f bestvideo[height^<=720][fps^<=30]+bestaudio/best -o ...
by KilliK
25 Oct 2018, 19:59
Forum: Ask for Help (v1)
Topic: Problem with parsing internal cmd parameter to Comspec
Replies: 5
Views: 1467

Re: Problem with parsing internal cmd parameter to Comspec

thank you for the help, but now the Runwait doesnt run at all, only a window opens and closes immediately even without |clip.
by KilliK
25 Oct 2018, 19:32
Forum: Ask for Help (v1)
Topic: Problem with parsing internal cmd parameter to Comspec
Replies: 5
Views: 1467

Problem with parsing internal cmd parameter to Comspec

Thanks to the help I received from here: https://autohotkey.com/boards/viewtopic.php?f=76&t=57780&p=244396#p244396 I came up with the below code which works with no problems: url:= "https://www.youtube.com/watch?v=ChNpq9QbMRY" ;this is an example url, it changes everytime i run the script Runwait, %...
by KilliK
17 Oct 2018, 20:31
Forum: Ask for Help (v1)
Topic: Illegal character error with Run command
Replies: 5
Views: 1877

Re: Illegal character error with Run command

thank you guys, I followed your examples and I finally fixed it. thank you.
by KilliK
16 Oct 2018, 22:54
Forum: Ask for Help (v1)
Topic: Illegal character error with Run command
Replies: 5
Views: 1877

Re: Illegal character error with Run command

I did that but i am getting the same error.
by KilliK
16 Oct 2018, 22:34
Forum: Ask for Help (v1)
Topic: Illegal character error with Run command
Replies: 5
Views: 1877

Illegal character error with Run command

Hello. I am using the below command in CMD with all its parameters with no problems. the double quotes are necessary for the app to work correctly. "C:\Program Files (x86)\Youtube-dl\youtube-dl.exe" -f "best[height=720]" -o "C:/Storage/%(title)s.%(ext)s" URL To run the same command from inside an AH...
by KilliK
13 Oct 2018, 17:21
Forum: Ask for Help (v1)
Topic: Trigger event when stop pressing hotkey Topic is solved
Replies: 4
Views: 1021

Re: Trigger event when stop pressing hotkey Topic is solved

i tried it and it worked perfectly! thank you very much.
by KilliK
13 Oct 2018, 08:19
Forum: Ask for Help (v1)
Topic: Trigger event when stop pressing hotkey Topic is solved
Replies: 4
Views: 1021

Re: Trigger event when stop pressing hotkey Topic is solved

thank you but wont this trigger the d event, while I keep cycling?
by KilliK
12 Oct 2018, 20:44
Forum: Ask for Help (v1)
Topic: Trigger event when stop pressing hotkey Topic is solved
Replies: 4
Views: 1021

Trigger event when stop pressing hotkey Topic is solved

Hello I have made this simple script which cycles and triggers a specific event each time I press Tab. key:=0 Tab:: key++ if key = 1 do a else if key = 2 do b else if key = 3 { do c key:= 0 } return the script works fine. Now here is the thing. I want to add one more condition so that when I have st...
by KilliK
31 May 2018, 09:30
Forum: Ask for Help (v1)
Topic: Emulate right click and hold it down.
Replies: 2
Views: 871

Re: Emulate right click and hold it down.

thanx, I did that, I pass the right click as it is and I only use the trigger for when it is pressed. that solves the problem better. thanx again.
by KilliK
29 May 2018, 07:18
Forum: Ask for Help (v1)
Topic: Emulate right click and hold it down.
Replies: 2
Views: 871

Emulate right click and hold it down.

Hello. I am using a mouse gestures addon for Chrome. The gestures are triggered while I right click and hold it down, and then move the cursor while the click is kept pressed in order to "draw" those gestures. The problem is that I have already bound the "right click and hold it down" hotkey in an A...
by KilliK
11 Apr 2018, 22:38
Forum: Gaming Help (v1)
Topic: Hotkey to change mouse dpi?
Replies: 4
Views: 3449

Re: Hotkey to change mouse dpi?

thank you for the reply. yeah, I didnt know about the per-app profiles, I switched to it and now I can set separate profiles for each game which load automatically whenever I run the game. that's neat. BUT, I still need a way to track my current active DPI since the mouse offers 5 settings and I exp...
by KilliK
11 Apr 2018, 22:32
Forum: Gaming Scripts (v1)
Topic: Logitech Gaming Software F13-F24 enabler (Unused keys to trigger AHK actions)
Replies: 12
Views: 39782

Re: Logitech Gaming Software F13-F24 enabler (Unused keys to trigger AHK actions)

thanks for this, I set my scripts to use my logitech mouse's extra button as F24 BUT, I have a question which I asked in another topic too. Can the logitech mouse use the extra button to send the F24 button and cycle my DPI settings? I am looking for a way for AHK to track the extra button whenever ...
by KilliK
08 Apr 2018, 18:20
Forum: Ask for Help (v1)
Topic: Close right context menu in Chrome? Topic is solved
Replies: 7
Views: 1303

Re: Close right context menu in Chrome? Topic is solved

thank you, this seems to solve the problem. I ll do some further tests, but so far so good, it works well.
thank you again.
by KilliK
08 Apr 2018, 16:54
Forum: Ask for Help (v1)
Topic: Close right context menu in Chrome? Topic is solved
Replies: 7
Views: 1303

Re: Close right context menu in Chrome? Topic is solved

hello. the problem is that left click will interfere with page elements as well. for example, it will open a link if I trigger the script while the cursor is over a hyperlink. I want to avoid this and have the popup closed with some other way which doesnt invovle button/click events. I am looking to...
by KilliK
08 Apr 2018, 16:35
Forum: Ask for Help (v1)
Topic: Close right context menu in Chrome? Topic is solved
Replies: 7
Views: 1303

Close right context menu in Chrome? Topic is solved

Hello. Is there a way for AHK to close Chrome's right click context menu when triggered? I cant send a button trigger like Alt or Escape because they interfere with other page elements of the sites. I was thinking to use an indirect approach like WinClose, but the context popup menu doesnt have dist...
by KilliK
01 Apr 2018, 19:35
Forum: Gaming Help (v1)
Topic: Jump to a specific part of a Loop?
Replies: 2
Views: 780

Jump to a specific part of a Loop?

Hello. I have created a Loop which is consisted of several parts in this form: Loop { if .. do A and goto sub2 if .. do B and goto sub1 do stuff and continue to sub1 and sub2 sub1: do stuff sub2: do stuff } my question is how can I jump to a specific part of the Loop, like sub1 or sub2 and ignore th...

Go to advanced search