Reply To: Scripting Study Group – 2021

Home of the Scrapbook Campus Forums Study Group Scripting Study Group – 2021 Reply To: Scripting Study Group – 2021

#69788
Cassel
Keymaster
    • 2522
    • Superfan

    Cyndi, if you forget about the ==, you will get a syntax error, so nothing will catch fire! 🙂 It still happens to me at times!

    ‘AddBorders’ is a command to apply something and not to GET information. If you created a border that is calculated as NewSize*0.1 then, you should assign that size to a variable. You can use BorderSize = NewSize*0.1. Then, you can reuse the same value later in the script. If you need to VERIFY the size of the border, you would likely need to use other variables/values, like the initial dimensions of the image and the current one, and calculate the difference.

    Does that make sense?