Search found 2109 matches

by Hellbent
19 Dec 2023, 15:38
Forum: Gaming Help (v1)
Topic: Click Speed/delay/sleep Topic is solved
Replies: 42
Views: 11611

Re: Click Speed/delay/sleep Topic is solved

can we somehow add variation to the color it search for? Main.Panels[ 1 ].SearchColor := "ff6eff" I have tried Main.Panels[ 1 ].SearchColor := "ff6eff" ColorVariation := 20 and Main.Panels[ 1 ].SearchColor := "ff6eff" Tolerance := 20 but nothing seems to work? I ended up having to put off writing t...
by Hellbent
02 Dec 2023, 00:07
Forum: Ask for Help (v1)
Topic: Gui Listview questions Topic is solved
Replies: 4
Views: 486

Re: Gui Listview questions Topic is solved

Thank you just me . I am currently toggling a variable so that the listview subroutine calls get ignored while changes are being made to the listview, do you know of a more efficient method of doing it? Set_SelectedWindowElement(){ local project := This.SelectedProject local window := This.Projects[...
by Hellbent
29 Nov 2023, 02:07
Forum: Ask for Help (v1)
Topic: Gui Listview questions Topic is solved
Replies: 4
Views: 486

Gui Listview questions Topic is solved

Hi, I have a questions related to the listview gui control. What is the syntax to specify a particular window and listview control? For example, how would I use the F1 hotkey to make changes to the 3rd listview on Gui2 in the code below? Loop, 5 { Gui, New, % "+hwndGui" A_Index Loop, 5 { Gui, Add, L...
by Hellbent
19 Nov 2023, 06:19
Forum: Ask for Help (v1)
Topic: Toggle Gui Listbox Multi-Select Topic is solved
Replies: 2
Views: 250

Toggle Gui Listbox Multi-Select Topic is solved

Does anyone know of a way to turn on and off the "Multi" option for listbox controls? I have a functioning workaround but it would be nice to be able to just turn it on and off. I would like for the second listbox ( bottom one ) in this example to be able to toggle multi select. #SingleInstance Forc...
by Hellbent
11 Nov 2023, 19:29
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 247822

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

@Hellbent fantastic work as always!!! i was working on a basic gui using your controls to make it easier for people to make guis. but using your functions/controls. but now i need to revamp and try to use this in the gui. also i somehow over time lose the ability to show button pressed . well its a...
by Hellbent
01 Nov 2023, 15:33
Forum: Ask for Help (v1)
Topic: Drag and Drop folders to a pop up gui Topic is solved
Replies: 6
Views: 722

Re: Drag and Drop folders to a pop up gui Topic is solved

Give this a try. #SingleInstance Force Gui1 := {} ;create a structure to hold the variables associated with the window. (henceforth: "Object") Gui, New, +AlwaysOnTop +hwndhwnd ;create your new window Gui1.Hwnd := hwnd ;add the handle of the window to the window object. ;add other controls ;blah blah...
by Hellbent
31 Oct 2023, 14:04
Forum: Ask for Help (v1)
Topic: Drag and Drop folders to a pop up gui Topic is solved
Replies: 6
Views: 722

Re: Drag and Drop folders to a pop up gui Topic is solved

Did you run the code on it's own (no other code)? If you are using a named gui (other than "1") you will need to edit the name of the label. If for example you name your gui "Settings" you will need to change the "DropFiles" label to SettingsGuiDropFiles Try this. Gui, Show, w600 h300 return *ESC::E...
by Hellbent
29 Oct 2023, 22:42
Forum: Ask for Help (v1)
Topic: Msgbox always shown in CENTER of parent GUI window
Replies: 23
Views: 2088

Re: Msgbox always shown in CENTER of parent GUI window

@teadrinker That's really nice. Thanks for sharing it.
:bravo:
by Hellbent
29 Oct 2023, 19:06
Forum: Ask for Help (v1)
Topic: Drag and Drop folders to a pop up gui Topic is solved
Replies: 6
Views: 722

Re: Drag and Drop folders to a pop up gui Topic is solved

check this out. F.Y.I. The ListBox control is just for demo purposes. . drag and drop 1.gif . Gui, Show, w600 h300 return *ESC::ExitApp GuiDropFiles: arr := StrSplit( A_GuiEvent, "`n" ) outString := "" for k , v in arr outString .= v "|" Gui, Add, ListBox, xm ym w580 h280 , % outString return
by Hellbent
29 Oct 2023, 18:51
Forum: Ask for Help (v1)
Topic: Msgbox always shown in CENTER of parent GUI window
Replies: 23
Views: 2088

Re: Msgbox always shown in CENTER of parent GUI window

Thank you very very much!!! I like very much the last idea - to create your own custom msgbox and have full control of *everything. I try to add (an additional button that is OK button and CANCEL button) which in normal msgbox it is given by: MsgBox 0x1, , But i can not figure how can i add it in y...
by Hellbent
29 Oct 2023, 18:07
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 247822

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

@Hellbent wow, that's super neat! thanks for sharing. :+1: I'm glad you liked it. Here is an example of triggering the scaling using the +Resize gui option and the GuiSize label ***Note*** I only bothered to calculate the new scale based on the new width ( the height is ignored ). I also fixed the ...
by Hellbent
29 Oct 2023, 01:07
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 247822

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Simple Gui Scaling . Gui scaling.gif . This shows an easy method of gaining control over the size of the window ( Scale ) ***Note*** DropDownLists / Comboboxes / etc. require using the "Rows" parameter in the CreateControl() function It uses an approx. size for rows, some tweaking to this value ( c...
by Hellbent
28 Oct 2023, 16:24
Forum: Ask for Help (v1)
Topic: Sending and receiving a broadcast message. Topic is solved
Replies: 2
Views: 491

Re: Sending and receiving a broadcast message. Topic is solved

https://www.autohotkey.com/docs/v1/lib/OnMessage.htm#ExCustom Thanks mikeyww. In my case though I needed something that would allow any script that is set to "listen" to be able to get the values. This is what I have found that does the trick (so far). ;Script 1 ;################# #SingleInstance F...
by Hellbent
28 Oct 2023, 15:36
Forum: Ask for Help (v1)
Topic: GUI window enable/disable Resize Option and Top Bar
Replies: 16
Views: 1827

Re: GUI window enable/disable Resize Option and Top Bar

Not exactly what i need, because the resize with the mouse is difficult The way I showed is just one method of doing it, another method is to use a control or general rectangle to trigger resizing. . https://www.autohotkey.com/boards/download/file.php?id=15668 . . resize.gif . - actually it can not...
by Hellbent
27 Oct 2023, 15:19
Forum: Ask for Help (v1)
Topic: Msgbox always shown in CENTER of parent GUI window
Replies: 23
Views: 2088

Re: Msgbox always shown in CENTER of parent GUI window

You can also just create your own custom msgbox and have full control of *everything. . custom msgbox 1.gif . Example Function Adding more buttons is easy. ;|<<<---(0)_(0)--->>>||<<<---(0)_(0)--->>>||<<<---(0)_(0)--->>>|;|<<<---(0)_(0)--->>>||<<<---(0)_(0)--->>>||<<<---(0)_(0)--->>>| ;text := "Blah ...
by Hellbent
27 Oct 2023, 15:04
Forum: Ask for Help (v1)
Topic: GUI window enable/disable Resize Option and Top Bar
Replies: 16
Views: 1827

Re: GUI window enable/disable Resize Option and Top Bar

Thank you very much. But, please note that the EDITBOX is NOT resizable in your example. BUT, in the initial question (see the initial code, please), the EDITBOX is resizable . Any way please to retain EDITBOX is resizable ? You never mentioned resizing the edit or any of the other controls. Your q...
by Hellbent
26 Oct 2023, 15:53
Forum: Ask for Help (v1)
Topic: Msgbox always shown in CENTER of parent GUI window
Replies: 23
Views: 2088

Re: Msgbox always shown in CENTER of parent GUI window

Thank you very much. Please let me further ask: (1) How can we use MsgBox() with the center coordinates of parent GUI ? (2) Is there any more simple solution? Like something the following : ??? Gui +Owndialogs +GUIcenter msgbox, Hello His code can be simplified a bit. This has centering added. #Sin...
by Hellbent
25 Oct 2023, 22:11
Forum: Ask for Help (v1)
Topic: GUI window enable/disable Resize Option and Top Bar
Replies: 16
Views: 1827

Re: GUI window enable/disable Resize Option and Top Bar

Thank you very much. Here is the first example written with the gui class. . custom resize 3.gif . #SingleInstance, Force SetBatchLines, -1 MyText = ( F2 -> Removes the Menu bar of the GUI F3 -> Bring back the Menu bar of the GUI F4 -> Makes the GUI window not resizable F5 -> Makes the GUI window r...

Go to advanced search