Forum Replies Created
-
AuthorPosts
-
And challenge #2
Again, I added other commands so I don’t forget them
About Lesson 12
I had two issues that were solved after going carefully over and over the script, line by line. 🙂
The first one was an Indentation; the selection none worked for the drop shadow frame but not for the beveled frame… where there was an indentation issue… Later, I learned that, when possible, you should use just one set of commands.
The second one was with the Fill Command for the frame… I used the history palette to get the Fill Command and used it for the frame, and the script was ignoring it… Again, going line by line of this command and noticed the … POINT! …I had something around 200, and my frame was 25 pixels!
All these mistakes made me more aware of them… Lessons learned!
Here Challenge#1
Annie, I had the same issue with the text command… First, it worked ok, and later on, the font was so small I could not read the text… It just was a stroke of luck that I looked at the Tool Options Palette and noticed Points instead of Pixels and a different font size from the one I chose… I had luck that time because, on other occasions, I almost went nuts trying to find the error. 😀
Pirkko, this challenge here is free.
You just have to register for it, and you will get the emails daily.
Here is the link to it… It is also at Cassel’s first post at the top.
https://scrapbookcampus.com/promo/up-to-date-challenge/
Have fun!
Annie and Carole, I agree 100%… I learn a lot from my mistakes, which makes it easier not to repeat them… Also, the more I review and practice, the easier and fast it gets to find the errors… And scripting is fun!
I didn’t know that; it’s a good tip! I will start to use it from now on. 🙂
In my case, I cut the ‘GetMaterial’ command from a lower part of the script and pasted it inside the “if-elif “commands.
Suz said if you have a common code, it’s good practice not to repeat the code. So, for this lesson, I added after the if-elif section… Then, looking at her script, I noticed she added the command twice… which made perfect sense in this case.
Wow, I love to see all the calendars posted… Beautiful pages! And I also love the 2022 templates.
I haven’t started working with it yet, and I know that I will not do it in the coming days. However, I will finish it before Christmas!
But, I will come by here and there to admire what everybody is doing. Great job, Everyone!
Dear Annie, I am with you… I have had many of these issues, of not knowing why it works sometimes and others don’t… Frustration at a high level! Lol … On many occasions, I decided to write the command again on top of the older one, and voilá worked!
Of course, there were occasions when I had forgotten one detail or another, but those were easy to find, following the SOP message.
Now, it is with the ‘Cut and Paste.’ I see Carole doing this all the time, and it works immediately; mine never does, and the reason is indentation. Sometimes the first line is too far left; other times, the second, third lines are the issue… Never the same, not boring at all 😀
Today I copied a script, tested it, and it worked perfectly. Then, working on the copy, I cut and pasted the GetMaterial command.
After that, I ran the script again and got a message in the SOP stating a syntax error on line X, which I hadn’t touched… So, after checking the script, I saw that the problem was again the indentation, in this case, the “cut/paste GetMaterial” command.
But OK, I take this as the learning process… We have to think positively, LOL.
Good to see you here, my friend! <3
I just watched it, and find it very, very interesting! It is going to be a great script!
For me, it is very useful to see how you code, the tricks you’ve learned with experience… I read about the snippets, and it would be nice to see how you do it in a video… Right now, I have separate ‘files.txt’ for different commands.
And the Challenge.
Lately, I have had more time to go daily through the lessons, not like before, every two, three days… It makes a big difference not to forget what I’ve learned.
Here are Lesson 11 Activities… I am having fun with this course!
Carole, I got Lesson 11 at the usual time… About 8 am your time.
I would be interested in that kind of video, even if they show here and there more advanced techniques… Suz also mentions commands that will be taught at a later time in the course.
My way of learning is first to go through her lesson, and only after I know the subject is that I watch your videos… This way, I can pay more attention to the details of how you do it.
Also, after doing the activities, I checked how she did… There are always tips I can take for myself… One of them is adding information messages before scripting some commands.
For us that are beginning to learn to script, your experience and hers are big assets.
A few days ago, I noticed an interesting behavior with the MsgBox command.
I chose the Info Icon and the OK Button, but, for some reason, I was getting the Question Icon, and I didn’t know why… At first glance, the command was correct.
Going over the command very carefully, I noticed that instead of writing BUTTONS, I wrote BUTTON.
The command was accepted, the script didn’t fail, but instead of getting the INFO ICON, I got the QUESTION ICON.
Lesson10 Challenges #2 and #3.
Although it was not asked, I added other commands such as MsgBox, etc., just I don’t forget them.
At first, in challenge #3, the Rename action was being ignored, and I didn’t know why… Then, after a night of sleep, I realized I was adding the GetString command before the New Layer was created… Duh!
Now, let’s see Suz’s Solutions for Lesson10 and see if I haven’t forgotten anything… as usual. 🙂
I do agree with that, Carole… I find Suz’Scripting Course of high quality, and I had the opportunity to tell you that right after the beginning.
Besides knowing the subject, she also created a fun (she has humor!) course in a logical way, as you said… Not everyone who possesses knowledge can transmit it comprehensively… I can only imagine all the work it was to create it from scratch.
In my view, your videos and her course are two joining forces, and we can only profit from that.
Looking today at Suz Shook Lesson 9 challenge #3 Script Editor, I saw that instead of choosing a color for the drop shadow, I scripted to open the drop shadow box… So I made Version 2 of the script to have the commands the way it was asked… I have posted enough examples so that I will skip version 2.
Carole, I think it is great in the videos when you go beyond Suz Shook’s course and add your examples and experience in scripting… You are not so restrained, and I think this is a big plus!
Lesson 9 challenge#3
Lesson 9 challenge#2
Here is Lesson 9 – challenges #1… Hope this time, I have paid more attention and added everything that was asked… Reviewing Lesson 8, I found lots of incomplete exercises.
It is nice to see how I learn a little bit more with each new lesson… I still have to check some commands, but slowly I am learning… Now, when I get the red messages in the SOP, I don’t freak out anymore. 😀
My discovery was when using multiple lines with the text tool, as suggested by Suz Shook.
The text in the script editor had so many characters, and I didn’t know what they were. I googled and came to find out that they are Unicode characters. In the example, the u000D = “carriage return“… The u0027 = Apostrophe, and there are hundreds or more… I probably don’t need to know them, but I was curious.
The same thing with matrix, I don’t know and will probably continue not knowing.
Hi Helen, good to know that you are still with us. 🙂
I went through Lesson 9 but still have to do the challenges.
Before that, I decided to go over Lesson 8 and noticed that for challenge #1, I didn’t add a color choice for the user.
So, here is challenge #1 – version 2.
I’ll continue reviewing lesson 8 and then the challenges of lesson #9.
Hi Everyone!
I am in! Like all the other challenges, I get so much inspiration from the participants… I always give one to my mother-in-law, so I try to find photos of places she has been with us. But with the restrictions, this has been more difficult the last two years… If I don’t find it, there is always Unsplash, Pixabay, and others. 🙂
Carole, I am still here and very much interested in going till the end of the course with the next 15 lessons… Every lesson is getting more interesting… Sometimes, I go back and read one or another piece of information from previous lessons to complete the challenges… Your videos are always very helpful.
Dear Annie, thank you! … Slowly, we will get there! LOL… Happy to see you still here, my friend. <3
Yes, it does make sense now… I just thought I would see the steps of any image every time, not only the “Current Active Image”… Anyhow, the steps are there, just inside a folder.
Thank you, Carole!
Carole, I finished lesson 8 yesterday but didn’t try the challenges yet… Saved the ‘Add Border’ and ‘Fill’ commands to QuickScript, Notepad… Added the GetMaterial and everything else without issues. The script works fine.
But I have a doubt. Today, I want to practice with the same script… When I opened the History Palette, there was a folder with the script’s name instead of listing all the commands, and I could not open it… Is this how it is supposed to be? Is there a way to open the folder?
Carole, you are right; the last value was a gradient (as seen in Challenge#2 image)… I was under the wrong impression that because I set the foreground to Null, the Script would leave it transparent… After your explanation, I know now that it will use the last value… I did the test and had the same result.
Thanks! Now going to Lesson 8. 🙂
-
AuthorPosts