PSP Times Three
TJP Make Tags Scripting





Section Four - Editing The Make Tags Script

You have clicked the scroll and feather and a page opened for you. It is now time to begin editing this script. The page has a bunch of stuff at the top. Scroll down the page just below/under this:

# Go to the bottom of the file to view the version history of the tag maker
##########################################

###########################################
# Set global variables.
###########################################


Right here you will then see a paragraph like this:

# The name of the file with the list of names. Full path should be included.
# Put the file name inside the quotes. Leave the r there. E.G. r"E:\Names.txt"
# This is required.
strListofNamesFile = r""

See where I made the 2 quotes red? That is where you are going to put your own file path - here is how:

  • 1. go to the folder ScriptTags/eloisethankyou/ and open it
  • 2. go to the browser (top of the folder you'll see a browser bar) of that folder, highlight and copy it.
  • 3. paste it between those 2 quotes
    Look at this image to see how to find the path:


    4. then at the end of your path and before the closing quotes, add \TagNames.txt . Note the backslash before TagNames.txt. You will then have a path that looks something like this:
    "C:\ScriptTags\eloisethankyou\TagNames.txt"
  • Next paragraph. Do the exact same path between the bottom 2 quotes but put (the actual name of your tag) should be something like this:
    "C:\ScriptTags\eloisethankyou\eloisethankyou.PspImage"
    or jpg (whichever it is)

  • Next paragraph... No full path here. Just put the "NameOfYourTag-AddText" between the 2 quotes (Note the hyphen between your tag name and AddText) Like this: "eloisethankyou-AddText"

  • Skip the next paragraph and go to the following one about "Text Formatting". Do the same as you did for AddText but use "NameOfYourTag-TextFormatting" (again note the hyphen between your TagName and TextFormatting) Again, Like this: "eloisethankyou-TextFormatting"

  • Next paragraph... This time open that 2nd folder that has the name of your tag on it. Go to the Browser bar, highlight/copy/paste into the 2 quotes at end of the paragraph. You should have something like this:
    C:\ScriptTags\YourTagName\YourTagName
    Example: "C:\ScriptTags\eloisethankyou\eloisethankyou"

  • Next para is optional. This is where you can put the name of your tag - "eloisethankyou_"
    Note: what this does is place the tag name at the front of the tag when it makes it. Using an underscore line after the tag name seperates that from the person's name.

  • Next para is optional too. This is where you put your initials. Should look like "_cc" Again use an underscore before the initials to seperate the name on the tag from your initials. The finished tag would read something like this:
    "eloisethankyou_Person'sName_cc"

  • Next para. This MUST be done. It will change depending on what type of tags you are making. If you are going save all the scripted tags as a psp file for ani shop then you need to use the #3. If you are saving the scripted tags as jpeg then use the #1

  • Next para. You need to set your jpg compression. Most recommend 10. You can choose whatever you want but you shouldn't go higher than 15. The higher you go the less quality you receive.

  • Next para is about Upper, Lower, Mixed, cases for your text. Example: "Cathie" is a mixed case or MC, "cathie" is lower case or LC, and "CATHIE" is upper case or UC.... If you set this to MC, the script will adjust if a name on your list is all lower or upper case.

  • Next para keep at "Y"

  • Next para is about your side borders. If you have a framed graphic and it is 10 pixels wide you should put about 12-13 there so if you happen to have a really long name it won't place it on your frame. Allow just enough extra above the size of your frame. If you are making a psp image w/no borders use a 3 so the text won't run off the image space.

  • This para is how you are aligning your text. H for across horizontal and V for up and down vertical. Most use H when scripting as it adjusts if you have angled text.

  • Place "N" in the next para

  • This one is about centering your text. Do you want it aligned to the left side, use "L" or justified right side, use "R", or centered, use "C".

  • The next two use "N" all the time.

  • Once you finish all of this go to the top - File/Save As - Then save it; YourTagName-MakeTags.pspscript and save it in your Tag Name folder.
    Example: eloisethankyou-MakeTags.pspscript saved in the eloisethankyou folder.

  • Close it out

  • Go to that drop down in PSP Script Tool Bar again where it says MakeTags and using the drop down look for "YourTagName-MakeTags" and select that. (Example: eloisethankyou-MakeTags)



~~~~~~~~~~~~~~~~

Page Three

Page One

Tutorials Index

~~~~~~~~~~~~~~~~







This tutorial was written and graphics used were created by Cathie.
Any similarities to other tutorials is merely a coincidence.
©   PSP Times Three
~October 2006~