Reply To: Scripting Study Group – 2021

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

Cyndi Roether
  • 55
  • Junior

Lesson 12 Challenge 2 –   In order to cover all of the bases I ended up with if-else statements inside if-else statements.  But it worked.   I told the user they needed an open image and asked them to click OK if they did (1st if-else).  Then if the answer was OK I got and printed the Width then got and printed the Height and Then if Height > Width print the Landscape message, if Width < Height print the Portrait message, else print This Image is a Square, therefore either Landscape or Portrait. Else print The User Pressed Cancel.