Search found 179 matches

by oldbrother
06 Oct 2020, 12:03
Forum: Ask For Help
Topic: GuiControlGet Help
Replies: 4
Views: 64

Re: GuiControlGet Help

Thank you all!
by oldbrother
05 Oct 2020, 21:15
Forum: Ask For Help
Topic: GuiControlGet Help
Replies: 4
Views: 64

GuiControlGet Help

GuiControlGet help file states: GuiControlGet, OutputVar [, SubCommand, ControlID, Value] If the control is not on the default GUI, the name of the GUI must also be specified -- My question may look stupid: How to specify the controlID and the GUI name at the same time? For example to get the POS of...
by oldbrother
05 Oct 2020, 20:41
Forum: Ask For Help
Topic: Redraw problem
Replies: 6
Views: 218

Re: Redraw problem

Thank you! very cool, looks like the cross section of a four flute endmill, grinder toolpaths maybe? As someone who only uses endmills and doesn't create them that looks very intriguing You are right. The script is for end mill fluting simulation. It works fine. But my coding is a mess :cry: Snap1.p...
by oldbrother
04 Oct 2020, 12:30
Forum: Ask For Help
Topic: Redraw problem
Replies: 6
Views: 218

Re: Redraw problem

The problem is related with GDI. same as PhiLho described here: https://autohotkey.com/board/topic/11620-tips-drawing-on-autohotkey-gui-with-gdi32/ My code was written long time ago. I used GDI drawing code modified form a code similar to PhiLho's. WinGet,hGuiWnd,id, A hGuiWnd := WinExist() hGuiDC :...
by oldbrother
02 Oct 2020, 13:09
Forum: Ask For Help
Topic: Redraw problem
Replies: 6
Views: 218

Redraw problem

I'm using a PictureBox in my GUI. When other windows covers the GUI, something will happen as the pictures showing below.
I remember I saw some threads in the forum long time ago, but I cannot find them. It looks related with "Redraw". Can someone help? Please!

Snap2.jpg
Snap2.jpg (93.88 KiB) Viewed 218 times
Snap1.jpg
Snap1.jpg (172.97 KiB) Viewed 218 times
by oldbrother
21 Apr 2020, 12:27
Forum: Bug Reports
Topic: Possible Tab3 bug
Replies: 3
Views: 959

Re: Possible Tab3 bug

To nnnik: Tab2 doesn't have the problem. That's why I think It's a bug of Tab3. But you are also right. I tested the code on a Windows 10 machine, everything was fine. To Imstearn: As soon as I touch anything, the white box will disappear. For example scroll the text, or paste text to another Edit. ...
by oldbrother
19 Apr 2020, 20:23
Forum: Bug Reports
Topic: Possible Tab3 bug
Replies: 3
Views: 959

Possible Tab3 bug

I encounter a very strange problem with Tab3: A white box appears when I paste text to an Edit control. The position of the box is not always the same. It looks like a redraw problem. It disappears after changing Tab3 to Tab2 . It happens randomly. It seems also related with the text to paste. My Sy...
by oldbrother
18 Apr 2020, 13:33
Forum: Ask For Help
Topic: Regular Expression help, please.
Replies: 4
Views: 346

Re: Regular Expression help, please.

Thank you all! Have a great weekend! :thumbup:
by oldbrother
18 Apr 2020, 13:13
Forum: Ask For Help
Topic: Regular Expression help, please.
Replies: 4
Views: 346

Re: Regular Expression help, please.

Thank you AlphaBravo! It works perfectly!

What is the function of "K" in "x\K\d+"? I cannot find it from the help file.
by oldbrother
18 Apr 2020, 11:07
Forum: Ask For Help
Topic: Regular Expression help, please.
Replies: 4
Views: 346

Regular Expression help, please.

Can one line RegExReplace code do this job? How?

Add 10 to all numbers leading with "x" in the text:

Text: aa x1.2 bb x2.3 cc x45 ddd x1.2 ee x8
to: aa x11.2 bb x12.3 cc x55 ddd x11.2 ee x18

Thanks!
by oldbrother
03 Oct 2019, 11:11
Forum: AutoHotkey v2 Scripts and Functions
Topic: IE As The Gui
Replies: 1
Views: 11040

Re: IE As The Gui

Thank you so much for sharing!👍
by oldbrother
29 Sep 2019, 07:11
Forum: Scripts and Functions
Topic: Simple GDI-Printing library -- SGDIPrint
Replies: 12
Views: 1931

Simple GDI-Printing library -- SGDIPrint

I got this great library from the old forum long time ago, and used it in many of my scripts. I saw someone was looking for the way to print from AHK. I tried to find the old link for him, but it seemed lost. Therefore I decided to post it here. I think we should have a place or a way (a list?) in A...
by oldbrother
07 Sep 2019, 15:05
Forum: Ask For Help
Topic: BlockInput is not working.
Replies: 1
Views: 490

BlockInput is not working.

How come BlockInput doesn't work in my script? See the code below. I want to stop the mouse and keyboard for 10 seconds, but the code doesn't work. Did I do something wrong, or it's a bug?

Windows 10 Professional 64Bit, AHK 1.1.30.03

Code: Select all

BlockInput, on
Sleep 10000
BlockInput, Off
Thanks!
by oldbrother
07 Sep 2019, 08:48
Forum: Editors
Topic: CherryTree as Snippet Keeper
Replies: 13
Views: 7587

Re: CherryTree as Snippet Keeper

It's very good. I am also using it as a regular note book.
Actually, I think it's the best!
by oldbrother
31 Aug 2019, 22:41
Forum: Editors
Topic: CherryTree as Snippet Keeper
Replies: 13
Views: 7587

Re: CherryTree as Snippet Keeper

I roughly created a syntax highlighting file by modifying c.lang.
It works for me.
Extract AutoHotkey.lang to folder CherryTree\share\gtksourceview-2.0\language-specs.
AutoHoykey.zip
(6.6 KiB) Downloaded 127 times
by oldbrother
17 Jul 2019, 10:50
Forum: AHK Studio
Topic: pls ask for saving
Replies: 1
Views: 3126

Re: pls ask for saving

+1
Please ask before save!
by oldbrother
14 Jul 2019, 07:24
Forum: AHK Studio
Topic: Is AHK Studio dead?
Replies: 1
Views: 3722

Is AHK Studio dead?

I started using AHK Studio recently, and feel it's really good. However, I found some bugs like "'Disable Autosave' not working", and then noticed someone has reported this bug and some other bugs few months ago, but none of them were fixed. (https://www.bountysource.com/teams/ahk-studio/issues). I ...
by oldbrother
12 Jul 2019, 07:45
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 156
Views: 60804

Re: AutoGUI 2.5

I just noticed it's not he search bar, it's the edit area (control) moved:
Snap1.jpg
Snap1.jpg (25.23 KiB) Viewed 5792 times
by oldbrother
10 Jul 2019, 18:03
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 156
Views: 60804

Re: AutoGUI 2.5

Thank you for the great job!

I'm using Surface Book, the screen resolution is 3000X2000, screen scale 225%.

The icon sizes are too small. the search bar position is shifted, see the screen shot below, can you fix it? Thanks a lot!
Snap1.jpg
Snap1.jpg (60.93 KiB) Viewed 5838 times
by oldbrother
08 Jul 2019, 07:29
Forum: Ask For Help
Topic: Custom AutoCompletion for edit control
Replies: 4
Views: 783

Re: Custom AutoCompletion for edit control

It works perfectly! Thank you so much just me!

Go to advanced search