Compiled job on a Windows 7 terminal server.

Keeps on Ticking

  • Joined: May 13, 2011
  • Posts: 19

Wed 8/17/2011 - 19:29

 
Hello,
WinAuto is installed on my Win 7 terminal server login (registry was modified per your instruction).  I have created and complied a job that manipulates Excel docs and one other application. All the applications, files and docs used by the job are available to all users. The compiled job runs fine on my login but does not find the same windows when run on another user’s login.
Please, what is the problem and how do I fix it. Thanks.

#1

Keeps on Ticking

  • Joined: May 13, 2011
  • Posts: 19

Wed 8/17/2011 - 19:49

more info:  The compiled job when run by another users opens an existing excel doc without difficulty but then fails trying to focus the window just openned.    When I run the same compiled job on my login (the one used to create it) it launched and focus the same document without difficulty.  It is as though the Doument window has a different name and handle when openned by a different user.

 

Help please.  Thanks.

#2

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2333

Fri 8/19/2011 - 13:17

there are cases where on the server different users have different permissions. Therefore not all users will be able to open an excel file in write mode. So, the window title would probably be "Excel File Name.xls" - Microsoft Excel for admins or other users with read-write permissions and "Excel File Name.xls" - Microsoft Excel [Read Only] for users with read only permissions. This would cause the job not to continue, since it's expecting a different window. :) Samantha

#3

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2333

Fri 8/19/2011 - 14:18

Please note that you would need to write the following in all the Window actions to make sure the job will not fail. ExcelFilename.xls*Microsoft Excel hope this makes sense, :) Samantha

#4
Not a member yet? Register

Copyright 2013 - Softomotive Ltd