Search found 32 matches

by Hotte
10 Mar 2021, 14:41
Forum: Scripts and Functions (v1)
Topic: Identify control by label, text, position or other controls
Replies: 0
Views: 537

Identify control by label, text, position or other controls

Hi there, this is a working script to identify controls by surrounding labels (text) or other controls. While working on a complex ahk application I realized that sometimes it is no good idea to address controls directly by something like "Button4", "ComboBox3" or "Edit31". One reason is that some c...
by Hotte
23 Dec 2019, 05:57
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 571172

Re: FindText - Capture screen image into text and then find it Topic is solved

Being on holidays at the moment, I shall be looking into this as soon as I am back. Thanks and happy Christmas all around.
by Hotte
20 Dec 2019, 21:38
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 571172

Re: FindText - Capture screen image into text and then find it Topic is solved

Hi, thank you for your kind support!

I have just test-read captured text with V7.3, but it does not find the text, when it is covered by another window (I've got Wndows 10).
Did I get it something wrong oder how does this work ?
by Hotte
20 Dec 2019, 01:55
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

I'm running Windows 10 with standard desktop
by Hotte
19 Dec 2019, 13:10
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

Yes, I just retested it. If I move windows explorer in front of the item, it fails. If I move it away it works.
by Hotte
19 Dec 2019, 12:11
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

guest3456 I quoted your idea about background search in FineText() into the FineText thread because I think this is a precious contribution https://www.autohotkey.com/boards/viewtopic.php?f=6&t=17834&p=306478#p306478 . I hope you are ok with that. You may want to follow the discussion there if inte...
by Hotte
19 Dec 2019, 12:02
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 571172

Re: FindText - Capture screen image into text and then find it Topic is solved

Hi I just stumbled overFindText() - absolutely fantastic! Thank you. A suggestion: I think FindText() does not find items, wenn they are momentarily covered by other windows -right ? I was discussing FindText() in another thread and i was given this technical following technical advice. Maybe this o...
by Hotte
19 Dec 2019, 10:36
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

well are you intercepting all clicks and doing your own processing? or are you using ~ LButton hotkey which will pass the click to both AHK and also to the underlying window? if the latter, i dont think you can guarantee that AHK will complete the imagesearch BEFORE the app responds to the click I ...
by Hotte
18 Dec 2019, 20:09
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

Intercepting leftclick on graphic button-like areas should work if the image of the button holds upper left corner at pos 0,0 of the button. If the button has a width of 80 pixels and a height of 20 the ImageSearch is conducted only in the area of ClickPosX-80, ClickPosY-20 to ClickPosX+80, ClickPos...
by Hotte
18 Dec 2019, 17:22
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

guest3456 :bravo: Can't believe it! Although I have been working with ahk for so many years, I have completely overseen the posibilty to use ControlClick x123 y456 to send Clicks without moving the mouse as is the case with click,123,456 that I have been using so far. Indeed that will of course muc...
by Hotte
18 Dec 2019, 02:39
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

AHKStudent : I have been looking around quite a lot for UIA stuff (I tried ACC_Get but didn`t manage to pull additional information). I have difficulties to understand the approach and the code examples in general. If there would be some tutorial / non-expert introduction...could help. I am just lo...
by Hotte
17 Dec 2019, 15:58
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

Thanks guys for being so helpful. To be honest: This is horrible. I do not understand what those guys in the threads are talking about and the code examples look Chinese to me although I have written some 15.000 lines of ahk-Code. To anwser my own questions: Yes, these UIA-applications seem to heral...
by Hotte
16 Dec 2019, 14:16
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

@Elgin, thank you very much for you having a look right into the EDIUS application. Too bad, what you found out. My video application is already more or less finished, more than 95% of the code adresses dialog-controls, only a few annoying ones need surface-controls. Somehow I worked around . But ED...
by Hotte
16 Dec 2019, 03:47
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

Ah, thanks. Seems a complicated matter. In fact I am not interested in automating browsers but my video-application (EDIUS). How can I find out which library or tool they are using to get hold of their afx-controls ? Is swagfag's approach an idea to go for ? And what would I need to implement (sorry...
by Hotte
16 Dec 2019, 03:25
Forum: Ask for Help (v1)
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 28
Views: 4048

Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

Hi, it seems to me that more and more modern applications are all but impossible to handle with Autohotkey. If you spy an explorer like Opera or Edge little shows up that could be used by ahk. And with every new version of my video-editor, nasty afx-controls show up I cannot handle. In an old thread...
by Hotte
08 Jun 2018, 15:15
Forum: Scripts and Functions (v1)
Topic: Find a substring in between 2 other substrings
Replies: 10
Views: 2466

Re: Find a substring in between 2 other substrings

Exactly. That is what it was supposed to do: An non-technical approach to strings or to analyse tagged text. Originally I wrote it to read a table of technical specifications. Something like: t := "Rate: 100 bits/s`nFormat: 1920 x 1080`nColor-depth: 10 bits`nNo of audio channels: 5`nCompression: h.2...
by Hotte
06 Jun 2018, 15:21
Forum: Scripts and Functions (v1)
Topic: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)
Replies: 10
Views: 2735

Re: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)

Ok, this is mabye 'bit off topic, but I do not want to make autohotkey a video-solution forum, so do not want to start a new thread and it pairs well with the number of frames issue above. This is a function that converts a video timecode into the proper framenumber. Input: tc = timecode as string e...
by Hotte
06 Jun 2018, 14:03
Forum: Scripts and Functions (v1)
Topic: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)
Replies: 10
Views: 2735

Re: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)

Thank you very much, Burque - very useful solutions. :bravo:

It's always great to see, how the community contributes and makes things grow

If you are interested in two timecode conversion routines that really work right, let me know.
by Hotte
06 Jun 2018, 13:09
Forum: Scripts and Functions (v1)
Topic: Find a substring in between 2 other substrings
Replies: 10
Views: 2466

Re: Find a substring in between 2 other substrings

Wow, I have always admired the heroes of RegEx coding. It would probably take me 2 days to understand, and 2 others to put it in RegEx. So many thanks for this! :clap: Edit Just be clear that partStr2 handles multiline strings differently: If you want CR,LF to be ignored go for partStr2. If you want...
by Hotte
06 Jun 2018, 12:57
Forum: Scripts and Functions (v1)
Topic: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)
Replies: 10
Views: 2735

Re: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)

@burque505, Thanks, very nice little tool!

@swagfaq, puh, not sure... position was a bit trial&error but works fine. Has it sth to do with 16 bit instead of 8 ?

Go to advanced search