Skip to content

Trouble with correct ElementFromPath #83

Description

@hbfortunato

Hi,

I have a ahk v2 script that I don't know why I always have to edit the ElementFromPath. After I have set it on correct Path, It is working, but after several days, it is not working again. I have posted the error code:

Error: Invalid index/condition at path index 1

032: SendInput(text)
033: sleep(250)

▶ 034: msedgeEl.ElementFromPath("Y/YYY/YY/YYYYYYVRq0/").ControlClick()
035: sleep(500)
036: txt := msedgeEl.ElementFromPath("Y/YYY/YY/YYYYYYVRqRK").Name

The current thread will exit.

I have attached the image I need to ControlClick.

Image

I hope someone can help me about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions