Page 1 of 1

Screen Resolution Testing

Posted: Wed Feb 12, 2014 7:59 am
by Nichesoft
Hello,
I noticed that the screen resolutions are pre-configured and there is no way to check for a non standard size.
Our software (Needs) to have a min of 1366(w) x 768(h)

How can I go about checking for this?

Re: Screen Resolution Testing

Posted: Wed Feb 12, 2014 1:01 pm
by FrancescoT
Dear User,

the following code snippet should do exactly that.

Code: Select all

Set Variable HPIX to
Set Variable VPIX to
Get System Setting Horizontal Pixel Count (X) into HPIX
Get System Setting Vertical Pixel Count (Y) into VPIX
MessageBox: Debug, $HPIX$ x $VPIX$


The same as IA clipboard Format;

Code: Select all

~InstallAware Clipboard Data~
~MessageBox~
~{8265625F-24E0-4FD3-ABD9-F0EE8AC8E559}~
~Debug~
~$HPIX$ x $VPIX$~
~0~
~1~
~~
~Get System Settings~
~{D6E3B7EA-FB09-4136-B2CD-D75E9DEA00F7}~
~VPIX~
~83~
~Get System Settings~
~{1262777F-44E0-452E-BE98-6CCE15683EA9}~
~HPIX~
~82~
~Set Variable~
~{5489AF94-9F36-4770-BF61-10EF5C81014A}~
~VPIX$MYAH$MYAH$FALSE~
~~
~Set Variable~
~{28FAA6E5-A37C-4802-89D8-87AAC743EDCC}~
~HPIX$MYAH$MYAH$FALSE~
~~


Regards