Search found 28 matches

by d_romeo
09 May 2024, 13:30
Forum: Ask for Help (v2)
Topic: Remap Win key when it's pressed alone Topic is solved
Replies: 7
Views: 489

Re: Remap Win key when it's pressed alone Topic is solved

I tried the scripts proposed in this discussion and they work, but they interfere with the touchpad. I remapped the three-finger touch on my touchpad to ctrl + r, but when the script is running, other combinations are sent. With: ih := InputHook() ih.KeyOpt('{All}', 'E') ih.KeyOpt("{LCtrl}{RCtrl}{LA...
by d_romeo
16 Apr 2024, 08:45
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14950

Re: AutoCorrect for v2

Here you have converted single words for multiple matching, I assumed you had an updated list of single words that you then convert to multiple matching.
by d_romeo
15 Apr 2024, 08:55
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14950

Re: AutoCorrect for v2

Is the word-by-word correction list available as an alternative, like in the old version v1?
by d_romeo
14 Apr 2024, 12:41
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14950

Re: AutoCorrect for v2

Is it possible to add words to an exclusion list to prevent them from being corrected? The script unfortunately interferes with other languages, for example: B0X*:beut:: f("beaut") interferes with "beuta" in Italian.
by d_romeo
04 Apr 2024, 12:11
Forum: Scripts and Functions (v1)
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 38
Views: 22437

Re: Compass - Measure angles and scale distances with your mouse

I tried to hide the cursor during Crosshair mode.

Code: Select all

^Alt::
!Ctrl::
    DllCall("ShowCursor", "int", false)
    Compass.Crosshair()
return
It works, but only when the mouse is still, as soon as it moves it becomes visible again, is there a way to completely hide it when pressed ^! ?
by d_romeo
08 Dec 2023, 12:47
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 553
Views: 121981

Re: UIAutomation with a focus on Chrome

I made some personal modifications to UIAViewer.ahk, in this version I added: - "Test Macro" button that runs the recorded macro - Macro creator is now the default window - press esc twice to exit the app: prevents exiting the gui if you press esc twice while recording - use only window class and ex...
by d_romeo
10 Nov 2023, 12:44
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14950

Re: AutoCorrect for v2

Thank you for sharing, I have also switched to V2. The function

Code: Select all

fix_consecutive_caps
doesn't seem to work for me, I try typing text like `AADfx` or `QQhs` but nothing happens. Windows 11 22H3 Italian, AutoHotKey V2.0.10.
by d_romeo
04 Apr 2023, 12:09
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 553
Views: 121981

Re: UIAutomation with a focus on Chrome

Ok, well, it's not a problem if you see for a while. What I'm looking for is a more refined method of calling specific commands from the menu, not using: Sleep, 300 Send, {AppsKey} Sleep, 20 WinSet, Transparent, 0, ahk_class #32768 Sleep, 20 Send, {Down 6} Sleep, 20 Send, {Enter} Sleep, 20 Send, {Ri...
by d_romeo
04 Apr 2023, 09:40
Forum: Scripts and Functions (v1)
Topic: UIAutomation with a focus on Chrome
Replies: 553
Views: 121981

Re: UIAutomation with a focus on Chrome

Is it possible with this library to call context menu functions? For example to add shortcut keys to the context menu of explorer or better still for some software, such as 7zip, and avoid doing "RButton>compress and send by email..." every time Maybe without necessarily opening the context menu if ...
by d_romeo
27 Feb 2023, 15:59
Forum: Ask for Help (v1)
Topic: Problem with hotstrings including "!" Topic is solved
Replies: 3
Views: 451

Re: Bug con hotstring che includono "!" Topic is solved

Thanks it worked.
gregster wrote:
05 Feb 2023, 12:50
PS: Please use topic names in English when posting in the general forums. Thank you!
Sorry, I forgot to translate it.
by d_romeo
05 Feb 2023, 11:38
Forum: Ask for Help (v1)
Topic: Problem with hotstrings including "!" Topic is solved
Replies: 3
Views: 451

Problem with hotstrings including "!" Topic is solved

The following two hotstrings :SE,K1:dnn::display: none!important; :SE,K1:!!!::!important produces this result: display: nonemportant; mportant I tried with both latest version ahk v1 and v2, both are not working properly. Tested on an empty script and with no other active scripts. [Mod action: Moved...
by d_romeo
29 Dec 2022, 08:33
Forum: Scripts and Functions (v2)
Topic: Autocorrect Anything update with v2
Replies: 1
Views: 1021

Re: Autocorrect Anything update with v2

it doesn't work for me, I tried with English words.
Windows 11
Edge stable.
by d_romeo
12 Mar 2022, 07:22
Forum: Ask for Help (v1)
Topic: Problem With Intelligent Auto Close Bracket
Replies: 7
Views: 745

Re: Problem With Intelligent Auto Close Bracket

I found the problem, in line 48:

Code: Select all

?! ```%
in:

Code: Select all

?!```%
The "space" between ! ` was causing the problem.
by d_romeo
12 Mar 2022, 06:37
Forum: Other Utilities & Resources
Topic: uncrustify for AutoHotKey
Replies: 1
Views: 1455

uncrustify for AutoHotKey

Hi, everyone, I wanted to "advertise" the ability to use https://github.com/uncrustify with AutoHotKey as well. Uncrustify is a very advanced text formatter and in continuous development for codes derived from C and Java, very rich in features and customizable, below I show as an example my .cfg fil...
by d_romeo
07 Mar 2022, 10:29
Forum: Ask for Help (v1)
Topic: How to exclude custom buttons on some browser pages. Topic is solved
Replies: 4
Views: 493

Re: How to exclude custom buttons on some browser pages. Topic is solved

Thank you, it works, but what if I want to add multiple windows? I tried adding a second name, separated by both comma, and || to no avail.
For PDF's I was thinking of looking for a script to get the URL of the web page, given ".pdf" seems to have no effect.
by d_romeo
06 Mar 2022, 09:59
Forum: Ask for Help (v1)
Topic: How to exclude custom buttons on some browser pages. Topic is solved
Replies: 4
Views: 493

How to exclude custom buttons on some browser pages. Topic is solved

Hi, I would like to exclude, or override, some hotkeys in some pages, especially in PDF pages or browser extensions, for example: #IfWinActive, ahk_exe msedge.exe ^f::^!l ^m::^f !up::^+u #IfWinActive I'd like to "reset" Ctrl+F when in pdf or CSS style editor, for which I tried SetTitleMatchMode, 2 #...
by d_romeo
05 Mar 2022, 11:27
Forum: Ask for Help (v1)
Topic: Problem With Intelligent Auto Close Bracket
Replies: 7
Views: 745

Re: Problem With Intelligent Auto Close Bracket

I'm surprised that you can run the script, because it generates an error message. Yes, if I start the script directly I get the error message, but the script still works even if not perfectly. I normally start the script with #Include, AutoBracket.ahk included in my main script. The error message r...
by d_romeo
04 Mar 2022, 18:13
Forum: Ask for Help (v1)
Topic: Problem With Intelligent Auto Close Bracket
Replies: 7
Views: 745

Problem With Intelligent Auto Close Bracket

Hi, I have been using the following script for closing automatic brackets for a while now: ;##################################################################### ; Close Bracket script ;##################################################################### ; This code inserts the close bracket automa...
by d_romeo
04 Mar 2022, 17:29
Forum: Ask for Help (v1)
Topic: Invert window colors Topic is solved
Replies: 19
Views: 2888

Re: Invert window colors Topic is solved

You mean you want to automatically invert a window, so it's always in dark mode?
I've included in my scripts a code that automatically inverts a window when it opens during night hours, even when closing and reopening, but it's a bit complicated. If that's what you're asking, I can help you.

Go to advanced search