Search found 314 matches

by Spitzi
Yesterday, 16:31
Forum: Scripts and Functions (v2)
Topic: GuiCtrlTips - Add tooltips to your Gui.Controls (2023-05-28)
Replies: 34
Views: 4972

Re: GuiCtrlTips - Add tooltips to your Gui.Controls (2023-05-28)

Hi @just me.

Is it possible to change the offset where the tooltip appears? I would like it to appear 100pixels to the right of the mouse cursor. Is that possible?

Greets Simon
by Spitzi
15 Apr 2024, 15:44
Forum: Ask for Help (v2)
Topic: How to change where a window will apear
Replies: 15
Views: 442

Re: How to change where a window will apear

Seven0528 . Thanks for the input, but a workaround like this is not doable in my case. When the window pops up, the user is usually doing stuff in another and might be dragging stuff around. I can't overlay something... It would be nice, actually, if i could control where the window appears AND pre...
by Spitzi
15 Apr 2024, 05:11
Forum: Ask for Help (v2)
Topic: How to change where a window will apear
Replies: 15
Views: 442

Re: How to change where a window will apear

Hi xMaxrayx . I use Autohotkey because it is opensource and has this incredible forum and discord channels. But by far the most important reason is that it can be used standalone/portable on any computer where you do not have administator privileges and you can't install any software without going t...
by Spitzi
15 Apr 2024, 03:14
Forum: Ask for Help (v2)
Topic: How to change where a window will apear
Replies: 15
Views: 442

Re: How to change where a window will apear

Descolada , iPhilip , kunkel321 , mikeyww Thanks for your input. I tried your suggestions, but still a flicker of the appearing window in the original spot remains... maybe because the window does not contain much and is ready very quickly... I really appreciate your suggestions though. Thanks alot.
by Spitzi
14 Apr 2024, 01:25
Forum: Ask for Help (v2)
Topic: How to change where a window will apear
Replies: 15
Views: 442

How to change where a window will apear

Hi there. I am trying to automate a software, and I would like to change the location where windows of that software appear - before they appear. I have the following code, but it only moves the window AFTER it has appeared, which is annoying to the users, because the window is visible for a split s...
by Spitzi
27 Mar 2024, 03:56
Forum: Scripts and Functions (v2)
Topic: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13
Replies: 14
Views: 2135

Re: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13

@just me Hmm, not so easy (for me)... I see your SetSubItemImage function, but how would I be able to load a picture in it? and set it's height?
by Spitzi
27 Mar 2024, 03:46
Forum: Scripts and Functions (v2)
Topic: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13
Replies: 14
Views: 2135

Re: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13

@just me Thanks for your quick reply. Good idea, i'll try that
by Spitzi
27 Mar 2024, 03:04
Forum: Scripts and Functions (v2)
Topic: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13
Replies: 14
Views: 2135

Re: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13

Hi @just me.

Is it possible, with ListView, to show items that span multiple lines? What I mean is: if the value of a cell is a String with newline characters, can I have the LV expand the cell downwards to show the whole string?

Thanks Spitzi
by Spitzi
23 Mar 2024, 09:42
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 53
Views: 3713

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Hi Descolada Does the winTitle parameter only support the windows title but not the hwnd? It seems like it: WinEvent.Active(UpdateDisplayedData, "Hanging-Manager") WinEvent.Active(UpdateDisplayedData2, HM_Gui.Hwnd) UpdateDisplayedData(*) { ToolTip("Activated1", 10,10) } UpdateDisplayedData2(*) { Too...
by Spitzi
20 Mar 2024, 16:37
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 53
Views: 3713

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada This is great!! Very intuitive usage!! Love it.
by Spitzi
20 Mar 2024, 03:48
Forum: Ask for Help (v2)
Topic: "Window becomes active" event Topic is solved
Replies: 2
Views: 84

Re: "Window becomes active" event Topic is solved

@boiler. Thank you for pointing that out to me. Exactly what I needed and so much more.
by Spitzi
20 Mar 2024, 02:55
Forum: Ask for Help (v2)
Topic: "Window becomes active" event Topic is solved
Replies: 2
Views: 84

"Window becomes active" event Topic is solved

My solution so far is with a Timer: SetTimer(CheckActiveState, 500) CheckActiveState() { static wasActive := false if WinActive("Hanging-Manager") { if !wasActive { ToolTip("Activated") wasActive := true } } else { if wasActive { ToolTip("Deactivated") wasActive := false } } } Is there an easyer way...
by Spitzi
18 Mar 2024, 11:34
Forum: Scripts and Functions (v2)
Topic: Edit Control With Syntax Highlighting based on RichEdit control
Replies: 4
Views: 562

Re: Edit Control With Syntax Highlighting based on RichEdit control

One more thing geek : When a gui containing a richCode control is destroyed, it seems like the Messages don't unregister propertly , and when the next key or rightMouseButton is pressed, this code part throws an error if (hWnd != this._control.hWnd) return I really didn't know how to fix this proper...
by Spitzi
18 Mar 2024, 08:41
Forum: Scripts and Functions (v2)
Topic: Edit Control With Syntax Highlighting based on RichEdit control
Replies: 4
Views: 562

Re: Edit Control With Syntax Highlighting based on RichEdit control

geek Love your RichCode!! I succeded at getting the context menu to work (see first post). But now I am stuck: I would like to register an event to the richtext control, e.g. "Change", like this anEditorGui.Add("Text", "y+40 vscriptText" , "A script:") rc := RichCode(anEditorGui, RC_Settings, "xm y...
by Spitzi
15 Mar 2024, 12:53
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 382
Views: 56827

Re: UIA v2

Descolada This is probalby easy for you: I have an application with a qt-container with image elements in it. When scrolling up/down while holding down the alt-key, these elements increase or decrease in size. I would like to automate that, but it does not work. Here's what I used: tokenContainerEl...
by Spitzi
14 Mar 2024, 03:31
Forum: Scripts and Functions (v1)
Topic: [CLASS] CtlColors - color your controls (2017-10-30)
Replies: 67
Views: 38370

Re: [CLASS] CtlColors - color your controls (2017-10-30)

Hi @just me.

Did you ever update the code to AHK2?

Greets Spitzi
by Spitzi
14 Mar 2024, 03:22
Forum: Ask for Help (v2)
Topic: Coloring of a Groupbox border
Replies: 0
Views: 100

Coloring of a Groupbox border

Hi there.

Is there an easy way to change the color of the border of a groupbox control?
I can change the color of the box text, but not the border itself.

Thanks in advance Spitzi
by Spitzi
14 Mar 2024, 02:59
Forum: Ask for Help (v2)
Topic: easy way to layout group contols in a groupbox
Replies: 5
Views: 213

Re: easy way to layout group contols in a groupbox

Thank you Noitalommi_2 and mikeyww . Both approaches work quite nicely In the end I went with the GetPos-Solution and created a function to calculate the bounding rect around some controls. Maybe it helps out somebody else: ; determines the bounding rectangle of controls on a gui ; - aGui: the gui w...
by Spitzi
09 Mar 2024, 03:10
Forum: Ask for Help (v2)
Topic: easy way to layout group contols in a groupbox
Replies: 5
Views: 213

easy way to layout group contols in a groupbox

Hi there.

When creating a gui, Is there an easy way to have groupbox adapt it's size to the controls that are in it?

Go to advanced search