locked
Invoke-UiaWindowTransformMove : The pipeline input is null RRS feed

  • Question

  • Hi everyone, so i have been looking at my script for a while trying stuff here and here but, maybe since i just began with Powershell but ....

    So far, the script does open the windows, it does select it, but then, script break, telling me the pipeline input is null, when i did assigned an int var to it.

    Any idea please ? Thank !

    Function Open-Program ($Name, $Height, $Width, $MoveX, $MoveY, $Path)
    {
    Start-Process -FilePath $Path
    Start-Sleep -S 2
    Get-UiaActiveWindow
    Start-Sleep -S 2
    Invoke-UiaWindowTransformMove -TransformMoveX $MoveX -TransformMoveY $MoveY |
    Invoke-UiaWindowTransformResize -TransformResizeHeight $Height -TransformResizeWidth $Width
    }

    $Steam = "C:\Users\aznet\Desktop\PS\Steam.lnk"

    Open-Program -Path $Steam -MoveX 1 -MoveY 1 -Height 1000 -Width 1000

    Hide-UiaCurrentHighlighter


    • Edited by Azerate Tuesday, September 26, 2017 11:55 PM
    Tuesday, September 26, 2017 11:52 PM

All replies

  • Error :

    Invoke-UiaWindowTransformMove : The pipeline input is null
    At line:6 char:1
    + Invoke-UiaWindowTransformMove -TransformMoveX $MoveX -TransformMoveY  ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Invoke-UiaWindowTransformMove], Exception
        + FullyQualifiedErrorId : InputIsNull,UIAutomation.Commands.InvokeUiaWindowTransformMoveCommand
    Tuesday, September 26, 2017 11:54 PM
  • This is beta software that has been abandoned for three years.  If you cannot contact the author for help then you are likely out of luck.

    Here is the support site for this software: https://uiautomation.codeplex.com/discussions

    Apparently there have only been 2 users of this module.


    \_(ツ)_/


    • Edited by jrv Wednesday, September 27, 2017 12:11 AM
    Wednesday, September 27, 2017 12:09 AM
  • I managed to get it work at my job for some reason, i tried remake it at home and for some odd reason i get this error, it looks like a syntax error ...

    The UIAutomation work great i can tell :D

    What i think, it work great under windows 7, but not window 10, only thing i see.


    • Edited by Azerate Wednesday, September 27, 2017 12:26 AM
    Wednesday, September 27, 2017 12:11 AM
  • Hi,

    I'm checking how the issue is going, was your issue resolved?

    And if the replies as above are helpful, we would appreciate you to mark them as answers, and if you resolve it using your own solution, please share your experience and solution here. It will be greatly helpful to others who have the same question.

    Appreciate for your feedback.

    Best Regards,
    Albert Ling

    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, October 2, 2017 7:52 AM