You are here

Lightscreen Portable Development Test 7 (Testers Needed) *Outdated*

44 posts / 0 new
Last post
David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
Lightscreen Portable Development Test 7 (Testers Needed) *Outdated*

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 Wink


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?

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
this probably should have

this probably should have been a continuation of the first thread, instead of a new thread...glad to see the update though Smile

The developer formerly known as ZGitRDun8705

Travis Carrico
Offline
Last seen: 16 years 1 month ago
Developer
Joined: 2006-10-22 00:30
storage folder

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

Patrick Patience
Offline
Last seen: 5 years 1 week ago
DeveloperModerator
Joined: 2007-02-20 19:26
Yea

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.

Travis Carrico
Offline
Last seen: 16 years 1 month ago
Developer
Joined: 2006-10-22 00:30
a couple more things

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.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
Thank You

I will add that in next release. Wink

Na na na, come on!

Patrick Patience
Offline
Last seen: 5 years 1 week ago
DeveloperModerator
Joined: 2007-02-20 19:26
Don't Change

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.

Patrick Patience
Offline
Last seen: 5 years 1 week ago
DeveloperModerator
Joined: 2007-02-20 19:26
No

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. Blum 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.

Travis Carrico
Offline
Last seen: 16 years 1 month ago
Developer
Joined: 2006-10-22 00:30
ok i just assumed "first

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.

Patrick Patience
Offline
Last seen: 5 years 1 week ago
DeveloperModerator
Joined: 2007-02-20 19:26
Ok

I just wanted to give the user a bit of freedom, but it would make in considerable better so I think you're right.

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
For the Development Test

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

Devo
Offline
Last seen: 1 year 1 month ago
Joined: 2007-09-04 14:55
LightscreenPortable.ini doesn't work

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.

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
yeah, the date naming

yeah, the date naming function is kinda screwy, i had the same issue.

The developer formerly known as ZGitRDun8705

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
04(month)11(date)2008(year)14

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

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
that would make sense, the

that would make sense, the filename he got was a random series of numbers though

screenshot.1207938157.jpg

The developer formerly known as ZGitRDun8705

rozberk
rozberk's picture
Offline
Last seen: 3 years 2 months ago
Joined: 2007-05-14 15:05
Years -> Minutes

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.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
srry....

i dont have any control over this issue.

unless there is a reg thing i can change Wink

Na na na, come on!

Devo
Offline
Last seen: 1 year 1 month ago
Joined: 2007-09-04 14:55
Registry Entries

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.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
Thanks

Wink

Thank You For The Find Smile
Im Still Trying To Solve The INI Issue With The Splash Image.
Thanx

Na na na, come on!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
Can you get your

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

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
well

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!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
What issues were you having

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

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
For you Download I leave it

For you Smile
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

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
thanks Oliver

thanks Oliver

The developer formerly known as ZGitRDun8705

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
ty.

i dont mind Wink
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!

Devo
Offline
Last seen: 1 year 1 month ago
Joined: 2007-09-04 14:55
ini in wrong place

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.

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
I'm by no means a great

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.

IfFileExists "$EXEDIR\Data\${DEFAULTSETTINGSPATH}\${NAME}Settings.ini" INIEXISTS NoINI

Is checking into your data folder- it should just be the $EXEDIR.

NoINI:
			;== Create INI File
				CreateDirectory "$EXEDIR\Data\${DEFAULTSETTINGSPATH}"
				WriteINIStr "$EXEDIR\Data\${DEFAULTSETTINGSPATH}\${NAME}Settings.ini" "${NAME}Settings" "ShowSplashScreen" "true"
			;== Create Folders If The Dont Exist
				CreateDirectory "$EXEDIR\Data"
				CreateDirectory "$EXEDIR\Data\settings"
				GoTo INIEXISTS

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

Patrick Patience
Offline
Last seen: 5 years 1 week ago
DeveloperModerator
Joined: 2007-02-20 19:26
Yes

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.

OliverK
OliverK's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2007-03-27 15:21
i didn't see that.

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

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
I just solved your

I just solved your DisplaySplashScreen issue! your LightScreenPortable.ini had

[LightscreenPortable]
Lightscreen=App\Lightscreen
SettingsDirectory=Data\settings
LightscreenExecutable=lightscreen.exe
AdditionalParameters=
DisableSplashScreen=true

but it should have been

[LightscreenPortable]
LightscreenDirectory=App\Lightscreen
SettingsDirectory=Data\settings
LightscreenExecutable=lightscreen.exe
AdditionalParameters=
DisableSplashScreen=true

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

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
no effect

please tell me how this solves the disablesplashimage thing? it doesnt disable my splash image after telling it true Sad

and yes its in the correct folder Wink

Na na na, come on!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
Download my corrected

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

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
.

k if it work's on my end ill make ur fix development 6 Wink

Na na na, come on!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
Thanks and good luck. I've

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

millarrp
Offline
Last seen: 11 years 2 months ago
Joined: 2007-03-02 13:43
works in vista ultimate sp1

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

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
Looking good now I'd say

Looking good now Smile 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

Devo
Offline
Last seen: 1 year 1 month ago
Joined: 2007-09-04 14:55
Trolltech

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.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
.

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 Wink

Na na na, come on!

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
New Release

Development Test 7 Released. Please Test It Out Wink

Na na na, come on!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
Please put up your

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

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 10 months ago
Developer
Joined: 2007-06-11 22:54
Alternative Link

Na na na, come on!

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 14 min ago
Developer
Joined: 2006-12-06 18:07
please edit the link into

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

millarrp
Offline
Last seen: 11 years 2 months ago
Joined: 2007-03-02 13:43
dev test 7 works in vista ultimate sp1 and xp pro sp2

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

Devo
Offline
Last seen: 1 year 1 month ago
Joined: 2007-09-04 14:55
Just a minor change

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.

Log in or register to post comments