Skip to content

[Windows] RCPTT complains when trying to use get-editbox on a content assist #20

@josh-jimenez

Description

@josh-jimenez

So we have this block of script here that runs fine on Mac OS but complains on Windows 10 saying:

The Text "[]" could not be found.

get-editor "DummyEditor" | key-type "M1+O" with [ get-window -class QuickContentOutlinePopup | get-editbox ] { set-text $control key-type Down key-type Enter }
It's a content assist pop up so we don't supply any label parameter to the get-editbox ecl command. Was wondering why rcptt complains on this with windows, but not on Mac OS.

Also, I tried recording the actual steps on the windows through the Record a snippet functionality, and it generates the exact same code and fails if you try to replay it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions