davebo4503
asked on
Paperport 14.5 on 4k display
Paperport 14.5 on Windows 10 1903 on 4K display - runs but the toolbar is scaled too high and appears too large. The regular compatibility troubleshooting doesn't fix. Is there a way to change the display resolution for a program on the fly, and return it to 4k when done?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome, Dave. I tested it on a W10/64-bit system and it worked perfectly, although the max res on that system is 1920x1080, so the tests were with 1920x1080 and 1280x720 (32-bit color)...worked great!
Btw, in a subsequent post, Shadowpheonix said it is not his/her code, then someone posted a link to the code by Anticosmic Overload, but he/she also said that it is not his/her code ("I googled it"), so I'm afraid that the original author will go un-credited. Regards, Joe
Btw, in a subsequent post, Shadowpheonix said it is not his/her code, then someone posted a link to the code by Anticosmic Overload, but he/she also said that it is not his/her code ("I googled it"), so I'm afraid that the original author will go un-credited. Regards, Joe
Hi Dave,
Two other thoughts after I posted the code. First, you may want the script to start automatically with Windows so that you don't have to run it manually. One way to do this is via the Task Scheduler — set the Action to "Start a program" and point it to the AHK file, and set the Trigger to "At startup". Another way is to put a shortcut (.lnk) to the AHK file in the Startup folder, located here:
C:\Users\<username>\AppDat a\Roaming\ Microsoft\ Windows\St art Menu\Programs\Startup
Second, if you don't change resolutions often, you may need a reminder on what the hotkeys are. To do that, put it in the tray tip, so that when you hover over the icon in the system tray, you'll see what the hotkeys are. Here's what it looks like on my system:
And here's the revised line of code for that (of course, change the tip to reflect your resolutions):
That would appear when you right-click the tray icon...then, of course, a left-click would change the resolution (or Exit). One reason why this approach is better is that it's easy to add many resolutions without having to define a gazillion hotkeys. For example:
On the other hand, if you're always switching between only two resolutions, a hotkey for each may be the preferable method.
Just some other ideas for you. Regards, Joe
Two other thoughts after I posted the code. First, you may want the script to start automatically with Windows so that you don't have to run it manually. One way to do this is via the Task Scheduler — set the Action to "Start a program" and point it to the AHK file, and set the Trigger to "At startup". Another way is to put a shortcut (.lnk) to the AHK file in the Startup folder, located here:
C:\Users\<username>\AppDat
Second, if you don't change resolutions often, you may need a reminder on what the hotkeys are. To do that, put it in the tray tip, so that when you hover over the icon in the system tray, you'll see what the hotkeys are. Here's what it looks like on my system:
And here's the revised line of code for that (of course, change the tip to reflect your resolutions):
TrayTip:="ChangeResolution`nCtrl+F12 for 1920x1080`nAlt+F12 for 1280x720"
Another way to go is to ditch the hotkeys and make the choices available via the tray icon's context menu, something like this:That would appear when you right-click the tray icon...then, of course, a left-click would change the resolution (or Exit). One reason why this approach is better is that it's easy to add many resolutions without having to define a gazillion hotkeys. For example:
On the other hand, if you're always switching between only two resolutions, a hotkey for each may be the preferable method.
Just some other ideas for you. Regards, Joe
ASKER