Application: Lightscreen
Category: Desktop
Description: Lightscreen allows you to create images of your desktop and even images of just windows alone. If you dont have access to MS paint then you can use this app.
Very useful tool.
Lightscreen Portable Download! [3.84MB download / 4.64MB installed]
(MD5: 9aab1ffefe8a3de9e3815eedca3684c7)
Alternative Download For Development Test 7
Click Here
Release Notes:
Development Test 7 (2008-04-20): Fix
This fix fixes something that i forgot........
Development Test 6 (2008-04-16): Zac fix
This is a fix by Zac. hopfully it's over soon and i dont have to do anymore editing
Development Test 5 (2008-04-16): Development 5 Release
Screenshot INI issue fixed.
launcher back to original template from development test 3
Testing on splash image disabled needed
Development Test 4 (2008-04-15): Development 4 Release
Installer was written from scratch and took me about 4 hours to complete.
Splash Image Disable Option Fixed.
LightscreenPortableSettings.ini is generated via the launcher.
Deleting The RegKey "HKEY_CURRENT_USER\Software\Trolltech" doesnt work (still solving)
Please leave a comment if there is anything else that might need worked on.
I Hope that me writting a "from scratch" launcher would stop it from being offical when everything is worked out.
Development Test 3 (2008-04-11): Development 3 Release
Fixes directory of where images are saved. please remove registry key in Data\settings directory, if your reinstalling this.
Fixes minor issues
Development Test 2 (2008-04-10): Development 2 Release
fixes minor PAF specifications
Updates screenshot directory to Documents\Pictures on your drive if it exists, other wise Data\settings\Screenshots
Development Test 1 (2008-04-07): Initial release
Questions:
Do you all think the image directory for the screenshots should be Documents\Pictures\Screenshots?
this probably should have been a continuation of the first thread, instead of a new thread...glad to see the update though
The developer formerly known as ZGitRDun8705
it's not a big deal, but i was just wondering why the pics would be stored in Data\settings. pics aren't settings; i would think they could go in the main Data folder, which would also make them easier for users to find. the pictures folder was a good idea btw -to either you or patrick. yes i would vote for the screenshots folder in pictures
That was my bad, they're right now in Data\settings\Screenshots if Documents\Pictures doesn't exists. It really should be Data\Screenshots, so I suggest Dave fixes that.
Thanks Travis, and yea, I was learning to a Screenshots folder under Pictures, too.
setting an ini file to tell you if it's the first run or not isn't really necessary. All you have to do is a IfFileExists "$SETTINGSDIRECTORY\lightscreen_portable.reg" command and that will do the exact same thing without all the ini read/write code. Also, just curious: what happens if someone actually selects the "Start Lightscreen with Windows" option? i would think that could cause problems but maybe not. if so, then it might be a good idea to undo any changes that the option does, if they select it, on script exit.
I will add that in next release.
Na na na, come on!
Don't change the part about the first run, though. We need to know if it's the first run, not if the settings exist, or else the launcher will go and overwrite any users custom screenshot path.
I put it like that because, if the user sets the screenshot directory to something custom, we don't wanna annoy them and overwrite it each time. But now I just realized that we will still need to update the drive letter. So we'll have to think of a fix for that.
Yea, I was thinking about that, too, but thought people might use it locally, so didn't wanna mess w/ them.
ok i just assumed "first run" was for what it sounded like. and as for allowing change. i don't think it should be done. if they change the directory to a local folder, then on the next pc the folder will be created if it doesn't exist. i guess you could possibly allow the change as long as it's on the same pc and then change it back for a new pc (you can look at my Teeworlds code for how to get the PC name). or you could let them keep their screenshots location as long as it's on their PAM drive. otherwise it should be changed in the user's interest.
I just wanted to give the user a bit of freedom, but it would make in considerable better so I think you're right.
For the Development Test page, can I use your real name, or should I keep it set to your user ID?
The developer formerly known as ZGitRDun8705
Placing the LightscreenPortable.ini in the main folder does nothing. I cannot disable the splashscreen.
Edit: I also took a screenshot with the timestamp as the file name and I got this: screenshot.1207938157.jpg Those just look like random numbers to me. The date for this picture is April 11, 2008 at 2:20pm so shouldn't it look something like this: screenshot.04.11.2008.1420.jpg? It seems like this doesn't work correctly.
yeah, the date naming function is kinda screwy, i had the same issue.
The developer formerly known as ZGitRDun8705
04(month)11(date)2008(year)1420(2:20+12, i.e military time, avoiding the am/pm issues)
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
that would make sense, the filename he got was a random series of numbers though
screenshot.1207938157.jpg
The developer formerly known as ZGitRDun8705
Actually, how about "2008.04.11.1420.--", so that numerically it's in order from big to small? (EG: years -> minutes/seconds)
That way, if you store lots of pics in a list format, they should be able to search chronologically.
i dont have any control over this issue.
unless there is a reg thing i can change
Na na na, come on!
I found 2 registry entries left on the system after running Lightscreen. The are both located under HKCU\Software\Trolltech\OrganizationDefaults. The launcher should handle this as well and it should also work with the ini.
Thank You For The Find
Im Still Trying To Solve The INI Issue With The Splash Image.
Thanx
Na na na, come on!
Can you get your "Alternative Download" uploaded? skydrive and dropio and similar services are blocked here at work and I'd really like to test your changes.
Just a question, what was the purpose of writing your own installer?
The developer formerly known as ZGitRDun8705
the purpose of writing my own launcher was to get the splash screen to work right. unless i'm still trying to find the dumb problem with this disable splash image but with no luck.
Na na na, come on!
What issues were you having with the splash screen? The ini not working to disable it? Have you looked at the other launchers that do this, and did you have the ini in the right directory when trying to disable the splash?
The developer formerly known as ZGitRDun8705
For you
Download
I leave it up for a day or two. Unless dbdii wants me to leave it up.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
thanks Oliver
The developer formerly known as ZGitRDun8705
i dont mind
develop 5 is gonna come in soon so it might not make a difference.
i dont mind if anyone makes a second link. i was to buzy with "school".
Na na na, come on!
The ini works now, but in order for this to be more "official" the ini should be in the root directory. This would work the same way that all the other portable apps work. If you look at the code for the 7-Zip launcher you'll see what I mean.
I'm by no means a great developer. In fact, there's some code I'm absolutely not proud of. But . . . I offer help when I can- just beware to take everything with a grain of salt.
Is checking into your data folder- it should just be the $EXEDIR.
I'm a little confused why you hardcoded the ini creation into your launcher.
That's all I can see as far as your splash problem. Just stick a copy of the ini in the source directory.
As far as the reg import/export/backup, I stop there. I don't have any experience in that area. But I will take a look and see if I see any Obvious errors.
Questions:
Do you all think the image directory for the screenshots should be Documents\Pictures\Screenshots? Yes- but only if checks to see if that directory is present. Else- you are creating a bunch of folders which somepeople may not have. And I agree that it's annoying.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
It does check is Documents\Pictures exists. However, it will create \Screenshots as many people will not have that folder obviously.
And for some reason he changed the launcher. dbdii, I suggest you change the launcher back. Having it look for the INI in a different directory with different variables will just throw users off from the norm we currently have.
i didn't see that.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I just solved your DisplaySplashScreen issue! your LightScreenPortable.ini had
but it should have been
Also, you had some unneeded code in your launcher. I have removed it, and will upload my fixes momentarily.
Edit: Here it is. Good work on getting this going, it's a great application. I added another entry to LightscreenPortable.ini as well, the user can now set a custom screenshot path via the ini. Relative paths are accepted because the path is created relative to $EXEDIR
The developer formerly known as ZGitRDun8705
please tell me how this solves the disablesplashimage thing? it doesnt disable my splash image after telling it true
and yes its in the correct folder
Na na na, come on!
Download my corrected version from here.
Part 2 of the issue is where you had your IfErrors NoINI it should go at the end of the ReadINI section, you had it in the middle of the section.
I just tested it and it works perfectly.
Are u sure you had it in the correct directory? It should be LightscreenPortable.ini (not LightScreenPortableSettings.ini) and it should be in the LightscreenPortable folder.
Edit: Sorry if I sound like I'm being critical, that is not my intent, i'm just trying to help you sort the issue out. You've done a great job so far on getting this app started, it'll make a great addition to the list of official apps.
The developer formerly known as ZGitRDun8705
k if it work's on my end ill make ur fix development 6
Na na na, come on!
Thanks and good luck.
I've now tested on 2 machines, XP Pro limited account and XP Home admin account and it worked in both.
The developer formerly known as ZGitRDun8705
I haven't checked the registry at all, but it works well in vista ultimate sp1, and doesn't leave anything obvious left on the hard drive
Looking good now I'd say this is just about ready to go. May I suggest you contact the author of the base application and mention the issue with appending the timestamp to the file name? It should be giving something like year.month.day.time, but it looks like it's just a random series of numbers.
I made another quick fix to fix something that was an issue on my part. The IfErrors NoINI that I told you to move yesterday, really was in the right spot the first time. Should I upload my fix, or can you make another release that corrects it?
The developer formerly known as ZGitRDun8705
The only thing left to fix is the Trolltech folder in the registry. I've been looking at the entries in that folder and it seems like they don't need to be saved. I think you just need to add a couple of lines to delete that folder. Other than that, I think it's probably as good as it's going to get.
I think we are ok. all i have to do is add in an entry to delete the un-needed reg entrys. i should have that done in about 2 hrs. cause im at a school
Na na na, come on!
Development Test 7 Released. Please Test It Out
Na na na, come on!
Please put up your alternative download as well. I'll test the update out and report back in an hour or so.
The developer formerly known as ZGitRDun8705
Click Here
Na na na, come on!
please edit the link into your main post, instead of changing the link in the main post to point to this comment.
The developer formerly known as ZGitRDun8705
I've just tested Dev Test 7 in Vista Ultmate SP1 and XP Pro sp2 and I couldn't find any obvious problems.
I might as well put my 2 cents in for the default save folder now (but if it's too late just ignore it). I would prefer to see it default to Document\Pictures
To be the same as the other apps on this site, the reg key should be 'lightscreen.reg' instead of 'lightscreen_portable.reg' This is a very minor change and after this, I don't think there would be any additional changes until the original author fixes the timestamp issue.