Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activate Winodw/ Set focus
#1
Hi ALL,


Please help me to activate the window so that i will move the mouse to particular are and click

my Code
Import subprocess

path='Tableau.exe'
file='d:\book1.twbx'
subprocess.call(path,file path)
i am able to open the file , now i need to activate the window book1.twbx


Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can Not Activate Environment hammer 6 7,272 Mar-05-2022, 10:26 AM
Last Post: snippsat
  Python win32com.client: What are the syntax to open exe file & activate its window? JaneTan 0 4,189 Oct-14-2020, 09:09 AM
Last Post: JaneTan
  handling and focus in a window cimerio 3 2,907 Feb-21-2020, 03:32 AM
Last Post: Larz60+
  how to set focus when running a script using subprocess Malt 0 3,114 Sep-26-2019, 08:07 AM
Last Post: Malt
  Auto activate conda env in Pycharm terminal ntuttle 0 4,768 Mar-08-2019, 03:56 PM
Last Post: ntuttle
  virtualenv activate.ps1 hash error po20 2 3,818 Jan-13-2018, 09:21 AM
Last Post: po20
  How do I activate my script when another program opens? jhave_21 3 3,812 Nov-23-2017, 08:29 AM
Last Post: heiner55
  Help to activate the "USB Modem" with Python karlo123 4 4,861 Sep-17-2017, 08:40 PM
Last Post: sparkz_alot
  Activate Virtual Environment and Help to get started with Python Adelton 4 7,210 Feb-14-2017, 06:11 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020