landscape/portrait script question
Probably an easy one for you gurus out there, but here's my issue; I want to be able to have a different layout used when an iOS device is rotated to landscape and then back to the original layout again when rotated back to portrait. I'm using the Get (windoworientation) feature and tried to keep it as simple as possible, but no luck. I have a text box on the portrait and landscape layouts that I've associated the scripts with and that doesn't seem to work. I guess this is really a two part question: 1) what's wrong with my script, and 2) where am I supposed to have the script run? Here is what I have so far (inverse of script set on the landscape layout to go back to portrait)...