Screen Shot Changer

Apps, websites, tools and helpers for Elite: Dangerous
User avatar
de Carabas
Master
Master
Posts: 1260
Joined: Sat Dec 27, 2014 7:23 pm
CMDR: de Carabas
CMDR_Platform: PC-MAC
Contact:

Re: Screen Shot Changer

Postby de Carabas » Sun Aug 09, 2015 3:32 pm

Boozeman wrote:Hi,

Found out that you can get that access denied to temp.log if you haven't set properly the rights of the directory, where the exe lies. Even if the exe is your files directory.

I make directory called ScreenShotChanger on c:\users\user\
Give it full rights with my windows user
Copied the exe there (remove that temp.log is exist)
Set directories and settings on program

When hit the enable, no more errors and access denies. No need to run as administrator.

Yep (to all of that).
Permissions is a funny area. Easier to avoid the pain by putting apps in a directory that you own. I found that early with E: D :D
Image
Rename your screen shots automatically! - Screen Shot Changer Visit MartianFire for more info.

User avatar
Boozeman
Novice
Novice
Posts: 99
Joined: Tue Feb 03, 2015 7:38 pm
CMDR: Boozeman
CMDR_Platform: None Specified
Contact:

Re: Screen Shot Changer

Postby Boozeman » Sun Aug 09, 2015 5:01 pm

de Carabas wrote:Yep (to all of that).
Permissions is a funny area. Easier to avoid the pain by putting apps in a directory that you own. I found that early with E: D :D


And the problem will occur, even if you have rights on the folder, but started the program once as administrator. You don't have rights on that temp.log necessarily anymore :)
Image

User avatar
BlueDrache
Mostly Harmless
Mostly Harmless
Posts: 32
Joined: Sun Jul 19, 2015 10:01 pm
CMDR: Blue Drache
CMDR_Platform: None Specified
Contact:

Re: Screen Shot Changer

Postby BlueDrache » Sun Aug 09, 2015 6:27 pm

Jeffers2112 wrote:I've tried running the utility but it gets "access denied" trying to get the log file. I've tried editing the permissions to give full access but that hasn't helped. I had thought about running the program as administrator but it doesn't look like that's an option?
I also found that after I shut down and restarted the utility that the path names had reverted to the defaults, is this normal?


To run a program in admin, you should be able to right click it and select "run as admin". What I do is set a shortcut pointing to the executable and the shortcut is set to "run as admin" under the advanced tabs when selecting "properties".

de Carabas wrote:
Flip wrote:Hey, I have a feature request for you, De Carabas: would it be possible to store the user preferences (paths, options, etc) in a separate config file?


Yep, makes sense.


You could also muck about in the registry if you feel brave enough and create a key or two in HKLM (global) or HKCU (current user) to store the settings. That way a file doesn't have to be created. Downside may be having to elevate to admin permissions on launch.
Lofting the cyberwinds on teknoleather wings, I am ...
The Blue Drache
Image

User avatar
de Carabas
Master
Master
Posts: 1260
Joined: Sat Dec 27, 2014 7:23 pm
CMDR: de Carabas
CMDR_Platform: PC-MAC
Contact:

Re: Screen Shot Changer

Postby de Carabas » Sun Aug 09, 2015 6:44 pm

BlueDrache wrote:
You could also muck about in the registry if you feel brave enough and create a key or two in HKLM (global) or HKCU (current user) to store the settings. That way a file doesn't have to be created. Downside may be having to elevate to admin permissions on launch.

Yeah, I went that route with an application that I wrote to help with timezones and calendars at work. I came to the conclusion that I wished I had gone with an xml file format :D
Image
Rename your screen shots automatically! - Screen Shot Changer Visit MartianFire for more info.

User avatar
de Carabas
Master
Master
Posts: 1260
Joined: Sat Dec 27, 2014 7:23 pm
CMDR: de Carabas
CMDR_Platform: PC-MAC
Contact:

Re: Screen Shot Changer

Postby de Carabas » Mon Aug 10, 2015 9:05 pm

OK, another new version is available from the same location. I've added the feature to append the output log to a file for future reference and to (in theory) have the application copy settings across on version changes. For the moment I continue to use the built-in .net way of saving settings rather than a custom xml as my brain hurt looking at it :D
Image
Rename your screen shots automatically! - Screen Shot Changer Visit MartianFire for more info.

User avatar
BlueDrache
Mostly Harmless
Mostly Harmless
Posts: 32
Joined: Sun Jul 19, 2015 10:01 pm
CMDR: Blue Drache
CMDR_Platform: None Specified
Contact:

Re: Screen Shot Changer

Postby BlueDrache » Mon Aug 17, 2015 2:15 am

My issues seem to have cleared up. I'm leaving my last logfile in the logs folder, though, just in case and it helps everything to run smoothly. That being said ... feature request... remember where on the screen and/or which monitor it was left on. I usually put the tools I use up on secondary monitor and play off of primary monitor. Every time I start, I have to drag the window from its home position (looks like X:50 Y:50 on primary monitor) to the secondary one.

It's just a minor annoyance, though.

Thanks for making this!
Lofting the cyberwinds on teknoleather wings, I am ...
The Blue Drache
Image

User avatar
de Carabas
Master
Master
Posts: 1260
Joined: Sat Dec 27, 2014 7:23 pm
CMDR: de Carabas
CMDR_Platform: PC-MAC
Contact:

Re: Screen Shot Changer

Postby de Carabas » Mon Aug 17, 2015 7:26 am

BlueDrache wrote:My issues seem to have cleared up. I'm leaving my last logfile in the logs folder, though, just in case and it helps everything to run smoothly. That being said ... feature request... remember where on the screen and/or which monitor it was left on. I usually put the tools I use up on secondary monitor and play off of primary monitor. Every time I start, I have to drag the window from its home position (looks like X:50 Y:50 on primary monitor) to the secondary one.

It's just a minor annoyance, though.

Thanks for making this!


Glad it's working OK.

Yes, I can add an option to have it remember where it was last on screen. I've done that before in a different app I wrote. I'll put it in the next version. I might as well also add the option to launch at windows start, minimise to system tray etc.
Image
Rename your screen shots automatically! - Screen Shot Changer Visit MartianFire for more info.

User avatar
de Carabas
Master
Master
Posts: 1260
Joined: Sat Dec 27, 2014 7:23 pm
CMDR: de Carabas
CMDR_Platform: PC-MAC
Contact:

Re: Screen Shot Changer

Postby de Carabas » Wed Aug 19, 2015 5:24 am

I'm going to start looking at the next version of SSC later. My plan is to add
1) minimise to system tray option
2) ability to remember screen location when it starts up
3) option to start up with windows (will be off by default)
4) ability to rename video captures, which will need new locations for input and output to be specified (although you can use the same paths as for images)

Before I get on with that is there anything else burning that I've missed? Any date formats in the output in particular etc?
Also, my testing for video renaming will be .mp4 files generated by nVidia experience. Any other file formats being used out there?
Image
Rename your screen shots automatically! - Screen Shot Changer Visit MartianFire for more info.

User avatar
Loriath
Dangerous
Dangerous
Posts: 2896
Joined: Thu Mar 05, 2015 1:12 pm
CMDR: Loriath
CMDR_Platform: PC-MAC
Contact:

Re: Screen Shot Changer

Postby Loriath » Wed Aug 19, 2015 6:16 am

de Carabas wrote:I'm going to start looking at the next version of SSC later. My plan is to add
1) minimise to system tray option
2) ability to remember screen location when it starts up
3) option to start up with windows (will be off by default)
4) ability to rename video captures, which will need new locations for input and output to be specified (although you can use the same paths as for images)

Before I get on with that is there anything else burning that I've missed? Any date formats in the output in particular etc?
Also, my testing for video renaming will be .mp4 files generated by nVidia experience. Any other file formats being used out there?


The only option I can think of is a Custom Naming Variables that you can build.
For example you have custom vars such as %s=System %t=time %d=long date %sd=shortdate which I can put in whatever order I want.
I could do mine as named as %S - %D so my names would be like "LTT 7777 - Tuesday January 12 2015" or %S - %SD for "Alioth - 12-01-2015"
The only issue is that Short Date would have to be based on System or regional date formats. 'Mericans do Month Day Year, the rest of us do Day Month Year.

And maybe for the 4K lovers, a TIFF option for a better option of less compression? Or another format similar? I don't use 4K shots, but I imagine that some people out there would love a RAW option :) But the game does BMP.
Image
My Commander has Small Feet
"You're doing it wrong". No, we are having Fun OUR way.
~-~The A-Team Board ~-~
12 year olds tearing around the woods on dirt bikes have LESS FUN than we do!

User avatar
Flip
Dangerous
Dangerous
Posts: 3342
Joined: Fri Sep 19, 2014 12:00 pm
CMDR: Flip Martin
CMDR_Platform: None Specified
Contact:

Re: Screen Shot Changer

Postby Flip » Wed Aug 19, 2015 7:09 am

I like Loriath's suggestion to allow the user to define the file name with variables.

For the date, how about getting inspiration from how PHP does it ? For example the options could be:

%d : Day of the month, 2 digits with leading zeros (01 to 31)
%D: A textual representation of a day, three letters (Mon through Sun)
%j: Day of the month without leading zeros (1 to 31)
%l: A full textual representation of the day of the week (Monday through Sunday)
%m: Numeric representation of a month, with leading zeros (01 through 12)
%M: A short textual representation of a month, three letters (Jan through Dec)
%n: Numeric representation of a month, without leading zeros (1 to 12)
%Y: A full numeric representation of a year, 4 digits (i.e. 2015)
%y: A two digit representation of a year (i.e. 15)

This way, the user could easily define their own format. For example I'd use %Y-%m-%d.
Image
We demand rigidly defined areas of doubt and uncertainty! ―Douglas Adams


Return to “Tools and Helpers”

Who is online

Users browsing this forum: No registered users and 0 guests

i