[Fixed] Coolest Bug ever! ;-)
#1
Posted 10 March 2010 - 05:57 PM
To my surprise, WB080 treated it like a script and displayed it in the project tree.
But now comes the best part, remember that i said, i had!
After clicking on edit and then looking, why WB could possible think, that this was a script, i learned, that simply closing the editor again, was not the smartest move. Cause now the screensaver really is a script!
btw. Did i mention, that i really love it, if an application, any application overwrites my files without first asking?
#2
Posted 10 March 2010 - 07:59 PM
This bug is really worth to get the "Oscar" for "Surprize".I have, or better said, i had a screensaver file in the Apps script folder.
To my surprise, WB080 treated it like a script and displayed it in the project tree.
But now comes the best part, remember that i said, i had!
After clicking on edit and then looking, why WB could possible think, that this was a script, i learned, that simply closing the editor again, was not the smartest move. Cause now the screensaver really is a script!
btw. Did i mention, that i really love it, if an application, any application overwrites my files without first asking?
If you would not only tell stories here, but give some more information (like attaching the screen saver) it could be possible to find and fix the bug ...
You know that my magic crystal ball is currently out of order ...
Under The "Tools" button you have options to avoid the automatic save.
Peter
#3
Posted 10 March 2010 - 08:10 PM
try to put any .scr from your host's WINDOWS\system32\ folder into your project folder
click on edit in WB interface
then select 'Interface editor' then select 'Description' then etc.
you will see the content of the screensaver .scr suddenly destroyed
it contains these lines:
[Main]
NoWarning=False
Download_Level=0
Level=5
for me Tools > AutoSave=Ask
#4
Posted 10 March 2010 - 09:57 PM
If you click first on the source tab, you can even see it's content, which i find impressive, since most text editors would just stop at the first binary 0.
And AutoSave was of course set to Ask, else it wouldn't have been a cool bug!
#5
Posted 11 March 2010 - 03:06 PM
#6
Posted 11 March 2010 - 03:51 PM
#7
Posted 11 March 2010 - 04:05 PM
if (AnsiContainsText('.script.link.inf ', s)) then ...This declares a valid WB file if the file extention matches ANYTHING of the filter string.
e.g. also an extention .s or .link.in is evaluated as valid.
#2: Now it is ONLY written into the file when [Main] exists AND only the values are written which have been changed.
Peter
#8
Posted 11 March 2010 - 04:31 PM
And in case things did got changed, will there be a dialog, before they are written, if ask is selected?#2: Now it is ONLY written into the file when [Main] exists AND only the values are written which have been changed.
#10
Posted 11 March 2010 - 06:20 PM
#11
Posted 12 March 2010 - 01:13 AM
if (AnsiContainsText('.script.link.inf ', s)) then ...
Kudos to Peter and MedEvil. This is a really ancient bug.
But shouldn't wb also work with .inf and .link files?
How will this be possible now that they don't have a [main] section?
#12
Posted 12 March 2010 - 02:32 PM
#13
Posted 09 November 2011 - 06:52 AM
Maybe you should develop yourself an application, let us see what bugs you will bring us on our PCs.
Sometimes some people here think they are god and can do everything, a miracle why the admins and mods don't react on such guys. If you done sometimes something good this doesn't means that you can be an a... the rest of the time.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users