Search found 233 matches

by SteveMylo
03 Feb 2023, 19:59
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46435

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Epoch Wow big question. Firstly it took me months to figure out this stuff :lol: Right, 1st thing you need to do: During testing I would only use standard keyboard keys & not F13. that way when everything works you can then use F13 and you will know if F13 is the issue or not. 2nd: Definitely do no...
by SteveMylo
31 Jan 2023, 22:26
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46435

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Yes, it's totally possible - at the end of the day, which hotkey is used is ultimately goverened by a call such as thm.Add("1", Func("MyFunc1")) - so in this example, you just need to read a value from the ini file into a variable and instead call thm.Add(valueFromIniFile, Func("MyFunc1")) Being ab...
by SteveMylo
29 Jan 2023, 03:44
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

@Descolada Ah yes I have seen feiyue's script about encryption .
Yes no problem at all. Thanks Descolada
by SteveMylo
29 Jan 2023, 00:56
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

Descolada Yeah the reason I ask is because I'm in partnership to sell a large amounts of scripts, over 10,000 plus..... but we use AUTOHOTKEY obviously. And I was told that AUTOHOTKEY isn't the best because it's easy for others to look into your code and steal it. Even if you convert scripts into a...
by SteveMylo
28 Jan 2023, 22:27
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

@Descolada Hey there,
Do you know if Python coding can use the same elements found the UIA tools?
Does a UIA library exist for Python?
by SteveMylo
28 Jan 2023, 16:44
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 46435

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Epoch Hi Epoch. This code works while Holding the "F3" key on my laptop as I don't have F13... and "H" key will perform a SoundBeep. I'm utilizing the thm.PauseHotkey("h") & thm.ResumeHotkey("h") functions in THM. BTW This function is the Perfect Keywait , and I no longer use Keywait anymore, I jus...
by SteveMylo
27 Jan 2023, 17:06
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 584426

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

@Epoch Yeah It is, I do it, It just isn't reliable on other peoples computers cause of different screen resolutions and scales. But yeah sure make your own it's great
by SteveMylo
26 Jan 2023, 20:02
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 584426

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

@Epoch I think what you are after is just getting the mouse position at the beginning yeah?

Code: Select all

MouseGetPos, aX, aY

if (ok:=FindText(X, Y, aX-50, aY-50, aX+50, aY+50, 0, 0, Text))
{
  FindText().Click(ok[1].x, ok[1].y, "L", 1)
}
by SteveMylo
25 Dec 2022, 16:57
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 584426

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

How can I ask if both searches have the same coordinates? Merry Christmas , what better time to relax and check out the forum :lol: :xmas: To keep my example simple, these two FindText() If statements find the same Red dot cause there is only one. The 1st search is from Bottom Left and 2nd search is...
by SteveMylo
20 Dec 2022, 03:06
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

@Descolada those functions worked a treat thank so much :-)
by SteveMylo
20 Dec 2022, 03:00
Forum: Ask for Help (v1)
Topic: Global variables for coordinates not working with mouse clicks Topic is solved
Replies: 4
Views: 1390

Re: Global variables for coordinates not working with mouse clicks Topic is solved

Nightwolf85 wrote:
10 May 2017, 13:05
How about this:
I believe you have to de-reference the variables in Sends, or use forced expression mode.
This helped me 5 years on. ha thanks :dance: 🤗
by SteveMylo
19 Dec 2022, 21:25
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

G'day Descolada , thanks for everything, it really helps me. Is there a way to shorten the below example code? The basic script involves, When I push x:: a SoundBeep occurs in either of two UIA areas. I'm Trying to avoid writing two different CurrentBoundingRectangle areas and Coords cause The code ...
by SteveMylo
09 Dec 2022, 13:39
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

@Descolada Thankyou it's all working now :bravo:
by SteveMylo
09 Dec 2022, 07:13
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

Does your provided code not work? Sorry for any confusion, YES my code works perfectly. But what I need which was my original question was, when something isn't visible cause I'm not in the correct PAGE in Davinci, how do I avoid the error messages? You seemed to have solved it by giving me the fun...
by SteveMylo
08 Dec 2022, 22:33
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

Hey Descolada , With my above code above helping out user: k0stell0 , is there a way to use the new Function we were talking about if !(dvEl := GetDavinciElement()) when creating TreeWalkers ? if !(dvEl := GetDavinciElement()) works so great I've replaced all my scripts with, except for TreeWalkers ...
by SteveMylo
08 Dec 2022, 20:41
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

Davinci has a lot of checkboxes I need to click on, G'day....It's complex cause there are sooo many checkboxes . But the good news is, as long as your METADATA panel is open, you can toggle a particular check box on! It doesn't have to be visible cause it's toggleable. But as long as it exists in t...
by SteveMylo
07 Dec 2022, 05:51
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

@Descolada That works a treat. Well done and thanks. :dance:
by SteveMylo
07 Dec 2022, 04:57
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

Do I need to call it in each hotkey? Or just once at the beginning of my script file? To save Descolada some time I'll reply. It works for me but Descolada is the expert here not me. To answer your question, Only once for EACH script only. Here is an example of how to click on Media Pool and Inspec...
by SteveMylo
05 Dec 2022, 08:01
Forum: Ask for Help (v1)
Topic: Interacting with DaVinci using UIAutomation
Replies: 74
Views: 9511

Re: Interacting with DaVinci using UIAutomation

Thanks. Before I asked you, I was playing around with the timeout feature but I couldn’t get it to work.

So I just tried your Function on Wordpad.exe as i’m away till Wednesday & it seems to be working great!
The function seems simple & just what I need.
Thank you.

Go to advanced search