Search found 753 matches

by Hellbent
Yesterday, 02:53
Forum: Ask For Help
Topic: Variable value for object method binding syntax help. Topic is solved
Replies: 3
Views: 134

Re: Variable value for object method binding syntax help. Topic is solved

Fixed.

Had a typo in the _Bind Method call :oops:

Code: Select all

This._Bind( SomeHwnd , "Some Method" )
by Hellbent
Yesterday, 02:33
Forum: Ask For Help
Topic: Variable value for object method binding syntax help. Topic is solved
Replies: 3
Views: 134

Re: Variable value for object method binding syntax help. Topic is solved

_Bind( hwnd , Method ){ local bnd := This[Method].Bind(This, args.....) ; or local bnd := ObjBindMethod(This, Method, args......) } Thanks, Unfortunately neither work. I would say that you might need my full script except for the fact that if I don't use a variable it works fine (as is the case her...
by Hellbent
Yesterday, 01:23
Forum: Ask For Help
Topic: Variable value for object method binding syntax help. Topic is solved
Replies: 3
Views: 134

Variable value for object method binding syntax help. Topic is solved

What would be the correct syntax for something like this be? class NoName { __New(){ This._Bind( somehwnd , "SomeMethod" ) } _Bind( hwnd , Method ){ ;~ local bnd := This[Method].Bind(This) ;<------------------------------ Nope ;~ local bnd := This[%Method%].Bind(This) ;<-----------------------------...
by Hellbent
04 Dec 2019, 23:47
Forum: About This Community
Topic: Nuisance BAN
Replies: 20
Views: 1059

Re: Nuisance BAN

nuisance ban? so that's a thing now :facepalm: if its one of those ip permabans that also ban u from cloudflare, the online docs and download hubs, then double :facepalm: :facepalm: if its a two week to 30d temp account ban, then whatever, guess he can take a chill pill for the time being but no ma...
by Hellbent
04 Dec 2019, 01:16
Forum: Ask For Help
Topic: Move mouse back to saved horizontal x axis position only Topic is solved
Replies: 3
Views: 197

Re: Move mouse back to saved horizontal y axis position only Topic is solved

Like this.

Code: Select all

NumPad1::
	Saved_Y_Position := 150
	MouseGetPos, Current_X_Position
	MouseMove, Current_X_Position , Saved_Y_Position
	return
by Hellbent
30 Nov 2019, 17:59
Forum: Ask For Help
Topic: Is it possible to make this kind of Gui
Replies: 14
Views: 2922

Re: Is it possible to make this kind of Gui

Wow, thanks! I'll try to use this to create a custom ListView. Have you done anything with it yet? I've never actually used the default listview control yet so I thought it would be fun to try to create a custom one :crazy: . This is the first draft of what I came up with. there is enough now to mo...
by Hellbent
29 Nov 2019, 19:10
Forum: Ask For Help
Topic: Operators: what is ^= Topic is solved
Replies: 5
Views: 224

Re: Operators: what is ^= Topic is solved

It is an operator used to add using Exclusive-OR

here is a simple example.

Code: Select all


x := 8  ; binary 00001000
y := 7  ; binary 00000111

Msgbox, % x ^= y  ; binary 00001111  ; Decimal 15  


x := 3  ; binary 00000011
y := 1  ; binary 00000001

Msgbox, % x ^= y  ; binary 00000010  ; Decimal 2
by Hellbent
28 Nov 2019, 15:21
Forum: Ask For Help
Topic: How to make a Gui switch like this one?
Replies: 2
Views: 232

Re: How to make a Gui switch like this one?

. ***NOTE*** This requires the use of the GDIP Library. The switch was made using my bitmap maker script. https://www.autohotkey.com/boards/viewtopic.php?f=6&t=62550 It was then written into a class and used to create and control multiple switches. Early Prototype switch class ;%%%%%%%%%%%%%%%%%%%%%...
by Hellbent
25 Nov 2019, 13:23
Forum: Ask For Help
Topic: Prompt Action that allows for entering in multi-line data? Topic is solved
Replies: 4
Views: 133

Re: Prompt Action that allows for entering in multi-line data? Topic is solved

You can use the clipboard.

Code: Select all


Numpad1::
	VariableName := Clipboard
	return
by Hellbent
25 Nov 2019, 13:17
Forum: Ask For Help
Topic: Need help to press a color in specific section.
Replies: 1
Views: 44

Re: Need help to press a color in specific section.

You can try writing your own script using pixel search.
https://www.autohotkey.com/docs/commands/PixelSearch.htm



Or you can try a premade multi purpose pixel search script.
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=60949
by Hellbent
24 Nov 2019, 22:49
Forum: Ask For Help
Topic: Convert >19 digit number to string Topic is solved
Replies: 3
Views: 153

Re: Convert >19 digit number to string Topic is solved

I had a similar problem awhile ago with the Gui Hotkey control when changing from Shift + a number e.g. Shift + 1 and just the number 1

Same solution.
by Hellbent
24 Nov 2019, 22:18
Forum: Ask For Help
Topic: How to swap two windows? Not resize, only position
Replies: 6
Views: 232

Re: How to swap two windows? Not resize, only position

teadrinker wrote:
24 Nov 2019, 22:07

Code: Select all

WinGet, list
Much nicer than my playing peak-a-boo with one of the windows to get the two handles lol.

Thanks for sharing.
by Hellbent
24 Nov 2019, 21:28
Forum: Ask For Help
Topic: How to swap two windows? Not resize, only position
Replies: 6
Views: 232

Re: How to swap two windows? Not resize, only position

Here is a simple example. #SingleInstance,Force ;Swap positions between two instances of notepad Numpad1:: SwapPositions(){ static ft,hwnd1,hwnd2 if(!ft){ ft:=1 hwnd1 := WinExist("ahk_class Notepad") WinHide,% "ahk_ID " hwnd1 hwnd2 := WinExist("ahk_class Notepad") WinShow,% "ahk_ID " hwnd1 } WingetP...
by Hellbent
17 Nov 2019, 18:18
Forum: Ask For Help
Topic: Is it possible to make this kind of Gui
Replies: 14
Views: 2922

Re: Is it possible to make this kind of Gui

Any idea how to also simulate the slider movement when the mouse is pressed above or below the handle (like with the real slider)? Is this what you're talking about? #SingleInstance,Force global Active:=0 Interval := 5, ButtonValue := 0 Gui New, +LastFound +AlwaysOnTop -Caption Gui Color, Black Gui...
by Hellbent
16 Nov 2019, 17:14
Forum: Ask For Help
Topic: How to make a Gui like this one?
Replies: 4
Views: 1731

Re: How to make a Gui like this one?

Hope this helps. #SingleInstance,Force Gui,1:+AlwaysOnTop -Caption +LastFound -DPIScale -Theme Gui,1:Color,123456 WinSet,TransColor,123456 Gui,1:Font,s10 Bold ,Segoe UI Gui,1:Add,Text,x100 y10 w150 h40 gMoveWindow, Gui,1:Add,Progress,x100 y10 w150 h40 Background000000 c006699,100 Gui,1:Add,Text,x100...
by Hellbent
16 Nov 2019, 15:08
Forum: Ask For Help
Topic: Is it possible to make this kind of Gui
Replies: 14
Views: 2922

Re: Is it possible to make this kind of Gui

Here is a functional slider. #SingleInstance,Force global Active := 0 Gui New, +LastFound +AlwaysOnTop -Caption ;-DPIScale Gui Color, Black Gui Add, Progress, x27 y20 w11 h79 Background0x6B696A cDDAE00 Range0-68 Vertical hwndSliderBackground,0 Gui Add, Progress, hwndSliderHandle x27 y88 w11 h11 c0xF...
by Hellbent
14 Nov 2019, 09:13
Forum: Ask For Help
Topic: help me display overlay text when pixel is found
Replies: 1
Views: 110

Re: help me display overlay text when pixel is found

This is one of the simpler ways of doing it #SingleInstance,Force return GuiClose: GuiContextMenu: *ESC:: ExitApp NumPad1:: Show_Text() Sleep,2000 Gui,1:Destroy return Show_Text(){ Gui,1:New,+AlwaysOnTop -Caption +LastFound -DPIScale +ToolWindow Gui,1:Color,123456 WinSet,TransColor,123456 Gui,1:Font...
by Hellbent
14 Nov 2019, 07:08
Forum: Ask For Help
Topic: Checkbox Help
Replies: 3
Views: 148

Re: Checkbox Help

There is a series on youtube that teaches how to use ahk gui's.
It could use a update, but it should (Will) give you a huge boost in your knowledge of working with ahk gui's.

https://www.youtube.com/playlist?list=PLPI5C2_hIGGyLfU-dyL_dPO4yy8y7m7US
by Hellbent
14 Nov 2019, 05:15
Forum: Ask For Help
Topic: Send and Record Mouse click with position.
Replies: 3
Views: 214

Re: Send and Record Mouse click with position.

Someone might be along shortly to provide an example for you.
In the meantime you can check out this tutorial that covers this exact topic.

After the little demo at the beginning you can skip to 4:50

https://www.youtube.com/watch?v=owXY9fqu6WQ
by Hellbent
13 Nov 2019, 21:50
Forum: Scripts and Functions
Topic: Image2Include - #include images in your scripts
Replies: 10
Views: 1871

Re: Image2Include - #include images in your scripts

Awesome stuff. I had come to the assumption that this type of image converting was only suitable for small images almost a year ago. In the long run I'm glad that I had that false assumption because it was one of the driving forces that made me create my bitmap maker which is better suited for creat...

Go to advanced search