Search found 51 matches

by RUBn
04 Mar 2024, 08:40
Forum: Ask for Help (v2)
Topic: How to catch right click on a gui anywhere including its controls?
Replies: 6
Views: 234

Re: How to catch right click on a gui anywhere including its controls?

Could be the solution, but I have undetermined amount of gui's. Not sure how to solve that with this solution, You could add the HWND to an array for each GUI created, then the function would check against the whole list of HWNDs in the array and return true if the mouse is over any of them. Thanks...
by RUBn
28 Feb 2024, 08:46
Forum: Ask for Help (v2)
Topic: How to catch right click on a gui anywhere including its controls?
Replies: 6
Views: 234

Re: How to catch right click on a gui anywhere including its controls?

Or you can use OnMessage() :.... Thanks, but unfortunately it still triggers the context menu of the edit controls. I wonder how one could disable them. Or I''ll try the other answer here first maybe. You can set a hotkey for the right mouse button that is only active when over the GUI: MyGui := Gu...
by RUBn
12 Feb 2024, 07:55
Forum: Ask for Help (v2)
Topic: How to catch right click on a gui anywhere including its controls?
Replies: 6
Views: 234

How to catch right click on a gui anywhere including its controls?

I need to destroy a gui (window) whenever the user right clicks anywhere on the window, including on the controls it contains. So far I use g.OnEvent("ContextMenu", Clack, -1) but the right clicks from my edits don't come through, although from pictures it do. In the edit the contextmenu pops up eve...
by RUBn
13 Nov 2023, 04:48
Forum: Tips and Tricks
Topic: Multiple distinct RegExMatch matches for v2
Replies: 1
Views: 634

Multiple distinct RegExMatch matches for v2

I didn't find the answer on this forum for storing multiple regex matches in v2 with short, most efficient code which I did find in v1, so I thought I put it here since I found the solution. It happens also to be distinct. My main quest was for these 2 lines: p := 1, m := {Len:0} while p := RegExMat...
by RUBn
09 Nov 2023, 04:08
Forum: Ask for Help (v2)
Topic: Autmatically show or hide scroll bars
Replies: 3
Views: 450

Re: Autmatically show or hide scroll bars

...right click options, events and window. search scroll bar Could you be a bit more specific? I searched for scroll bar and gives me too many results which would make me reverse engineer the code. Does this github code include a self made a custom scrollbar or a listener that shows/hides the basic...
by RUBn
09 Nov 2023, 04:01
Forum: Wish List
Topic: FR: Exclude assigned variables, referenced variables and parameters in global/local variable warning
Replies: 1
Views: 730

FR: Exclude assigned variables, referenced variables and parameters in global/local variable warning

This is a feature request around evading global variables and local variables, but when it's not necessary to warn about possible confusion as stated in the doc. So OK, the doc.says Global Variables : However, if a variable is used in an assignment or with the reference operator (&), it is automatic...
by RUBn
08 Nov 2023, 04:37
Forum: Ask for Help (v2)
Topic: Autmatically show or hide scroll bars
Replies: 3
Views: 450

Autmatically show or hide scroll bars

I've been searching in the docs, via google and on this forum, but strangely enough I don't find the answer. So, is it possible to make a GUI Control -edit in my case- to automatically hide and show the (vertical) scroll bar when there is less, respectively more text than can be shown into the box? ...
by RUBn
01 Nov 2023, 06:53
Forum: Scripts and Functions (v2)
Topic: myTrayTip() - custom TrayTip - _ - collaborate?
Replies: 12
Views: 2924

Re: myTrayTip() - custom TrayTip - _ - collaborate?

Script updated in first post. All traytips same width, text wraps (word- ánd letter-wrapping) Added round corners (Tx Emmanuel) Different sound options (anything SoundPlay can) Rewrote update loop against unsafe array operations and other improvements More icon options (default, index, file, same as...
by RUBn
25 Oct 2023, 10:00
Forum: Scripts and Functions (v2)
Topic: myTrayTip() - custom TrayTip - _ - collaborate?
Replies: 12
Views: 2924

Re: myTrayTip() - custom TrayTip - _ - collaborate?

Did you do it again? Or partly? No i just continued with what i have. not going to start over :cry: Real pitty. But OK,we will have two versions now, with extra work for me. :cry: Pitty this forum can't work like github: Forked versions and pulled in features.. Thanks, but now Range0-" S_W) ; Set t...
by RUBn
21 Oct 2023, 04:15
Forum: Scripts and Functions (v2)
Topic: myTrayTip() - custom TrayTip - _ - collaborate?
Replies: 12
Views: 2924

Re: myTrayTip() - custom TrayTip - _ - collaborate?

I haven't updated yet this time. First I'd like to finish the things below. [*]Any reason why you didn't use the last version in OP? I put some things back. Could you comment if there was a reason for not using those things? I'll adjust if so. hehe no :roll: Did you do it again? Or partly? Some thi...
by RUBn
20 Oct 2023, 12:13
Forum: Scripts and Functions (v2)
Topic: myTrayTip() - custom TrayTip - _ - collaborate?
Replies: 12
Views: 2924

Re: myTrayTip() - custom TrayTip - _ - collaborate?

Single function, and fixed it for dpiscaling Thanks. I was hesitant to try that one function possibility. Appears to be very simple in the end. Also noticed that it takes focus from the active window. Fixed: I updated the script in the OP. Some remarks: Any reason why you didn't use the last versio...
by RUBn
13 Oct 2023, 13:23
Forum: Ask for Help (v2)
Topic: Window on top off fullscreen, can we do it like steam or overwolf Topic is solved
Replies: 1
Views: 245

Window on top off fullscreen, can we do it like steam or overwolf Topic is solved

So I know it's "not possible" to put a window on top of a real fullscreen app or game. But how does Overwolf or Steam do it? Programming DirectX or OpenGL? Taking control as launcher? (afterwards for Overwolf must be then) Anyway, my real question is: Is there any way we can do it nonetheless in Aut...
by RUBn
09 Oct 2023, 04:36
Forum: Scripts and Functions (v1)
Topic: Simple alarm (e-motiv)
Replies: 3
Views: 1957

Re: Simple alarm (e-motiv)

Any way you want. E.g.:

Code: Select all

#Include "alarm.ahk"
tray.add("Alarm", Alarm)
#t::Alarm()
If you use the old script, maybe it does that because of some v1 autohotkey update. I had this problem too during migration to v2 and fixed it. I don't know for v1 and not putting any more effort into it. Sorry.
by RUBn
02 Oct 2023, 10:22
Forum: Notepad++
Topic: Notepad++ Syntax Highlight, AutoComplete - AHK v1 & v2 - 2023/10/05
Replies: 41
Views: 39685

Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30

TheArkive wrote:
01 Oct 2023, 22:40
OP = original post, first post in this thread
Dow! Of course! I was thinking something in N++. Anyway, it works now! Thanks for the update!
by RUBn
01 Oct 2023, 04:47
Forum: Scripts and Functions (v2)
Topic: Simple alarm / reminder
Replies: 2
Views: 619

Re: Simple alarm / reminder

Somehow it disappeared during a few previews and in-between attachments, spoilers, etc. Thanks for the notif.
by RUBn
01 Oct 2023, 04:28
Forum: Scripts and Functions (v2)
Topic: myTrayTip() - custom TrayTip - _ - collaborate?
Replies: 12
Views: 2924

Re: myTrayTip() - custom TrayTip - _ - collaborate?

Nice idea, I made the todos Thanks. I changed it a bit because the repeating Show() made everything flicker on my end. So I showed at start and moved later. The ones out of the screen are still shown but we don't see them until moved. I don't think there is a problem with that. Updated in top post.
by RUBn
01 Oct 2023, 03:50
Forum: Scripts and Functions (v2)
Topic: Simple alarm / reminder
Replies: 2
Views: 619

Simple alarm / reminder

Alarm combined.png Features "In x time" or "At time x" Keeps alarm in memory even after pc shutdown, script reload/error, etc. Keeps previous alarm text if you want a repeating reminder Updates remaining time if called again Set it to Sleep, Hibernate, ShutDown or actually stay awake during that ti...
by RUBn
01 Oct 2023, 03:28
Forum: Notepad++
Topic: Notepad++ Syntax Highlight, AutoComplete - AHK v1 & v2 - 2023/10/05
Replies: 41
Views: 39685

Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30

TheArkive wrote:
30 Sep 2023, 10:32
I guess it's time for an update. Mine currently doesn't do that.
You got a newer developer version where it might be fixed or you think it's something on my side?

Go to advanced search