Search found 424 matches

by roysubs
31 Mar 2024, 06:36
Forum: Ask for Help (v1)
Topic: Throw a warning if running 2.0 ? Topic is solved
Replies: 3
Views: 117

Re: Throw a warning if running 2.0 ? Topic is solved

That all sounds very well thought out, though just on managing this, when I install v2.0, I presume that it does not also create the latest v1.1 executable (or am I wrong?), so I should make a point of downloading both executables and putting them in the same folder (that should be on the path) and ...
by roysubs
31 Mar 2024, 04:44
Forum: Ask for Help (v1)
Topic: How to trap AutoHotkey to the window I want
Replies: 1
Views: 43

How to trap AutoHotkey to the window I want

I see that a Chocolatey package for GhostScript is using the following AutoHotkey to automate their installation. This seems to trap AutoHotkey so that it only sends keypresses into the correct Window. What part of this code is controlling that please? Is it the "ControlSend"? I've never really figu...
by roysubs
29 Mar 2024, 10:35
Forum: Ask for Help (v1)
Topic: Throw a warning if running 2.0 ? Topic is solved
Replies: 3
Views: 117

Throw a warning if running 2.0 ? Topic is solved

A group of about 40 people use an autohotkey 1.1 script that I've got up on a Discord forum. It's about 10,000 lines long. I love to migrate it to 2.0, but I don't even know where to start in terms of that as it seems quite a big task! They said "I got an error message reading "Error: PCRE execution...
by roysubs
29 Mar 2024, 02:42
Forum: Ask for Help (v2)
Topic: Script precedence in loading definitions
Replies: 1
Views: 55

Script precedence in loading definitions

I have multiple .ahk scripts, but I have a master script that has all of my main definitions, master.ahk. In the other scripts, they could be partially working or testing, and I might have keybindings that conflict with the master.ahk If there is a keybinding in the second that is not in the first, ...
by roysubs
24 Feb 2024, 05:08
Forum: Ask for Help (v1)
Topic: Automate adjusting Windows console font and layout Topic is solved
Replies: 6
Views: 233

Re: Automate adjusting Windows console font and layout Topic is solved

These are great @garry, thanks very much. Playing with these now. 👌
by roysubs
22 Feb 2024, 12:25
Forum: Ask for Help (v1)
Topic: Automate adjusting Windows console font and layout Topic is solved
Replies: 6
Views: 233

Re: Automate adjusting Windows console font and layout Topic is solved

Thanks. I know what you mean, and I do adjust things this way etc; it's just that I want this as a part of standard customisations that I apply to a system (I apply all of these customisations to my dozens of systems and VMs). The "Defaults" point is a good one, as I normally just go into Properties...
by roysubs
18 Feb 2024, 11:02
Forum: Ask for Help (v1)
Topic: Automate adjusting Windows console font and layout Topic is solved
Replies: 6
Views: 233

Automate adjusting Windows console font and layout Topic is solved

I've been hunting for a way to adjust the settings in a PowerShell or Cmd Prompt console using PowerShell code for months (maybe years), and so far, it seems completely impossible to adjust those settings, so I'd appreciate some help on this as Autohotkey is the ultimate Swiss army knife of course. ...
by roysubs
20 Jan 2024, 05:30
Forum: Ask for Help (v1)
Topic: Trigger a download when url is in the clipoard Topic is solved
Replies: 3
Views: 202

Re: Trigger a download when url is in the clipoard Topic is solved

Thanks for the great answers, I guess it might be easier to do with the extension, and that's probably good enough, though I still want to try with the monitor clipoard code, as that would offer me the best situation of all, just right-clicking on a video and copying the video url and then AutoHotke...
by roysubs
19 Jan 2024, 16:33
Forum: Ask for Help (v1)
Topic: Trigger a download when url is in the clipoard Topic is solved
Replies: 3
Views: 202

Trigger a download when url is in the clipoard Topic is solved

I've got something that I want to do 5 or 6 times per day that would be nice to be able to automate. There are various sites (twitter is one example) where I want to download the raw video. There are various sites that permit this, such as https://twdown.net/index.php So, my idea is that I would lik...
by roysubs
04 Dec 2023, 08:44
Forum: Ask for Help (v1)
Topic: YouTube Ad blocker ban
Replies: 13
Views: 1149

Re: YouTube Ad blocker ban

I tested things on a completely clean instance of Brave, and it does seem to work (has been working for a few days, still no ads), so, *never* do a Chrome profile import into Brave, that seems to give them enough information to shove ads to you via YouTube, even on Brave. Load a clean instance of Br...
by roysubs
21 Nov 2023, 12:34
Forum: Ask for Help (v1)
Topic: YouTube Ad blocker ban
Replies: 13
Views: 1149

Re: YouTube Ad blocker ban

Brave works for me. No need for uBlock or anything else. Ads on YT are non-existent for me (my current Brave is v1.60.118 with 'Tracking and Ad Blocker' setting at "Aggressive"). I made a fairly interesting discovery last week. Before I saw the further notes here, I thought that Brave might be the ...
by roysubs
12 Nov 2023, 08:01
Forum: Ask for Help (v1)
Topic: YouTube Ad blocker ban
Replies: 13
Views: 1149

Re: YouTube Ad blocker ban

@roysubs, a solution could be as simple as using a different adblocker. I use Adblock Plus and get no adds. I have heard others have great success with uBlock Origin? Sadly, uBlock Origin is also detected. They seem to have this wrapped up. I was using Adblock Plus. Has anyone had success in blocki...
by roysubs
14 Oct 2023, 06:38
Forum: Ask for Help (v1)
Topic: YouTube Ad blocker ban
Replies: 13
Views: 1149

YouTube Ad blocker ban

So, YouTube now pump this onto every page you load. Would be great if someone with knwledge of detecting images could automate something to close that window when it is shown to us so that we can get on with watching videos as we please (with ad blockers still on). Seems like a perfect job for AutoH...
by roysubs
08 Oct 2023, 09:25
Forum: Ask for Help (v1)
Topic: Hotstrings and the ú character?
Replies: 6
Views: 760

Re: Hotstrings and the ú character?

I'm running it with the 64-bit unicode version of 1.x ... Is there another way to generate a ú character, such as by a unicode string to invoke it or something (I'm not very knowledgable about this stuff, don't know how that would look). All other accented characters that I invoke from hotstrings wo...
by roysubs
08 Oct 2023, 04:49
Forum: Ask for Help (v1)
Topic: Hotstrings and the ú character?
Replies: 6
Views: 760

Re: Hotstrings and the ú character?

When I open the file in Notepad++, it already says "UTF-8 BOM", and it doesn't work, so can you think of what else I need to change? :(
image.png
image.png (19.93 KiB) Viewed 703 times
by roysubs
08 Oct 2023, 02:31
Forum: Ask for Help (v1)
Topic: Hotstrings and the ú character?
Replies: 6
Views: 760

Hotstrings and the ú character?

I can't get certain characters to replace in HotStrings.
e.g.
::Ugluk::Uglúk ;

This always fails, generating the following on the page:
Uglk♦

What am I doing wrong, how should I setup this HotString?
by roysubs
12 Sep 2023, 00:13
Forum: Ask for Help (v1)
Topic: Forcing clicks and text into specific app?
Replies: 1
Views: 280

Forcing clicks and text into specific app?

I have some scripts that do some clicks and insert text into apps, but if the user clicks away from that app, the clicks and text go to other places, but then I saw some AutoHotkey that seems to force the clicks and text to go into an app, even if it is out of focus. How does that work, what command...
by roysubs
30 Mar 2023, 14:54
Forum: Ask for Help (v1)
Topic: How to map keys on multimedia keyboard?
Replies: 5
Views: 515

Re: How to map keys on multimedia keyboard?

This are great, thanks. I can only make it work for F1 to F6 so far unfortunately, but it's a start... AutoHotInterception looks very interesting. Hopefully I can get something from that, but looks quite complex Can you think of an approach for CTRL+a / c / v / x? I doubt that I can map CTRL~a to F1...
by roysubs
30 Mar 2023, 07:15
Forum: Ask for Help (v1)
Topic: How to map keys on multimedia keyboard?
Replies: 5
Views: 515

Re: How to map keys on multimedia keyboard?

Thanks Mikey, but this is a standalone Bluetooth keyboard that I use on my desk and I switch between my laptop and my desktop. As I said in the above, there is a lock function but it unlocks after 3-5 minutes of activity, and having to repress this lock has proven to be a constant hassle. I just wan...
by roysubs
30 Mar 2023, 02:21
Forum: Ask for Help (v1)
Topic: How to map keys on multimedia keyboard?
Replies: 5
Views: 515

How to map keys on multimedia keyboard?

I have a Bluetooth keyboard that is great for switching between my laptop and PC. I like it a lot, but by default, it sets function keys to media keys, and I have to press the "Fn" key (which is between the right CTRL and ALT GR) and a LOCK button (that is to the right of F12). This switches the fun...

Go to advanced search