Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3880 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I want to use "get (device)" to switch to a layout customized for iphone. However, it doesn't seem to be working. At the start of a script, I'm setting a variable identifying the OS using "get (device)." At the end of the script I have an if statement that if the variable = 4, it should go to the iphone layout. The script works fine if I set it up to recognize the PC ("2") but it's not working for my iPhone 4S running iOS 7.0.6. Any ideas?

Posted

Thanks for your response; attached is a screenshot of the script. Appreciate any advice.post-106098-0-19036900-1396837855_thumb.

Posted

Why don't you try something like:

...
If [ $device = 4 ]
  Go to Layout [ ... ]
Else
  Show Custom Dialog [ $device ]
End If

That should give you a clue regarding where it breaks.

This topic is 3880 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.