SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Run batch job program window is minimized

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Run batch job program window is minimized
Author Message
SchedulerDude



Joined: 27 Apr 2015
Posts: 19
Country: Canada

Post Run batch job program window is minimized Reply with quote
Hello - Not sure if you can help.
If I run a batch job file manually, the program and data file will open full screen. When I run the program using the scheduler, the program opens but in a minimized window and will not activate or maximize in order to sendkeys.

Thoughts?
Thu Jun 18, 2015 12:35 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7907

Post Reply with quote
You can use the START command with parameters to launch it maximized
http://www.computerhope.com/starthlp.htm
Thu Jun 18, 2015 1:45 pm View user's profile Send private message
SchedulerDude



Joined: 27 Apr 2015
Posts: 19
Country: Canada

Post Reply with quote
Thanks for the reply.
The suggestion provided did not work. The code that I have in a bat file the following code: start /MAX "C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\uedit32.exe" \\WCP10001N5-DTC\FinOps\"ced.txt"

This works fine if I just double click the bat file. However, when I use the 24x7 scheduler using run program or batch file the file opens as an icon on the task bar and will not open maximized. The assumption is that the program window needs to be open in a maximized state in order to use the send keys?

I don't think it matters, but I noticed that the Detached process flag has been disabled with the box being checked. Is it possible this could the part of the issue?
Mon Jun 22, 2015 2:11 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7907

Post Reply with quote
External processes are always detached, they are separate OS processes, that's why the Detached option is disabled for them, it's not applicable.
Mon Jun 22, 2015 2:27 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7907

Post Reply with quote
Try the following trick.


START /MAX cmd.exe /K "mode 200,70" /C "C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\uedit32.exe" "\\WCP10001N5-DTC\FinOps\ced.txt"

Hoe that works for you.
Thu Jun 25, 2015 9:54 am View user's profile Send private message
ahmedkhan000797



Joined: 12 Jul 2015
Posts: 1
Country: United States

Post IT Solution Smarter Reply with quote
IT Solution Smarter is a free online Wordpress resource site. IT Solution Smarter was founded in the early days of 2014. The purpose of creating this site is to provide highly professional tips, top quality Tutorials, Practical SEO tips and methods to earn online.

___________________________


HTML Tutorials
Sun Jul 12, 2015 6:06 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.