Jump to content

Nbr_One

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Nbr_One

  1. Thanks for testing it. We are actually running on Windows 7 x64 Enterprise. Perhaps this issue is unique to our environment. Unfortunately, I have no idea when we will be upgrading to Windows 10.
  2. The sample code below works fine in a 32 bit OS, but does not work in a 64 bit OS. Does anyone have a suggestion? I use the WinWait command to capture the handle for an open window and then use WinActivate with the handle to bring that specific window to the foreground. The example uses a notepad file as a very simple test. In my production system, I want to open a specific html window for our ERP system. Source code: Dim $This_Window = "Contact Center Info.txt - Notepad" ; MsgBox(0, "First Step", "WinWait will get handle for This_Window") Local $hWnd = WinWait($This_Window, "", 10) ; MsgBox(0,"Handle for this window", $hWnd) MsgBox(0, "Next step", "now execute winactivate for this Window by handle name") ; Activate the Notepad window using the handle returned by WinWait. WinActivate($hWnd)
×
×
  • Create New...