← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #700787]: [feature] focus application based on pid --- accepted

 

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

Summary changed to:
[feature] focus application based on pid --- accepted

Description changed to:
track at https://github.com/RaiMan/SikuliX1/issues/307
------------------------------------------------------------------------------------

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.