April 6, 201411 yr 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?
April 7, 201411 yr Author Thanks for your response; attached is a screenshot of the script. Appreciate any advice.
April 7, 201411 yr 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.
Create an account or sign in to comment