Search found 78 matches

by koolestani
16 May 2024, 08:02
Forum: Ask for Help (v1)
Topic: Profiles Within Applications
Replies: 2
Views: 369

Re: Profiles Within Applications

I probably should have mentioned that I don't really have a clue about what some lines of my script do, at all. But after reading your reply, I kind of got what you meant and was able to make it work, although I did not try the method you suggested. I simply changed the two lines you pointed out int...
by koolestani
15 May 2024, 23:41
Forum: Ask for Help (v1)
Topic: Profiles Within Applications
Replies: 2
Views: 369

Profiles Within Applications

Hello So I have tried to come up with a script that performs actions on the basis of two criterion. The first criteria is the application whose window is currently active, and after that it looks for what profile is currently active (profile is a variable that I can control with pre defined hotkeys ...
by koolestani
06 Aug 2022, 01:47
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

I'm trying to map the following shortcuts to new keys that I find more convenient to access. I would like to merge all this into a bigger script later. Ctrl + ← Ctrl + → Shift + ← Shift + → Ctrl + Shift + ← Ctrl + Shift + → Ctrl + Backspace Ctrl + Delete I'm simply trying to replace: Ctrl with 0 Shi...
by koolestani
04 Aug 2022, 22:33
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

I still don't get why this cannot work combined with the last 2 sections of the previous code. How do I get all three varieties to play nice with each other? Ctrl , Shift and Ctrl + Shift . Why does the following not work? The first 5 lines in this case? 0::Return #If GetKeyState("0", "P") 9::9 9 & ...
by koolestani
04 Aug 2022, 21:57
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

No, sorry my bad, other scripts were running. And just the 2 lines of code are working fine, they aren't working in the big script. =::= = & Del::^Del #IfWinActive ahk_class CabinetWClass ; Windows Explorer = & BS::Send ^+{Left}{Backspace} #IfWinActive = & BS::^BS #if GetKeyState("9") && GetKeyState...
by koolestani
04 Aug 2022, 21:09
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

That's the approach I went with. I tested for each section before merging into one big script.
This new code also behaves in the same way. The number itself is still being sent.
by koolestani
04 Aug 2022, 20:48
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

I know this is a detour from the topic, but just a quick question; In the code below everything after line 8 works, but the thing is pressing 9 and [ first inputs the number 9 and then selects 1 character in the left direction. Can it be made so that it doesn't input the number 9 itself. I still don...
by koolestani
04 Aug 2022, 20:28
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

Ok, thanks again! :D
by koolestani
04 Aug 2022, 19:07
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Re: Uncommon Key Combination Syntax

Thank you so much mikey!
This works perfectly.
If I were to integrate this snippet into a bigger script, should I terminate the condition =::= after the last line of this section? If so how can I do that?
Thanks again :D
by koolestani
04 Aug 2022, 14:32
Forum: Ask for Help (v1)
Topic: Uncommon Key Combination Syntax
Replies: 14
Views: 1672

Uncommon Key Combination Syntax

Hi everyone How can the following be achieved: = + Backspace = Ctrl + Backspace = + Delete = Ctrl + Delete I tried searching for existing solutions if any, but they all talk about the equal sign being sent after a hotkey is pressed, not the equal sign being a part of the hotkey itself. I also tried ...
by koolestani
04 Aug 2022, 14:06
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

I just don't know what's going wrong here, but after extensively checking the scripts behavior, I can say that it's a weird hit or miss situation. My guess is that the small time window is causing problems. I hate to bother you so much, but can you please explain the script to me because I'm a noob ...
by koolestani
26 Jul 2022, 02:19
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

This just isn't working on my end, let me know if you need some info/logs to continue. Thanks for the help. :D
by koolestani
26 Jul 2022, 01:52
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

No problem, I tried this new code, it's still one step away from being exactly what I need. If I press F2 four times, I think it is sending Alt + Tab , Alt + Tab , Alt + Tab , Alt + Tab I need it to send Alt + Tab , Tab , Tab , Tab and Alt needs to stay in a pressed state while Tab s are sent and ge...
by koolestani
26 Jul 2022, 00:13
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

Hi, I ran this script on the latest version, it still didn't actually send the Alt+Tab, but it does correctly detect how many times F2 was pressed.
by koolestani
23 Jul 2022, 08:48
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

Oh alright, then I'll check again with the latest version because the revised script didn't perform as intended either.
by koolestani
23 Jul 2022, 08:08
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

This new code just shows a toolip telling how many times F2 was pressed, it works correctly, but I need it to do more than that as mentioned above.
by koolestani
23 Jul 2022, 06:53
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Re: Multiple Press with Growing Timer for each Press

Hi and thanks for the help. I tried your script, the first press of F2 sends Alt + F2 ; it should send only F2 . Double, Triple press and beyond are sending F2 ; it should send Alt +(2x) Tab for double press, Alt +(3x) Tab for triple press and so on. On a positive note, the timer works as intended, ...
by koolestani
23 Jul 2022, 05:45
Forum: Ask for Help (v1)
Topic: Multiple Press with Growing Timer for each Press
Replies: 13
Views: 1419

Multiple Press with Growing Timer for each Press

Hi everyone I was hoping to achieve this basic functionality: Pressing F2 sends F2 Double Pressing F2 sends Alt +(2x) Tab Triple Pressing F2 sends Alt +(3x) Tab And so on The thing is, I don't want to assign a predefined time period for registering these double/triple/quadruple clicks, instead, I wo...
by koolestani
07 Jul 2022, 22:07
Forum: Ask for Help (v1)
Topic: Pressing X Triggers A, Holding X Triggers B
Replies: 41
Views: 4130

Re: Pressing X Triggers A, Holding X Triggers B

Ok, thanks for the support. :) I understand if I want to keep Ctrl pressed after 1500 milliseconds have passed the following is the code for it:

Code: Select all

Case held > 1500: Send {Ctrl down}
But how do I make it so that after this condition is met, Ctrl gets released when I press XButton1?
by koolestani
07 Jul 2022, 20:56
Forum: Ask for Help (v1)
Topic: Pressing X Triggers A, Holding X Triggers B
Replies: 41
Views: 4130

Re: Pressing X Triggers A, Holding X Triggers B

I found a way to make the tooltip follow my cursor, please let me know if there is something wrong in the implementation. XButton1:: start := A_TickCount SetTimer, Tip, 500 Return XButton1 Up:: SetTimer, Tip, Off Return Tip: held := A_TickCount - start SoundBeep, held SetTimer, FollowMouse, 50 Retur...

Go to advanced search