Search found 233 matches

by SteveMylo
15 Nov 2023, 15:28
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581087

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

@trialAdd i think that’s normal for 200 loops. But i’m not totally sure. There is a wait() function in FINDTEXT which I use instead of (loop) and i can hear my computer ramp up
by SteveMylo
15 Oct 2023, 10:27
Forum: Ask for Help (v1)
Topic: multiple instances incorrectly run at the same time every time I click RUN
Replies: 4
Views: 365

Re: multiple instances incorrectly run at the same time every time I click RUN

I use the line '#SingleInstance, Force' and it still happens. I honestly don't know for sure if it makes a difference, but the example in #SingleInstance does not have a comma - your example does. Perhaps try without one? Russ It shouldn’t make a difference at all. But i’ll try tomorrow The comma i...
by SteveMylo
15 Oct 2023, 10:23
Forum: Ask for Help (v1)
Topic: multiple instances incorrectly run at the same time every time I click RUN
Replies: 4
Views: 365

Re: multiple instances incorrectly run at the same time every time I click RUN

Would you believe chatGPT pointed me to that thread. Pretty unbelievable. Anyways, i tried about 11 different fail safes & they all didn’t work. Even ones including a FlagFile & many others. Something is wrong that my other computer PC windows 10 does not happen. I’m using SciTE4Autohotkey. Maybe th...
by SteveMylo
15 Oct 2023, 06:03
Forum: Ask for Help (v1)
Topic: multiple instances incorrectly run at the same time every time I click RUN
Replies: 4
Views: 365

multiple instances incorrectly run at the same time every time I click RUN

I noticed that when I run a script that Is already running, another instance runs at the same time every time I click RUN. I can see them doubling up in the task tray and no, when I hover the mouse over them it doesn't disappear . I use the line '#SingleInstance, Force' and it still happens. This ne...
by SteveMylo
11 Sep 2023, 07:39
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

Thanks, all seems good. I'm now a little curious about caching. Regarding the code you mentioned static cacheRequest := UIA.CreateCacheRequest(["AutomationId", "BoundingRectangle"],,, "None") I noticed it doesn't work with Paths, is that right? Just AutomationId: etc Because I now like working with ...
by SteveMylo
10 Sep 2023, 20:36
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 373
Views: 54177

Re: UIA v2

I think I just figured it out, it has to be inside the curly brackets yes? {T:0,N:"Cinema mode keyboard shortcut t", cs:0, mm:2}) .. ?
by SteveMylo
10 Sep 2023, 20:26
Forum: Scripts and Functions (v2)
Topic: UIA v2
Replies: 373
Views: 54177

Re: UIA v2

Hi Descolada In Version 1, I used to do a search with caseSensitive and Matchmode method e.g. cb := dvEl.FindFirstBy("ItemStatus=Asc",,2,False) But this method doesn't work in V2 e.g. chromeEl.ElementFromPathExist({T:30}, {T:26, i:2}, {T:26}, {T:26}, {T:0,N:"Cinema mode keyboard shortcut t"},,2,Fal...
by SteveMylo
06 Sep 2023, 23:08
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

@Descolada I seemed to have fixed this by using WaitElementFromPath with a timeout of '55' , but is this a hacky way of doing it?
by SteveMylo
06 Sep 2023, 17:49
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

Descolada Thankyou Appreciate it. Although the script definitely works, it seems AUTOHOTKEY V2 throws up an error window if the window isn't present, eg another Davinci window or the Color Page etc. Even if I'm still in Davinci See pic attached image.png In version 1 , we previously avoided this wi...
by SteveMylo
06 Sep 2023, 06:30
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

Descolada Hi, I just donated 3 coffees to you for all your help :clap: And I encourage others to think about it ;-) I tried out the V2 UIAViewer in AutoHotkey V2 and it's fantastic, I love how easy the new PATHS system works. I'm so impressed that I will now convert a few scripts to V2. But... prev...
by SteveMylo
01 Sep 2023, 08:32
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

No worries. Thank you. I don’t think i’ll upgrade to V2 for a while. But if I do i can try that.
But I might try element from point. That works in Version 1 doesn’t it?

Many thanks
by SteveMylo
31 Aug 2023, 23:04
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

Descolada Hi ! Can UIA look behind open windows? I have a script which suspends my scripts running for DaVinci Resolve when I Left click in certain areas, then it enables them when I click on other areas, like the Timeline for example. There is a new Feature in DaVinci Resolve that allows me to tra...
by SteveMylo
20 Aug 2023, 20:27
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581087

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

ahkHereToLearn Glad to here, also you can change Left Click to UP so only the mouse moves but doesn't click. e.g. FindText().Click(X, Y, "U") Just a friendly tip. Also if you don't know already , you can just use one hotkey to search for all your images in one go, or just keep pressing the same hot...
by SteveMylo
19 Aug 2023, 17:56
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581087

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

@ahkHereToLearn after a quick look, that looks right.
What you can do is change the coordinates to your screen resolution e.g. if (ok:=FindText(X, Y, 0, 0, 1920, 1080, 0, 0, Text))
this can speed things up, unless you have more than one monitor, keep it the same
by SteveMylo
19 Aug 2023, 16:15
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 581087

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

This is mainly what Find Text is used for. What you describe is very simple. Are you saying that you don’t know how to write a simple script with find text?
Or am I missing something?
by SteveMylo
27 Feb 2023, 19:35
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9422

Re: Interacting with DaVinci using UIAutomation

@malcev Thanks, but does C++ have access to UlAutomation the same as Autohotkey?

Go to advanced search