-
Screen Resolution
Hi, I'm new to this forum and was looking for help with an application I'm writing. I have a friend who is partially sighted, he is using NVDA as a text to speech utility (and it's great). He has an issue in that it only works properly when the screen resolution is set to 1024 X 768. He usually has it set to 1920 X 1200. The best solution would obviously be to find a Text to Speech program that works at all resolutions but this is long term, in the short term all he needs is a button which can switch between different screen resolutions. I've built an app which gets all the displaymodes and allows you to choose which ones you want in a cycle and then when you run a script it will jump to the next mode. However, I cannot make the screen mode change within Java. When I set the displaymode all it does is set it within the application's window, I want to set it for the whole system. I've got round it by using (the excellent) Nircmd utility but I would like to control the whole thing from within Java. Is there any way to do it?
Thanks,
Neil
-
Re: Screen Resolution
Does he have the latest version of NVDA? I just downloaded the current version and it works at my screen resolution (1366 * 768). Unfortunately, Java does not have the ability to change the screen resolution permanently for the system. You can set the Java application to exclusive full screen mode, but then you can't really see the rest of the desktop and the resolution will still be changed back on program exit.
-
Re: Screen Resolution
Thanks for the response,
That confirms what I thought, Java can't do it. Frustrating. I've tried diagnosing NVDA but there doesn't seem any way to make it work properly at any resolution other than 1024 X 768. Steadymouse also doesn't work so there is definitely something wierd about the system in question. Anyway, I have worked around the problme by using NIRCMD which seems to work well enough.
Thanks, at least I can stop worrying that I've missed something now!
Neil