[app script] SetResolution
#76
Posted 26 November 2008 - 09:15 PM
Regards,
Galapo.
#77
Posted 26 November 2008 - 11:55 PM
I would guess that it is never needed, when the resolution does not need to be adjusted, because the resolution is already the right one.In some cases where video is unstable, screen is not black, but resolution cannot be adjusted without a prior CDS_RESET. Trouble is, there is no way I know of to programmatically determine when this needed at first boot (of course, when SetResolution is already running and there is a video driver change then there is), so I made the decision to initiate a CDS_RESET when SetResolution starts, that way SetResolution knows the current state of play.
Windows i think, issues a reset every time the resolution is changed.
I think SetRes can work the same.
#78
Posted 27 November 2008 - 12:14 AM
Regards,
Galapo.
#79
Posted 27 November 2008 - 02:49 AM
Changes:
- checks are now made before best resolution function attempts to adjust resolution so as to not adjust if not necessary
- improved adjustments made when new device driver is detected
- added ctrl+shift+B hotkey which adjusts resolution to the highest supported resolution of the active display
Regards,
Galapo.
#80
Posted 27 November 2008 - 04:17 AM
Changes:
- fixed a bug where process priority wasn't set when specified from INI file
Regards,
Galapo.
#81
Posted 27 November 2008 - 10:13 AM
Changes:
- fixed a bug where under some particular circumstances the LOG wasn't able to be opened
Regards,
Galapo.
#82
Posted 02 December 2008 - 12:01 AM
Changes:
- added -rebuild commandline parameter, which allows for rebuilding the icon cache
- fixed a bug where if -refresh was specified on commandline and SetResolution was already running, message would indicate such; now no message displays after desktop refresh and second instance of SetResolution closes quitely
Regards,
Galapo.
#83
Posted 15 January 2009 - 06:21 AM
Changes:
- now compiled with AutoIt v.3.3 resulting in a) the shell icon cache rebuild function being accomplished internally rather than by additional app (dll call in older version didn't allow for the complexity of this function); and b) correct resolutions being reported from display devices so that no "fudged" multiplier is necessary any more
- supports new version of Driver Import PE when released (tomorrow)
- fixed a bug where bestres function wrote to log numerous times after display driver update
Regards,
Galapo.
#84
Posted 15 January 2009 - 12:32 PM
#85
Posted 18 March 2009 - 01:26 AM
Changes:
- Fixed virtual machine detection bug introduced in previous version due to compiling in newer AutoIt version
Regards,
Galapo.
#86
Posted 04 May 2010 - 07:14 AM
Changes:
- Changed to a different array sorting function so that program doesn't crash on x64 systems
- Can now specify depth to be set under native and virtual systems upon start
Regards,
Galapo.
#87
Posted 04 May 2010 - 09:23 AM
Changes:
- Reenabled memory consumption reduction function which was disabled for x64 tests and was forgotten to be enabled when v.5.3 was compiled and uploaded
Regards,
Galapo.
#88
Posted 03 July 2010 - 06:33 AM
In either do not have a problem when using one.
But the two are used together, the following problems occur.
The boot does not automatically(in registry) run Setresolution After the run manually, the problem does not occur.
In addition, this problem occurs in Vmware , but the problem does not occur in Virtualbox.
SourceCD : XP SP3 Korean
HostOS : XP SP3 Korean
Winbuilder Ver : 080
DisplayProperties.Script Ver : 18
SetResolution.script Ver : 60
#89
Posted 04 July 2010 - 10:43 AM
I'm on holdays at the moment, so there'll be a delay until I can take a look at the issue.
What happens if you change the RunOnceEx entry in the SetResolution script from 999 to 998?
Regards,
Galapo.
#90
Posted 04 July 2010 - 11:26 AM
Hi Zerojinny,
I'm on holdays at the moment, so there'll be a delay until I can take a look at the issue.
What happens if you change the RunOnceEx entry in the SetResolution script from 999 to 998?
Regards,
Galapo.
I tried to change RunOnceEx->RunOnce, RunOnceEx->Run and Autostart shortcut.
Interesting thing is when autostart shortcut and run, or when RunOnceEx the appearance of the icon is different.
RunOnceEx's result
Run or Autostart shortcut's result
And i change the RunOnceEx entry in the SetResolution script from 999 to 998 and i got a same result.
Regards,
Zerojinny
#91
Posted 05 July 2010 - 03:39 AM
Thanks,
Galapo.
#92
Posted 05 July 2010 - 06:44 AM
Ok, thanks. What happens if you comment out the resShort.exe lines in buildmodel script?
Thanks,
Galapo.
I comment out the resShort.exe lines in buildmodel script but it's result was same.
And I tried to move RunOnceEx\999 --> RunOneceEx\000, it means setresolution runs before modelram,
but it's result was same.
#93
Posted 05 July 2010 - 09:20 AM
reg_add,0x1,%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\999,SetResolution,"hiderun %ProgramEXE% -hide -%pScrollBox5% -vmdetect -registry -output"to this
reg_add,0x1,%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\999,SetResolution,"hiderun %ProgramEXE% -hide -%pScrollBox5% -vmdetect -rebuild -registry -output"will fix it for you.
Regards,
Galapo.
#94
Posted 05 July 2010 - 01:07 PM
reg_add,0x1,%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\999,SetResolution,"hiderun %ProgramEXE% -hide -%pScrollBox5% -vmdetect -rebuild -registry -output"
It's not work for me.
To remove runonceex run after the boot is not the problem.
(Start-Run- Setresolution.exe -hide abovenormal vmdetect -rebuid -registry -outpur)
And i have some question.
What's mean "-rebuild"?
Does this issue happen to just me?
#95
Posted 05 July 2010 - 10:14 PM
Please test it again because that worked for me.It's not work for me.
Also, please provide a WinBuilder log of your build.
It rebuilds the shell icon cacheWhat's mean "-rebuild"?
I get the issue under VMWare. Adding the -rebuild parameter fixed the issue for me.Does this issue happen to just me?
As for the actual reason why it occurs, I don't know.
Regards,
Galapo.
#97
Posted 06 July 2010 - 04:15 AM
setresolution.exe -exit -rebuild
What happens?
Thanks,
Galapo.
#98
Posted 06 July 2010 - 04:39 AM
It works for me greatly!
How can i add that option?
#99
Posted 06 July 2010 - 09:50 AM
Regards,
Galapo.
#100
Posted 07 July 2010 - 09:45 AM
Changes:
- added -delay commandline parameter to be used in conjunction with -rebuild, which allows for boot-time delay before rebuilding the icon cache (delay is to be specified in seconds, eg -delay=3)
- added log output to specify what resolution was attempted to be set when an error occurs
I've added a script interface option to specify a time for the -delay parameter.
Regards,
Galapo.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users