Photoshop Script USER DATA Editor (Alpha test version)

cowasaki

TPer Emeritus
Suspended / Banned
Messages
19,708
Name
Darren
Edit My Images
Yes
Well I have made a start on the editor. The complicated (behind the scenes) stuff is coded now and it works on the fields that are in the user interface ie Name and Company but as these are the two things everyone has to change was the best place to start.

I will post a beta test version when I have designed the screen for the whole USER DATA.lib file and once this is all up and working I am going to produce a second script to handle the EBS files so you can change colours by selecting them and font sizes using sliders and other such nice things !!

I really could do with some feedback as to whether this works on everyones setup. I particularly need a PC user to test it.

Link to script thread : http://www.talkphotography.co.uk/forums/showthread.php?t=70746&page=15

Link to download of alpha test script : http://www.upgradeyourmac.co.uk/prerelease/User Data Editor TEST.zip



BACKUP YOUR "USER DATA.lib" FILE BEFORE YOU USE THIS SCRIPT JUST IN CASE!!!
 
Just uploaded 2nd Alpha test version as the first one had remains of the EBS screen layout on it.....
 
Sorry I typed the link in wrongly, it has been fixed now :)
 
Thank you :D

It asks for name and company name (already filled in correctly so had read the user data lib file ok) changed details and it updated them ok in the file. Using PC running windows XP
 
Thank you :D

It asks for name and company name (already filled in correctly so had read the user data lib file ok) changed details and it updated them ok in the file. Using PC running windows XP

Fantastic, just what I wanted to hear. I am still working on the distorted images problem but at least now I know it is working I can carry on with that later. Thanks
 
error.jpg

Using cs3 on xp
 
error.jpg

Using cs3 on xp

Does this only happen with the 2nd version?

Which version of the user data file are you using?

There are no checks in it YET as to what to read from different versions. I has just finished the next version which now changes every field in the user data file other than the files/directories and the colour definitions.

I might leave the files/directories as it is because it defaults to the user's picture directory and user directory which sounds reasonable anyway! I might just leave them until after I have done the EBS editor because I will need to do a colour picker etc for that.
 
Only with the second version ... http://www.upgradeyourmac.co.uk/prer...tor TEST 2.zip

User data file was the first one you produced when you went all spangly and created the easy editting files :lol: I upgraded everything else except that file ... Just checked, Version 1.00
 
I can upgrade it if it helps. Oh hell, I will anyway
 
ok, now using Version 1.1.5

And still the same error
 
Any chance of sending me the user data.lib file or posting it please
 
Hang on a sec ... the old and new files are incompatible ... editting the required files to do a fresh start, then I'll test again
 
Right, I'm still getting the error but only on the second script. I've renewed all files and editted them accordingly to my wishes .... user data.lib for your perusal :)
 
I have found the error, in the latest exif border.zip file, the exif border initialise.lib is a copy of the user data override.lib v1.1.4
 
I have found the error, in the latest exif border.zip file, the exif border initialise.lib is a copy of the user data override.lib v1.1.4

Woops, actually it's not its just incorrectly labelled inside the file ! Sorry :) Just fixed it for the next version....
 
Gary, your USER DATA.lib file works correctly in the NEW version 3...

Just trying version 2
 
Strange, your data file works with version 2 on my computer too!

Has anyone with a PC found version 2 to work?
 
Gary have you placed the file into the script directory?
 
Sorry mate but I'm at work now with no access to my files until 0600 tomorrow :(

Yes the file was in the script dir. I'll double check everything when I get home as I get confused with more than one file open at a time ... I dont know how you manage it :lol:

I'll save my settings files in a safe place and do a full, fresh install of the new version without editing anything and go from there :)
 
Oh and to anyone who seems to be having problems remove any text whatsoever after a semi colon on a line containing a variable!

Versions of the script from 1.1.6 onwards (which will include this editor) will be made compatible by me deleting the spurious characters already but just to make your file compatible just delete them ie

var blah = "fsdfsfsdfsf"; // don't delete

needs to be

var blah = "fsdfsfsdsf";

also watch out for extra spaces after the semi colon on a few lines.

REMEMBER THIS IS PRE RELEASE AND WILL ONLY ACTUALLY BE RELEASED WITH 1.1.6 WHO'S USER DATA.LIB FILE WILL BE FIXED IN THE ZIP !!
 
I've removed all previous files and dirs. d/loaded the latest version and all of the user data test files and NOT edited any files ...
run from cold and Test 1 runs fine, Test 2 errors as above, Test 3 errors as above but on line 303
 
I've removed all previous files and dirs. d/loaded the latest version and all of the user data test files and NOT edited any files ...
run from cold and Test 1 runs fine, Test 2 errors as above, Test 3 errors as above but on line 303

Ok, will look at it shortly. might well send you a special user data.lib file to try
 
ok, I'm here now till about 21.15 :)
 
Ok you can now download the forth version of the script which should allow editing of anything other than the filenames/directories section plus the colours!

It also removes any remarks and extra spaces after variables (placing them before the current line) in the user data.lib file, this is possibly what is causing the problems on some systems



Link to download of alpha test script : http://www.upgradeyourmac.co.uk/prerelease/User Data Editor TEST 4.zip

EDIT: ADDED NEW VERSION at 21:59 2nd Jan (original one referring to file "USER DATA.lib copy") !!
 
Screen display now sorted and script tidied up. (Note functions will be removed to cow library for release)

This works faultylessly on my Mac and the only reports I have had from other people are one report that versions 2-4 don't work on CS3 on a PC. Has anyone else had the same problems or no problems ??

The first Alpha version of the EBS script editor should appear in the next few days too ! This is the really useful script as it allows you to change the actual appearance of borders rather than just user data.

Link to download of alpha test script : http://www.upgradeyourmac.co.uk/prerelease/User Data Editor TEST 5.zip
 
Test 5 appears to work fine, however if I now try to run any of the EBS scripts, Im getting Error 2: CONVERTED is undefined. Line 154 ->//
 
Test 5 appears to work fine, however if I now try to run any of the EBS scripts, Im getting Error 2: CONVERTED is undefined. Line 154 ->//

THAT is a very good point !!!!

Just change the last line of the USER DATA.lib file

FROM

CONVERTED

TO

//CONVERTED//

I will change the script to do this from now on. Basically the script has to remove any remarks that are on the lines AFTER the final semi colon. It does this and inserts the remark to the line before!

I will post a screen shot of the EBS script too but it is not even at an ALPHA test stage yet....
 
On the EBS multiline white, I'm finding that the text at the bottom is overshooting the edge of the image in portrait aspect... is there a fix for this?

And have we lost the actual focal length? It shows the 35mm equivalent ... I'm sure it was in previous versions. Now found, was off screen
 
On the EBS multiline white, I'm finding that the text at the bottom is overshooting the edge of the image in portrait aspect... is there a fix for this?

And have we lost the actual focal length? It shows the 35mm equivalent ... I'm sure it was in previous versions. Now found, was off screen

If you look for the variable TextSizeBottom you can make the font size of the bottom line smaller but I will have a look for you. Think I know what you are saying.
 
I think it needs to auto wrap dependent on width of picture, if that's possible
 
I think it needs to auto wrap dependent on width of picture, if that's possible

It does work in landscape mode but something I have done elsewhere has broken it in portrait mode. I will find the problem and issue a fix as soon as I can. For the moment here is a work around.....

Once you have run the script click on the layer that contains the EXIF data in the layers list. Now select the TEXT tool and click on the text. You can now insert carriage returns where you want them to make it fit correctly and re-size if you like. You can also make use of the variable TextSizeBottom and change this to a smaller value in order to make sure that the text fits.
 
Looks great, what about white balance and sharpning? Just a thought.:)
 
Looks great, what about white balance and sharpning? Just a thought.:)

Sharpening is in the script. There are quite a lot of variables left to add to the editor screen and the copyright text, icon, sharpening etc are not yet on the screen but still available within the script.
 
On the EBS multiline white, I'm finding that the text at the bottom is overshooting the edge of the image in portrait aspect... is there a fix for this?

And have we lost the actual focal length? It shows the 35mm equivalent ... I'm sure it was in previous versions. Now found, was off screen

FIXED!

Fix will be in next version but you can fix this for yourself if you look in the file "EXIF Border Lib.lib" and search for the function ImageDataTextBottom and make a change to one of the variables, change the line starting TI.width so that it is as follows:

TI.width = actualwidth-BorderWidth-StrokeWidth;

Make sure that it is EXACTLY as above and the text wrapping will work again.
 
Cheers mate, I'll give it a try when i get home at 6 :)
 
Back
Top