← Back to team overview

sikuli-driver team mailing list archive

[Question #700787]: focus application based on pid

 

New question #700787 on SikuliX:
https://answers.launchpad.net/sikuli/+question/700787

i have an application that is running and i know hte pid based on getprocess in powershell
i would like that application to come to focus. how can i do that?
app.focus(pid) does not work



i am getting app process by below command
cmd='powershell\n Get-Process | Where-Object { $_.MainWindowTitle -Match \"Adobe Acrobat\" }| Where-Object { $_.Name -Match \"Acrobat\" } | Format-Table ID,Name,Mainwindowtitle -AutoSize'


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.