Search found 41 matches

by Epoch
26 Sep 2023, 21:36
Forum: Ask for Help (v1)
Topic: Give a series of conditions/if statements a name to recall later
Replies: 0
Views: 223

Give a series of conditions/if statements a name to recall later

Is there a way to gather a series of conditions/if statements and give them a name so you can recall them later in the same script, by using this rather than typing them again? For example, giving a series of these statements a "nickname" (function?) following this logic: If ( WinExist("ahk_exe Fire...
by Epoch
19 Apr 2023, 19:19
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46090

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

@Epoch Wow big question. Firstly it took me months to figure out this stuff :lol: Right, 1st thing you need to do: During testing I would only use standard keyboard keys & not F13. that way when everything works you can then use F13 and you will know if F13 is the issue or not. 2nd: Definitely do n...
by Epoch
03 Feb 2023, 19:16
Forum: Ask for Help (v1)
Topic: MIDI out from keystroke
Replies: 10
Views: 2535

Re: MIDI out from keystroke

once I fire up my DAW it becomes clear the midi controller input can be used either by the script or DAW, so I can't use it You’re going to have to clarify what you mean by this, in order for me to fully help, but: I have been able to map several keystrokes (for anything from opening up programs, t...
by Epoch
02 Feb 2023, 20:56
Forum: Ask for Help (v1)
Topic: MIDI out from keystroke
Replies: 10
Views: 2535

Re: MIDI out from keystroke

[/quote] Feel free to ask if you have further questions and if you start a thread, I am happy to join in case I can help further. So I finally found a solution after searching for it all day: the answer lie in this video: https://www.youtube.com/watch?v=h0IZiYEkvLg&t=318s RudyB24 actually wrote a sc...
by Epoch
01 Feb 2023, 11:02
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46090

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Hi again Steve, thanks for helping out! I've been testing your code (along with my older THM functions) for the past few days and I've got a few things to say. 1. @Epoch Hi Epoch. This code works while Holding the "F3" key on my laptop as I don't have F13... and "H" key will perform a SoundBeep. I b...
by Epoch
28 Jan 2023, 12:09
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46090

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Is it possible to have a key combination containing an F key as my tapholdmanager hotkey? I've set a mouse button as "F13", allowing me to combine it with various keyboard keys for different actions i.e F13 & H:: Do this So I'd like to hold F13 (the mouse button) while tapping, double tapping, holdi...
by Epoch
27 Jan 2023, 17:02
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581589

Re: FindText - Capture screen image into text and then find it Topic is solved

@Epoch I think what you are after is just getting the mouse position at the beginning yeah? MouseGetPos, aX, aY if (ok:=FindText(X, Y, aX-50, aY-50, aX+50, aY+50, 0, 0, Text)) { FindText().Click(ok[1].x, ok[1].y, "L", 1) } Always fast and to the point, thanks mate. I figured it'd most likely have t...
by Epoch
26 Jan 2023, 18:49
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581589

Re: FindText - Capture screen image into text and then find it Topic is solved

Is there a way (maybe even built-in within the function?) to set a search range related to the mouse cursor position at any given time? Meaning, search for and only execute the part of the code within the “if (ok:=” brackets if the image is under the cursor or within a predetermined range related to...
by Epoch
22 Sep 2022, 13:41
Forum: Ask for Help (v1)
Topic: Detect drag then "shake" a file as a trigger for an action.
Replies: 2
Views: 396

Re: Detect drag then "shake" a file as a trigger for an action.

Hi, I made a little script for you. It is triggered when you drag and shake something, it doesnt detect if its in particular a file under your cursor though. I tried it and it works fine. Between the MARKER comments, you can insert what you want to do if its triggered. You can also tune the min_sha...
by Epoch
20 Sep 2022, 12:34
Forum: Ask for Help (v1)
Topic: Detect drag then "shake" a file as a trigger for an action.
Replies: 2
Views: 396

Detect drag then "shake" a file as a trigger for an action.

Is it possible to have AHK detect dragging then "shaking" a file? I am working on a "dropper" GUI where the idea is to start dragging a file, then come up with a trigger to fire up the GUI in question, where I'd finally let the drag go and drop the file into specific parts of the GUI, corresponding ...
by Epoch
29 Aug 2022, 10:14
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46090

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

I can help you with your 1st question. Context sensitivity has always been tricky with THM. But that's why the genius EvilC made it easy for us. Just add the program to this part :arrow: thm := new TapHoldManager(150, 300, , "$*","ahk_exe explorer.exe") ) D'oh, I completely forgot about that - it w...
by Epoch
28 Aug 2022, 20:58
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46090

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

@Epoch #IfWinActive is a context mode settings for mappings in the form of a::b (ie ones that are effectively directives, and not part of the flow of code. you need to use Hotkey, IfWinActive, ahk_exe explorer.exe on a line BEFORE a THM subscription, like so: thm := new TapHoldManager(150, 300, , "...
by Epoch
28 Aug 2022, 11:48
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46090

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Congratulations on this great script. I've been trying without success to achieve two things: 1. Having a context sensitive TapHoldManager instance, for example having its hotkey taking effect only on windows explorer. Simply starting with #if Winactive , as in the following example doesn't seem to ...
by Epoch
28 Jun 2022, 16:23
Forum: Ask for Help (v1)
Topic: Simple Base64 Decoder?
Replies: 9
Views: 1328

Re: Simple Base64 Decoder?

I do not fully understand what you are asking. Generally I use string replacement functions with a wrapper: ; Highlight text, then press Windows + b. #b:: Highlight.get_base64() ; Note that no parameters are necessary due to the Highlight wrapper. get_base64(str) { ; Validate base64 string to preve...
by Epoch
28 Jun 2022, 11:21
Forum: Ask for Help (v1)
Topic: Simple Base64 Decoder?
Replies: 9
Views: 1328

Re: Simple Base64 Decoder?

Thanks for the reply guys. Yes, the main reason is because base64 encoding adds 33% bloat, so if you have a text value that can be represented in Unicode, why would you add an extra 33% to the size of your string? :lol: str := "RE9LSSBET0tJIExJVEVSQVRVUkUgQ0xVQiBCVVQgSVRTIEEgRElTTkVZIENIQU5ORUwgQ0FS...
by Epoch
27 Jun 2022, 10:25
Forum: Ask for Help (v1)
Topic: Simple Base64 Decoder?
Replies: 9
Views: 1328

Re: Simple Base64 Decoder?

I did not try, but this looks relevant. https://www.autohotkey.com/boards/viewtopic.php?f=76&t=102033 Thanks for the reply. I've tried to make some sense out of it but I am afraid this thread goes into dev territory which is certainly beyond my scope of understanding, I mean I cannot even understan...
by Epoch
27 Jun 2022, 09:20
Forum: Ask for Help (v1)
Topic: Simple Base64 Decoder?
Replies: 9
Views: 1328

Simple Base64 Decoder?

I wondered whether AHK can decode a base64 string into normal text instead of having to install yet another browser addon just for that? While searching for "base64"I was only able to find advanced stuff like pBitmap and wav. conversions which are beyond my intended usage (and understanding), rather...
by Epoch
20 May 2022, 11:26
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 322
Views: 113158

Re: MouseGestureL

Running MouseGestureL conflicts with Foxygestures on Firefox/Waterfox i.e it completely disables the actions of the addon. Which I guess it's normal. Is there any way I could possibly have MouseGestureL letting Foxygestures taking care of some gestures (the ones for simple tasks), then taking over ...
by Epoch
19 May 2022, 10:20
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581589

Re: FindText - Capture screen image into text and then find it Topic is solved

Epoch I found ColorDiff capture method to be the most consistent. MultiColor is perfect too for tricky situations. To be honest, the differences between all the modes are bit confusing to me, I am not sure which fits each situation best, I just use "Gray2two" when colours aren't important and I jus...
by Epoch
16 May 2022, 19:42
Forum: Scripts and Functions (v1)
Topic: MouseGestureL
Replies: 322
Views: 113158

Re: MouseGestureL

Hi and thanks for the great script once again Pyonkichi. Since I use it a lot, I've got a few questions: 1. I was never able to get to the bottom of the RB_L_ issue, starting with a new config didn't help as I've said before. So I replaced the "close tab" action with a more...harmless one and then I...

Go to advanced search