Post Reply
Jacky 2013-11-07 16:19
Apologies if this is some silly syntax problem, but I (despite being a good googling forum user) have been unable to get a Java application to launch to a specific monitor.
The shortcut them using is:
"C:\Program Files\UltraMon\Scripts\LaunchApp.vbs" "C:\Windows\System32\javaws.exe -localfile C:\Users\drawkcab\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\40\418b8f68-4642c1b7" 1
Im trying to use LaunchApp, as the native UltraMon window positioning doesnt work for this application either. The application opens as a monolythic window, and has a predictable title.
Any help is appreciated.
|
Christian Studer 2013-11-08 07:28
The shortcut looks fine, most likely what happens is that the first process, javaws.exe, launches a second process which runs the actual application. This won't work with LaunchApp because it looks for a window created by the first process.
There are a couple of solutions:
- if you need a script which launches and positions the app, you could do this with a custom script which looks for the app window by title. If you're interested in this I can create a script which does this
- otherwise you could use the PositionApp script instead, this runs in the background and positions windows created by specific apps (identified by the name of the executable)
Christian Studer - www.realtimesoft.com
|
Post Reply
|