Forum Replies Created
-
AuthorPosts
-
I’ve also registered for this workshop.
Nice to see so many projects posted already!
Carole, this is a great tip of how to think and give the user different options: color, directions, shapes…without overwhelming myself from the start.
Next week I will go back and review the lessons… I am missing this too.
Right now, to release the stress of the last weeks, I am taking my time and working on a layout to practice the Lab 11-02 tutorials… I am so behind!
Hi Carole,
I haven’t done much since the last comment; still dealing with the situation, but hopefully will be better soon.
Since I have seen some of the options you coded in this script on FB and in the newsletter, I will say that I only have thought about giving the option of choosing colors and also patterns… But, of course, there is more to it… You also gave the choice of choosing the number of layers and… probably more… I have to check it in detail.
When you give the user different options, I only think of how many “if’s-else’s, etc.” the script must have! 🙂
I really want to go back to the lessons, but I have to be patient.
Carole, thank you for the clarifications!
-
<li style=”list-style-type: none;”>
- Cassel said: “Sorry for the delay. I had been “unsubscribed” from this thread that I started! Odd!”
- No problems, I also didn’t review anything since the last week… Other things to do and an eye infection, go to the eye doctor and only now it’s getting better but not a 100%… So I could not concentrate on scripting lessons.
Interesting challenge 🙂 …I’ll take a look later today or tomorrow and see if I can come up with other options! 😀
Great to have this thread for practicing, clarifying doubts, sharing experiences…
I am reviewing the lessons and started with Lesson 1. Sue mentioned adding the “Clear Output Window” icon to the Script Toolbar. I liked that and did the same.
In Lesson 3, she mentions the AutoActionMode parameter set to Match and its impact when running the script in Silent or Interactive mode.
” If you have ‘Convert vector layer to raster layer’ set to NEVER in Auto Actions, and you try to run a script that creates vector text and then applies a drop shadow to it, the script will fail on the DropShadow step with a ‘Command does not support target layer type’ error.
I have mine set to PROMPT (I have never changed anything in Auto Actions), so the script runs without problem.My question is: When coding for others, do you add any command to check/promote the Vector layer to Raster?
- This reply was modified 2 years, 9 months ago by Cristina.
It is heartbroken to see what is happening. My thoughts and prayers to everyone who is being affected by this in one way or another. :’-( … In a way, the whole world is. 🙁
Ann, thank you! 😀 … I sure need it! Lol
Wow, this Mask Workshop is really a hit! Nice to see already so many entries. Great work, Everyone!
After more than a year or so of not working with layouts, here is what I’ve created for Lesson 1. I rotate the photo/frame layer to fit the photo I had, and I merged the photo and stroke layers to create the mask.
Credits:
Photo from Pixabay — Background Paper (freebie from Kristin Aagard -Bunny Trail 2021) — String/Flowers (freebie from Palvinka-SpringTime Addon) — Alpha (freebie from Cassel – Licorice1 Tube)
- This reply was modified 2 years, 10 months ago by Cristina.
Here is Lesson21 loop – cass assignment
I finally finished coding the script… A few times, I had to terminate the script and PSP with ctrl+alt+del, but I got it right in the end. My image is only 1000 pixels.
Next, I will try the Lesson18 extra assignment (Datestamp)
Here is Lesson16 cass-Xchallenge Version 5 with all the scenarios you’ve mentioned, Carole. It was a great exercise!
I would not have thought of all these ‘Control checks’ if it were not for you pointing them out. And if there is more you think I should have done, please let me know! Thank you! 🙂
Now, I will look for the extra assignments you have given for the next lessons.
Edited: After going through your comments for Lesson 17, I realized I didn’t check if the image was a png (transparent), which in this case, the script would not work correctly… One more command to be added!
Thank you, Carole, for the explanation. 🙂
Carole, your bonus lesson is a treat!!
Here is Lesson 25 – challenges 3 & 4.
This was a great course, and I have enjoyed it very much. I’ve learned a lot -forgot a lot as well :)- but practicing and trying to replicate Carole’s tutorials will be a start to retain the knowledge.
Carole, I will create another version of this script, using the other way, allowing me to add all the other scenarios you’ve mentioned. The more I practice, the better I will memorize forgotten commands… And there are so many!
As I don’t have much experience coding scripts, I have a doubt: In which situation would I code a script for the user to run it on a “work in progress”?
Yes, I am! It’s been a long while since the last time I worked with masks, and they give a great effect.
Carole, this app can be very useful, and I love the colors of this palette.
I agree with Minka; you all have created beautiful and creative layouts. It’s a joy to look at them all! Great work, Trish, Anne, Pirkko, Corrie, and Sue!
Carole, I am working on a snippet with all the important points you’ve mentioned, so I don’t forget to include the commands when necessary. It’s great to have you to guide us!
In the above script, I added the “try-except” commands to check if there’s an open image… Reading Lynda’s comment from Lesson 5 helped me be reminded of them… I had forgotten them!
I tested all the other situations, and the script worked fine… I used the “AddBorder” command instead of how Suz was doing in her scripts — SelectAll/Modify/Contract, etc. — Which one would you recommend?
- This reply was modified 2 years, 10 months ago by Cristina.
Great points, Carole. We have to think of so many details when coding a script for someone else… And only someone with experience and knowledge like you and Suz can think of.
I” go back to the script and see how I will add those options… Thanks a lot for your input!
I finally finished the Challenge Postage Stamp… It was a good exercise.
First, I had problems with the Stroke variables, and my mistake was that I was not including the variables inside the brackets… it is a tuple!
Then, the Paint Brush impression was “disappearing” halfway on one side… It was the “dx-dy”… I had swapped them.
Last, it was not working correctly with a landscape image… Mistake in the “else command”.
I don’t know if the way I coded was the easiest or more correct way, but it finally worked with all Vertical-Square and Horizontal images.
I included a few commands in the script that were sometimes double/unnecessary. But it is a way to memorize.
Carole, any suggestions? 🙂
P.S.: I know you suggested another challenge/exercise in another following lesson. I will give it a try.
Wow, Carole, you are really a Master of Scripts; the result is beautiful! The script gives the user lots of options (lots of lines!), and this verdigris (had to look up in the dictionary!) is very nice… I could not say which one I liked best. All of them. Congratulations!
“Only 3200 lines” … 😀
- Cassel wrote: From what is explained in the API, it is the TIMESTAMP. Not something you really have to worry about but if you draw, freehand, a short stroke FAST, and if you draw the same thing SLOWLY, that is where you will see the difference. Why is that there? I have no clue. I can’t see why it would be used, but maybe there is a situation when it could come as useful?
Thank you for the explanation… So, nothing that I would be using someday. 🙂
Giving the user the option to add texture was a great idea and will make the script more unique. I like this wooden coin.
I’ve seen this before but never thought much about it, only today…How do you post the image inside the post? 🙂
Carole, I did as you suggested, and it was a big help. I was finally able to add variables to the Brush Stroke in the exercises (single brush imprint – 2-click straight line freehand).
I noticed that the Brush Stroke point is about half of the Brush size, so I adjusted the variable. Is this the correct way to do it? And another thing is that I don’t know what the last zero (0) stands for. Image attached.
EDITED: About being half of the brush size… it doesn’t apply all the time. I have to check it better.
EDITED2: Never mind, it is the click position… one was a square brush and the other a circle.
The Brush freehand location point was scary! Lol… But makes total sense.
I am also registered for the Quick-PageWorkshop; by the way, I like this name better!… I think you covered everything that I can think of as bonuses… My preferable choices are the extra Quick Pages — they also serve as an inspiration — and the downloadable videos… And tutorials are always welcome!
Carole, for sure, there’s a huge work behind the scenes to achieve something as beautiful as this coin! Eight hours of work and far from finished… Who said scripting is easy? Lol … But it is fun! Thank you for sharing this; it is kind of a road map for us.
Right now, I am not in the fun part of scripting 🙂 …
As the images sizes may vary, I included LayerRect Info variables, so using the Paint Brush, the script will know where to start and finish.
I can change the numbers (tuple) of the Paint Brush – Stroke but didn’t find a way to add the variables… I am doing something wrong but didn’t find what… So, still a work in progress!
Carole, I have finished coding the “MyStampScript” using the Brush instead of the Eraser tool.
I only need to tweak it, adding variables for the Brush Stroke to fit different images sizes… But this will be only tomorrow.
I will post once I have finished it, and you can tell me what I could have done differently/in an easier way! 🙂
Thanks.
- Carole said: “I would have used the Width and Height of the image, assuming it uses the whole space, but in case it is not,
My steps so far: I got the image Width and Height and added variables … Then, following the tutorial, I added borders, increased the canvas, and added the “Selected Document” command… It was here that I thought that I should get the LayerRect info to use in the Eraser Tool command.
- I would have done Copy and Paste as a new Image, so that then it would match AND would not touch the original image. “
Great tip! Noted.
- “After that, it would be a matter of using the Eraser tool (but some versions have bugs where the Eraser tool won’t work in scripts!)
I didn’t know about the Eraser tool bug. In PSP versions X18 and 2022, I didn’t encounter that, but definitely something to consider. My script is a work in progress, as I stopped last night after posting here.
- Now, assuming you encounter that situation (you cannot use the Eraser tool), imagine a different way to achieve the same result (yes, it would be more steps though).”
Interesting point: If the Eraser Tool doesn’t work, how should I code then?!
I thought of doing something like when you create a scallops border, selecting and deleting, but I am not sure how I would do that.
Going back to the drawing board and will try to solve this problem… I like that! 🙂
Edited: Maybe a dot brush…
Carole, I checked Lesson 24 Challenges and can not take credits for any steps… I wish I could! 🙂
Sue made it easier and gave detailed tips on how we could/should code.
There are 3 Challenges meant to be useful for taggers:
1st Challenge – to store the names;
2nd Challenge – to add a loop to retrieve the names;
3rd Challenge — the one I posted — to add the names to a tag and format the text.
Carole, I put the NameList(variable), DuplicateWindow, SelectDocument, Text, AllignCenter, InnerBevel, and DropShadow.
Is there an easier way? Like I said above, I tend to complicate scripts, lol.
I am working on the extra challenge Carole suggested for Lesson 16:
“… think of the various steps needed to create a postage stamp based on any image that would be active.”
I decided to code a script and to do this, I am following her tutorial to create a “Postage Stamp” (Tutorials>Frames>Postage Stamp).
But to code a script that does exactly that is a whole different ball game!
I don’t know the image dimensions, also at which point the Eraser Brush should start and finish… So, review LayerProperties (LayerRect)…besides other things.
I know I tend to complicate my scripts… After coding and checking Suz Shook’s script, I usually realize that I could have done it in fewer steps, fewer lines…
But I am OK with this as I am at the Kindergarten of Scripting, so needing lots of practice/review the lessons. 🙂
Here is Lesson 24 Challenge#3
I created the image from scratch for this exercise following Carole’s Tutorials (Tutorials>Tags & Journaling>Ticket).
Besides the ScriptData command, I added a Loop command to add names. I thought of doing this to practice for the place cards I usually create for our Christmas dinner.
-
AuthorPosts