Scripting

With Paintshop Pro version 8, came a brand new feature: scripting. This will be a feature that would prove to help the PSP users in many ways. It would help repeat exactly the same steps in different situations, speed up the process and make it more accurate for the user. Scripting can be as simple as recording your steps, or can be more complex with programming more commands into the code. You can create scriptsto edit photos, graphics, create buttons, add watermarks, manipulate images and layers, and much much more.

This course is self-taught, meaning you can follow the lessons at your own rhythm. It is not dependent on a schedule or a calendar; you can stop and restart at your convenience. Each lesson is very detailed, with practice exercises. Even if you do not have to hand in the practice activities, it is essential that you go through them (trust me, I went through this course myself).

 

Prerequisites: For PSP Scripting 1, students should have a working knowledge of Paint Shop Pro, version 8 or above. Each course is a prerequisite for all following courses.

Requirements: Installed copy of Paint Shop Pro 8 or above. You can download a trial version of the current release at the Corel site HERE.

(due to some technical limitations, you can currently only purchase one product at the time, whether it is one course, or the whole program)

 

Scripting 1:

[s2If current_user_can(access_s2member_ccap_script1)]

[/s2If]

Lesson01 – Exploring the Script toolbar and the Script Output palette, distinguishing between Restricted and Trusted Scripts, and recording and running a script.

Lesson02 – Using the PSP Script Editor, introduction to the Text Editor, and printing scripts.

Lesson03 – Becoming familiar and comfortable with the Text Editor, examining basic script format, adding comments to scripts, and changing dialog parameters using the Text Editor.

Lesson04 – Adding “print” commands to Scripts.

Lesson05 – Looking as some practical applications for “print” commands, introducing the concept of variables in scripts, and using “print” commands to assist in debugging problem scripts.

 

Scripting 2:

[s2If current_user_can(access_s2member_ccap_script2)]

[/s2If]

Lesson06 – Examining the Python Dictionary structure and its use in Paint Shop Pro scripts, and introduction to using Materials in scripts.

Lesson07 – Expanding knowledge of Python dictionary structure, and continuing to explore using Materials in scripts.

Lesson08 – Continuing to expand knowledge of Python dictionary structure, and learning how to control colors in dialogs.

Lesson09 – Learning how to use the PSP MsgBox command.

Lesson10 – Learning how to use the PSP GetString command.

[s2If !current_user_can(access_s2member_ccap_script1)]$15

[/s2If]

[s2If !current_user_can(access_s2member_ccap_script1)][s2Member-PayPal-Button level=”1″ ccaps=”script1″ desc=”Scripting 1″ ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”scrapbookcampus.com” ta=”0″ tp=”0″ tt=”D” ra=”15″ rp=”1″ rt=”L” rr=”BN” rrt=”” rra=”1″ image=”http://scrapbookcampus.com/Images/BuyNow-03L-200.png”/][/s2If]  

[s2If !current_user_can(access_s2member_ccap_script2)]$15

[/s2If]

[s2If !current_user_can(access_s2member_ccap_script2)][s2Member-PayPal-Button level=”1″ ccaps=”script1″ desc=”Scripting 1″ ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”scrapbookcampus.com” ta=”0″ tp=”0″ tt=”D” ra=”15″ rp=”1″ rt=”L” rr=”BN”
rrt=”” rra=”1″ image=”http://scrapbookcampus.com/Images/BuyNow-03L-200.png”/]
[/s2If]

Scripting 3:

[s2If current_user_can(access_s2member_ccap_script3)]

[/s2If]

Lesson11 – Learning how to use the PSP GetNumber command.

Lesson12 – Learning how to use the “if-else” structure in scripts.

Lesson13 – Continuing to expand skill with using the “if-else” structure, and introducing the return command.

Lesson14 – Learning how to code and evaluate compound “if” statements, and learning how to perform mathematical calculations in scripts.

Lesson15 – Learning what Python lists and tuples are, and how to access data in lists and tuples.

 

Scripting 4:

[s2If current_user_can(access_s2member_ccap_script4)]

[/s2If]

Lesson16 – Examining and using the ReturnLayerProperties command, and introduction to the PSP Application Programmer’s Interface (API) documentation.

Lesson17 – Examining and using the ReturnImageInfo command, and continuing to review the API documentation.

Lesson18 – Examining and using the GetRasterSelectionRect command, and continuing to review the API documentation.

Lesson19 – Examining several more PSP and Python commands, including GetVectorSeletionRect, ReturnVectorObjectProperties, PrettyPrinter, GetCommandInfo, SetMaterial, and SetMaterialStyle, and looking at some handy scripts, including CenterLayer, AutoTuber, DeTuber, Laminate,
Delaminate,
SimpleCaption, Thumbnail_150,
GridMaker, PSP7PresetConverter, and ExploreConstants.

Lesson20 – Taking an in-depth look at layer selection notation in scripts.

[s2If !current_user_can(access_s2member_ccap_script3)]$15

[/s2If]

[s2If !current_user_can(access_s2member_ccap_script3)][s2Member-PayPal-Button level=”1″ ccaps=”script3″ desc=”Scripting 3″ ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”scrapbookcampus.com” ta=”0″ tp=”0″ tt=”D” ra=”15″ rp=”1″ rt=”L” rr=”BN”
rrt=”” rra=”1″ image=”http://scrapbookcampus.com/Images/BuyNow-03L-200.png”/]
[/s2If]
 

[s2If !current_user_can(access_s2member_ccap_script4)]$15

[/s2If]

[s2If !current_user_can(access_s2member_ccap_script4)][s2Member-PayPal-Button level=”1″ ccaps=”script4″ desc=”Scripting 4″ ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”scrapbookcampus.com” ta=”0″ tp=”0″ tt=”D” ra=”15″ rp=”1″ rt=”L” rr=”BN”
rrt=”” rra=”1″ image=”http://scrapbookcampus.com/Images/BuyNow-03L-200.png”/]
[/s2If]

Scripting 5:

[s2If current_user_can(access_s2member_ccap_script5)]

[/s2If]

Lesson21 – Introducing the concept of loops, and learning how to use “while” and “for” loops in scripts.

Lesson22 – Introducing the concept of functions, and using them in PSP scripts.

Lesson23 – Demonstrating and practicing using the Pause Script to control the execution of scripts.

Lesson24 – Demonstrating and practicing using the ScriptData Communications Area.

Lesson25 – Describing and using slicing in reference to strings, and describing some of the built-in methods used to change string or character case, test strings for content, or search strings for substrings or characters.

 

You can purchase

the whole program,

with all 5 courses,

and all 25 lessons

for only

 

>> $60 <<

 

(instead of $75 if purchased individually)

 

[s2If !current_user_can(access_s2member_ccap_script5)]$15[/s2If] [s2If !current_user_can(access_s2member_ccap_script5)][s2Member-PayPal-Button level=”1″ ccaps=”script5″ desc=”Scripting 5″ ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”scrapbookcampus.com” ta=”0″ tp=”0″ tt=”D” ra=”15″ rp=”1″ rt=”L” rr=”BN”
rrt=”” rra=”1″ image=”http://scrapbookcampus.com/Images/BuyNow-03L-200.png”/]
[/s2If]
 

[s2If !current_user_can(access_s2member_ccap_script1) AND !current_user_can(access_s2member_ccap_script2) AND !current_user_can(access_s2member_ccap_script3) AND !current_user_can(access_s2member_ccap_script4) AND !current_user_can(access_s2member_ccap_script5)][s2Member-PayPal-Button level=”1″ ccaps=”script1,script2,script3,script4,script5″ desc=”Complete Scripting Course” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”scrapbookcampus.com” ta=”0″ tp=”0″ tt=”D” ra=”60″ rp=”1″ rt=”L” rr=”BN” rrt=”” rra=”1″ image=”http://scrapbookcampus.com/Images/BuyNow-03L-200.png”/][/s2If]


About the instructor, Suz Shook:

 

“I have been involved with computers for over 20 years, having started as a large IBM mainframe programmer in the late 80’s and 90’s. I then turned my attention to the personal computer arena, and soon discovered Paint Shop Pro. I have served as a beta tester since version 8, and with the advent of scripting in PSP 8, my interest in programming again come to life, and I taught myself Python so I could go beyond simply recording scripts. Over the years, I have written hundreds of scripts, to automate lengthy or repetitive tasks, as well as to create frames and fun images like stamps and postcards and “blinkies”. After being asked the “how did you do that?” question over and over again, and wanting to share the intricacies and power of PSP scripts with everyone, I eventually developed a comprehensive course in PSP Scripting.”

 
For Photos That Matter